Searched full:port_range (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/tests/net/socket/udp/ |
D | testcase.yaml | 23 net.socket.udp.port_range:
|
/Zephyr-latest/subsys/net/ip/ |
D | net_context.c | 335 (context->options.port_range >> 16), in check_used_port() 338 (context->options.port_range & 0xffff), in check_used_port() 365 (context->options.port_range >> 16), in find_available_port() 368 (context->options.port_range & 0xffff), in find_available_port() 2024 *((uint32_t *)value) = context->options.port_range; in get_context_local_port_range() 3509 uint32_t port_range; in set_context_local_port_range() local 3515 port_range = *((uint32_t *)value); in set_context_local_port_range() 3516 lower_range = port_range & 0xffff; in set_context_local_port_range() 3517 upper_range = port_range >> 16; in set_context_local_port_range() 3531 context->options.port_range = port_range; in set_context_local_port_range()
|
/Zephyr-latest/tests/net/socket/udp/src/ |
D | main.c | 2930 #define PORT_RANGE(lower, upper) \ macro 2959 optval = PORT_RANGE(1024, 1500); in check_port_range() 2977 optval = PORT_RANGE(0, 0); in check_port_range() 2985 optval = PORT_RANGE(1024, 0); in check_port_range() 2990 optval = PORT_RANGE(0, 1024); in check_port_range() 2996 optval = PORT_RANGE(10000, 10010); in check_port_range() 3005 zexpect_equal(optval, PORT_RANGE(10000, 10010), "Invalid port range"); in check_port_range() 3028 optval = PORT_RANGE(1001, 1000); in check_port_range() 3036 optval = PORT_RANGE(1001, 1001); in check_port_range() 3043 optval = PORT_RANGE(0, 1000); in check_port_range()
|
/Zephyr-latest/include/zephyr/net/ |
D | net_context.h | 331 uint32_t port_range; member
|