Searched refs:sPortOffset (Results 1 – 4 of 4) sorted by relevance
53 static uint16_t sPortOffset = 0; ///< Port offset for simulation. variable69 sPortOffset = (uint16_t)strtol(offset, &endptr, 0); in virtualTimeInit()80 sPortOffset *= (kMaxNetworkSize + 1); in virtualTimeInit()83 sockaddr.sin_port = htons(kBasePort + sPortOffset + aNodeId); in virtualTimeInit()116 sockaddr.sin_port = htons(9000 + sPortOffset); in virtualTimeSendEvent()
65 uint16_t sPortOffset; variable82 sockaddr.sin_port = htons(sPortBase + sPortOffset); in otSimSendEvent()174 parseFromEnvAsUint16("PORT_OFFSET", &sPortOffset); in socket_init()175 sPortOffset *= (MAX_NETWORK_SIZE + 1); in socket_init()177 sockaddr.sin_port = htons((uint16_t)(sPortBase + sPortOffset + gNodeId)); in socket_init()
72 static uint16_t sPortOffset = 0; variable130 sUdpPort = (uint16_t)(TREL_SIM_PORT + sPortOffset + gNodeId); in initFds()165 sockaddr.sin_port = htons((uint16_t)(TREL_SIM_PORT + sPortOffset)); in initFds()207 sockaddr.sin_port = htons((uint16_t)(TREL_SIM_PORT + sPortOffset)); in sendPendingTxMessages()406 sPortOffset = (uint16_t)strtol(str, &endptr, 0); in platformTrelInit()414 sPortOffset *= (MAX_NETWORK_SIZE + 1); in platformTrelInit()
76 extern uint16_t sPortOffset;81 static uint16_t sPortOffset = 0; variable421 sPort = (uint16_t)(sPortBase + sPortOffset + gNodeId); in initFds()460 sockaddr.sin_port = htons((uint16_t)(sPortBase + sPortOffset)); in initFds()481 parseFromEnvAsUint16("PORT_OFFSET", &sPortOffset); in platformRadioInit()482 sPortOffset *= (MAX_NETWORK_SIZE + 1); in platformRadioInit()936 uint16_t srcNodeId = srcPort - sPortOffset - sPortBase; in platformRadioProcess()979 sockaddr.sin_port = htons((uint16_t)(sPortBase + sPortOffset)); in radioTransmit()