/Zephyr-latest/subsys/net/ip/ |
D | connection.h | 110 uint16_t local_port, 120 uint16_t local_port, in net_conn_register() argument 131 ARG_UNUSED(local_port); in net_conn_register()
|
D | connection.c | 70 uint16_t remote_port, uint16_t local_port) in conn_register_debug() argument 111 src, local_port, conn->cb, conn->user_data); in conn_register_debug() 162 uint16_t local_port, in conn_find_handler() argument 212 htons(local_port)) { in conn_find_handler() 332 uint16_t local_port, in net_conn_register() argument 344 remote_port, local_port, in net_conn_register() 402 if (local_port) { in net_conn_register() 404 net_sin(&conn->local_addr)->sin_port = htons(local_port); in net_conn_register() 431 conn_register_debug(conn, remote_port, local_port); in net_conn_register()
|
D | udp_internal.h | 120 uint16_t local_port,
|
D | udp.c | 134 uint16_t local_port, in net_udp_register() argument 141 remote_port, local_port, context, cb, in net_udp_register()
|
D | net_context.c | 178 uint16_t local_port, in check_used_port() argument 197 contexts[i].local)->sin_port == local_port)) { in check_used_port() 342 if (ntohs(local_port) < lower || ntohs(local_port) > upper) { in check_used_port() 357 uint16_t local_port; in find_available_port() local 377 local_port = sys_rand16_get() | 0x8000; in find_available_port() 379 local_port = lower + sys_rand16_get() % (upper - lower); in find_available_port() 382 lower, upper, local_port); in find_available_port() 385 local_port = sys_rand16_get() | 0x8000; in find_available_port() 392 htons(local_port), in find_available_port() 402 return htons(local_port); in find_available_port() [all …]
|
D | tcp.c | 3822 uint16_t remote_port, uint16_t local_port, in net_tcp_connect() argument 3856 conn->src.sin.sin_port = local_port; in net_tcp_connect() 3889 conn->src.sin6.sin6_port = local_port; in net_tcp_connect() 3925 ntohs(remote_port), ntohs(local_port), in net_tcp_connect() 3987 uint16_t local_port, remote_port; in net_tcp_accept() local 4020 local_port = ntohs(in->sin_port); in net_tcp_accept() 4039 local_port = ntohs(in6->sin6_port); in net_tcp_accept() 4060 remote_port, local_port, in net_tcp_accept() 4357 uint16_t local_port, net_conn_cb_t cb) in test_cb_register() argument 4366 local_port, in test_cb_register()
|
/Zephyr-latest/include/zephyr/xen/public/ |
D | event_channel.h | 118 evtchn_port_t local_port; member
|
/Zephyr-latest/drivers/xen/ |
D | events.c | 82 rc = bind_event_channel(bind.local_port, cb, data); in bind_interdomain_event_channel() 87 return bind.local_port; in bind_interdomain_event_channel()
|
/Zephyr-latest/tests/net/ipv4_fragment/src/ |
D | main.c | 528 uint16_t remote_port, uint16_t local_port) in setup_udp_handler() argument 541 ret = net_udp_register(AF_INET, &local_addr, &remote_addr, local_port, remote_port, NULL, in setup_udp_handler() 548 uint16_t remote_port, uint16_t local_port) in setup_tcp_handler() argument 561 ret = net_conn_register(IPPROTO_TCP, AF_INET, &local_addr, &remote_addr, local_port, in setup_tcp_handler()
|
/Zephyr-latest/drivers/modem/ |
D | ublox-sara-r4.c | 1391 uint16_t local_port = 0U, proto = 6U; in create_socket() local 1395 local_port = ntohs(net_sin6(addr)->sin6_port); in create_socket() 1397 local_port = ntohs(net_sin(addr)->sin_port); in create_socket() 1405 if (local_port > 0U) { in create_socket() 1406 snprintk(buf, sizeof(buf), "AT+USOCR=%d,%u", proto, local_port); in create_socket()
|
/Zephyr-latest/tests/net/socket/af_packet/src/ |
D | main.c | 175 static int prepare_udp_socket(struct sockaddr_in *sockaddr, uint16_t local_port) in prepare_udp_socket() argument 183 sockaddr->sin_port = htons(local_port); in prepare_udp_socket()
|
/Zephyr-latest/tests/net/udp/src/ |
D | main.c | 150 uint16_t local_port; member 503 user_data.local_port = lport; \ in ZTEST()
|
/Zephyr-latest/include/zephyr/net/ |
D | net_context.h | 1424 uint16_t local_port, const struct sockaddr *local_addr);
|
D | net_ip.h | 521 uint16_t local_port; /**< UDP/TCP local port */ member
|
/Zephyr-latest/tests/net/ipv6_fragment/src/ |
D | main.c | 1613 uint16_t local_port) in setup_udp_handler() argument 1627 remote_port, local_port, NULL, udp_data_received, in setup_udp_handler()
|
/Zephyr-latest/tests/net/ipv6/src/ |
D | main.c | 1606 uint16_t local_port, in setup_ipv6_udp() argument 1623 if (net_udp_create(pkt, htons(local_port), htons(remote_port))) { in setup_ipv6_udp()
|