Home
last modified time | relevance | path

Searched refs:UDP_LOCAL_PORT_RANGE_START (Results 1 – 4 of 4) sorted by relevance

/third_party/lwip/
D0064-fix-udp-send-recv-in-multiple-queue.patch29 #ifndef UDP_LOCAL_PORT_RANGE_START
33 static u16_t udp_port = UDP_LOCAL_PORT_RANGE_START;
36 +static u8_t port_state[UDP_LOCAL_PORT_RANGE_END - UDP_LOCAL_PORT_RANGE_START + 1] = {0};
39 + if (port >= UDP_LOCAL_PORT_RANGE_START && port <= UDP_LOCAL_PORT_RANGE_END) {
40 + port_state[port - UDP_LOCAL_PORT_RANGE_START] = 0;
69 + udp_port = UDP_LOCAL_PORT_RANGE_START;
72 + if (__atomic_load_n(&port_state[udp_port - UDP_LOCAL_PORT_RANGE_START], __ATOMIC_ACQUIRE) == 0…
75 + __atomic_store_n(&port_state[udp_port - UDP_LOCAL_PORT_RANGE_START], 1, __ATOMIC_RELEASE…
80 + if (n > UDP_LOCAL_PORT_RANGE_END - UDP_LOCAL_PORT_RANGE_START) {
D0080-enable-ipv6.patch213 … if (__atomic_load_n(&port_state[udp_port - UDP_LOCAL_PORT_RANGE_START], __ATOMIC_ACQUIRE) == 0) {
217 … __atomic_store_n(&port_state[udp_port - UDP_LOCAL_PORT_RANGE_START], 1, __ATOMIC_RELEASE);
D0060-lwip-add-udp-multicast.patch129 #ifndef UDP_LOCAL_PORT_RANGE_START
/third_party/lwip/src/core/
Dudp.c68 #ifndef UDP_LOCAL_PORT_RANGE_START
71 #define UDP_LOCAL_PORT_RANGE_START 0xc000 macro
73 …CAL_PORT_RANGE(port) ((u16_t)(((port) & (u16_t)~UDP_LOCAL_PORT_RANGE_START) + UDP_LOCAL_PORT_RANGE…
77 static u16_t udp_port = UDP_LOCAL_PORT_RANGE_START;
118 udp_port = UDP_LOCAL_PORT_RANGE_START; in udp_new_port()
123 if (++n > (UDP_LOCAL_PORT_RANGE_END - UDP_LOCAL_PORT_RANGE_START)) { in udp_new_port()