Home
last modified time | relevance | path

Searched refs:sPortBase (Results 1 – 2 of 2) sorted by relevance

/openthread-3.5.0/examples/platforms/simulation/virtual_time/
Dplatform-sim.c64 uint16_t sPortBase = 9000; variable
82 sockaddr.sin_port = htons(sPortBase + sPortOffset); in otSimSendEvent()
172 parseFromEnvAsUint16("PORT_BASE", &sPortBase); in socket_init()
177 sockaddr.sin_port = htons((uint16_t)(sPortBase + sPortOffset + gNodeId)); in socket_init()
/openthread-3.5.0/examples/platforms/simulation/
Dradio.c75 extern uint16_t sPortBase;
80 static uint16_t sPortBase = 9000; variable
421 sPort = (uint16_t)(sPortBase + sPortOffset + gNodeId); in initFds()
460 sockaddr.sin_port = htons((uint16_t)(sPortBase + sPortOffset)); in initFds()
479 parseFromEnvAsUint16("PORT_BASE", &sPortBase); in platformRadioInit()
936 uint16_t srcNodeId = srcPort - sPortOffset - sPortBase; in platformRadioProcess()
979 sockaddr.sin_port = htons((uint16_t)(sPortBase + sPortOffset)); in radioTransmit()