/Zephyr-Core-3.5.0/subsys/net/ip/ |
D | connection.h | 107 uint16_t local_port, 117 uint16_t local_port, in net_conn_register() argument 128 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() 161 uint16_t local_port, in conn_find_handler() argument 211 htons(local_port)) { in conn_find_handler() 267 uint16_t local_port, in net_conn_register() argument 277 remote_port, local_port, in net_conn_register() 365 if (local_port) { in net_conn_register() 367 net_sin(&conn->local_addr)->sin_port = htons(local_port); in net_conn_register() 383 conn_register_debug(conn, remote_port, local_port); in net_conn_register()
|
D | udp_internal.h | 119 uint16_t local_port,
|
D | udp.c | 131 uint16_t local_port, in net_udp_register() argument 138 remote_port, local_port, context, cb, in net_udp_register()
|
D | net_context.c | 114 uint16_t local_port, in check_used_port() argument 129 contexts[i].local)->sin_port == local_port)) { in check_used_port() 254 uint16_t local_port; in find_available_port() local 257 local_port = sys_rand32_get() | 0x8000; in find_available_port() 259 htons(local_port), addr, false, false) == -EEXIST); in find_available_port() 261 return htons(local_port); in find_available_port() 269 uint16_t local_port, in net_context_port_in_use() argument 272 return check_used_port(proto, htons(local_port), local_addr, false, false) != 0; in net_context_port_in_use()
|
D | tcp.c | 3220 uint16_t remote_port, uint16_t local_port, in net_tcp_connect() argument 3254 conn->src.sin.sin_port = local_port; in net_tcp_connect() 3287 conn->src.sin6.sin6_port = local_port; in net_tcp_connect() 3323 ntohs(remote_port), ntohs(local_port), in net_tcp_connect() 3367 uint16_t local_port, remote_port; in net_tcp_accept() local 3400 local_port = ntohs(in->sin_port); in net_tcp_accept() 3419 local_port = ntohs(in6->sin6_port); in net_tcp_accept() 3440 remote_port, local_port, in net_tcp_accept() 3733 uint16_t local_port, net_conn_cb_t cb) in test_cb_register() argument 3742 local_port, in test_cb_register()
|
/Zephyr-Core-3.5.0/include/zephyr/xen/public/ |
D | event_channel.h | 118 evtchn_port_t local_port; member
|
/Zephyr-Core-3.5.0/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-Core-3.5.0/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-Core-3.5.0/drivers/modem/ |
D | ublox-sara-r4.c | 1387 uint16_t local_port = 0U, proto = 6U; in create_socket() local 1391 local_port = ntohs(net_sin6(addr)->sin6_port); in create_socket() 1393 local_port = ntohs(net_sin(addr)->sin_port); in create_socket() 1401 if (local_port > 0U) { in create_socket() 1402 snprintk(buf, sizeof(buf), "AT+USOCR=%d,%u", proto, local_port); in create_socket()
|
/Zephyr-Core-3.5.0/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-Core-3.5.0/tests/net/udp/src/ |
D | main.c | 150 uint16_t local_port; member 503 user_data.local_port = lport; \ in ZTEST()
|
/Zephyr-Core-3.5.0/include/zephyr/net/ |
D | net_context.h | 1180 uint16_t local_port, const struct sockaddr *local_addr);
|
D | net_ip.h | 440 uint16_t local_port; /**< UDP/TCP local port */ member
|
/Zephyr-Core-3.5.0/tests/net/ipv6/src/ |
D | main.c | 1230 uint16_t local_port, in setup_ipv6_udp() argument 1247 if (net_udp_create(pkt, htons(local_port), htons(remote_port))) { in setup_ipv6_udp()
|
/Zephyr-Core-3.5.0/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()
|