Searched refs:gNodeId (Results 1 – 12 of 12) sorted by relevance
/openthread-latest/examples/platforms/simulation/virtual_time/ |
D | platform-sim.c | 55 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/ |
D | system.c | 57 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()
|
D | logging.c | 79 fprintf(sLogFile, "- Node ID: %lu\r\n", (unsigned long)gNodeId); in platformLoggingInit() 107 offset = snprintf(logString, sizeof(logString), "[%lu]", (unsigned long)gNodeId); in otPlatLog()
|
D | entropy.c | 58 sState = (uint32_t)time(NULL) + (3600 * gNodeId); in platformRandomInit()
|
D | radio.c | 175 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()
|
D | platform-simulation.h | 90 extern uint32_t gNodeId;
|
D | flash.c | 73 snprintf(fileName, sizeof(fileName), "%s/%s_%d.flash", path, offset, gNodeId); in otPlatFlashInit()
|
D | simul_utils.c | 364 aSocket->mPort = (uint16_t)(aSocket->mPortBase + gNodeId); in utilsInitSocket() 369 fprintf(stderr, "Failed to simulate node %d on %s\n", gNodeId, gLocalInterface); in utilsInitSocket()
|
D | ble.c | 60 sPort = (uint16_t)(kPortBase + gNodeId); in initFds()
|
D | infra_if.c | 231 sIp6Address.mFields.m8[15] = (uint8_t)(gNodeId & 0xff); in platformInfraIfInit()
|
D | trel.c | 348 sSockAddr.mAddress.mFields.m32[3] = gNodeId; in platformTrelInit()
|
/openthread-latest/src/posix/platform/ |
D | entropy.cpp | 60 sState = (uint32_t)time(nullptr) + (3600 * gNodeId); in platformRandomInit()
|