Home
last modified time | relevance | path

Searched refs:net_context_get_proto (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/subsys/net/ip/
Dnet_context.c195 if (!(net_context_get_proto(&contexts[i]) == proto && in check_used_port()
391 net_context_get_proto(context), in find_available_port()
956 net_context_get_proto(context)), in net_context_bind()
1063 net_context_get_proto(context)), in net_context_bind()
1122 context, htons(net_context_get_proto(context)), in net_context_bind()
1172 context, net_context_get_proto(context), in net_context_bind()
1372 if (net_context_get_proto(context) == IPPROTO_TCP && in net_context_connect()
1424 if (net_context_get_proto(context) == IPPROTO_TCP && in net_context_connect()
1538 if (net_context_get_proto(context) == IPPROTO_TCP) { in net_context_accept()
2142 net_ipv6_finalize(pkt, net_context_get_proto(context)); in context_finalize_packet()
[all …]
Dnet_if.c191 net_context_get_proto(context) == IPPROTO_UDP) { in net_context_send_cb()
194 net_context_get_proto(context) == IPPROTO_TCP) { in net_context_send_cb()
512 net_context_get_proto(context) == IPPROTO_RAW) { in net_if_send_data()
Dtcp.c3922 ret = net_conn_register(net_context_get_proto(context), in net_tcp_connect()
4055 return net_conn_register(net_context_get_proto(context), in net_tcp_accept()
/Zephyr-latest/subsys/net/lib/shell/
Dconn.c46 net_context_get_proto(context) == IPPROTO_UDP ? 'U' : in context_cb()
47 (net_context_get_proto(context) == IPPROTO_TCP ? 'T' : ' '), in context_cb()
/Zephyr-latest/drivers/wifi/esp_at/
Desp.h417 return net_context_get_proto(sock->context); in esp_socket_ip_proto()
/Zephyr-latest/include/zephyr/net/
Dnet_context.h709 static inline uint16_t net_context_get_proto(struct net_context *context) in net_context_get_proto() function
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_inet.c1115 ret = sock_get_pkt_src_addr(pkt, net_context_get_proto(ctx), in zsock_recv_dgram()
1755 int proto = (int)net_context_get_proto(ctx); in zsock_getsockopt_ctx()
1838 net_context_get_proto(ctx) == IPPROTO_TCP) { in zsock_getsockopt_ctx()
2442 net_context_get_proto(ctx) == IPPROTO_TCP) { in zsock_setsockopt_ctx()