Home
last modified time | relevance | path

Searched refs:gNodeId (Results 1 – 12 of 12) sorted by relevance

/openthread-latest/examples/platforms/simulation/virtual_time/
Dplatform-sim.c55 uint32_t gNodeId = 1; variable
178 sockaddr.sin_port = htons((uint16_t)(sPortBase + sPortOffset + gNodeId)); in socket_init()
217 gNodeId = (uint32_t)strtol(argv[1], &endptr, 0); in otSysInit()
219 if (*endptr != '\0' || gNodeId < 1 || gNodeId > MAX_NETWORK_SIZE) in otSysInit()
/openthread-latest/examples/platforms/simulation/
Dsystem.c57 uint32_t gNodeId = 1; variable
185 gNodeId = (uint32_t)strtol(aArgVector[optind], &endptr, 0); in otSysInit()
187 if (*endptr != '\0' || gNodeId < 1 || gNodeId > MAX_NETWORK_SIZE) in otSysInit()
Dlogging.c79 fprintf(sLogFile, "- Node ID: %lu\r\n", (unsigned long)gNodeId); in platformLoggingInit()
107 offset = snprintf(logString, sizeof(logString), "[%lu]", (unsigned long)gNodeId); in otPlatLog()
Dentropy.c58 sState = (uint32_t)time(NULL) + (3600 * gNodeId); in platformRandomInit()
Dradio.c175 otEXPECT_ACTION(aNodeId != gNodeId, isConnectable = false); in NodeIdFilterIsConnectable()
352 aIeeeEui64[4] = (gNodeId >> 24) & 0xff; in otPlatRadioGetIeeeEui64()
353 aIeeeEui64[5] = (gNodeId >> 16) & 0xff; in otPlatRadioGetIeeeEui64()
354 aIeeeEui64[6] = (gNodeId >> 8) & 0xff; in otPlatRadioGetIeeeEui64()
355 aIeeeEui64[7] = gNodeId & 0xff; in otPlatRadioGetIeeeEui64()
Dplatform-simulation.h90 extern uint32_t gNodeId;
Dflash.c73 snprintf(fileName, sizeof(fileName), "%s/%s_%d.flash", path, offset, gNodeId); in otPlatFlashInit()
Dsimul_utils.c364 aSocket->mPort = (uint16_t)(aSocket->mPortBase + gNodeId); in utilsInitSocket()
369 fprintf(stderr, "Failed to simulate node %d on %s\n", gNodeId, gLocalInterface); in utilsInitSocket()
Dble.c60 sPort = (uint16_t)(kPortBase + gNodeId); in initFds()
Dinfra_if.c231 sIp6Address.mFields.m8[15] = (uint8_t)(gNodeId & 0xff); in platformInfraIfInit()
Dtrel.c348 sSockAddr.mAddress.mFields.m32[3] = gNodeId; in platformTrelInit()
/openthread-latest/src/posix/platform/
Dentropy.cpp60 sState = (uint32_t)time(nullptr) + (3600 * gNodeId); in platformRandomInit()