Home
last modified time | relevance | path

Searched refs:net_context_get_proto (Results 1 – 8 of 8) 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()
511 net_context_get_proto(context) == IPPROTO_RAW) { in net_if_try_send_data()
Dtcp.c3924 ret = net_conn_register(net_context_get_proto(context), in net_tcp_connect()
4065 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/siwx91x/
Dsiwx91x_wifi_socket.c212 if (net_context_get_proto(context) == IPPROTO_TCP && in siwx91x_sock_bind()
222 if (net_context_get_proto(context) == IPPROTO_UDP) { in siwx91x_sock_bind()
282 net_context_get_proto(context), &newcontext); in siwx91x_sock_accept()
/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.c1120 ret = sock_get_pkt_src_addr(pkt, net_context_get_proto(ctx), in zsock_recv_dgram()
1754 int proto = (int)net_context_get_proto(ctx); in zsock_getsockopt_ctx()
1837 net_context_get_proto(ctx) == IPPROTO_TCP) { in zsock_getsockopt_ctx()
2441 net_context_get_proto(ctx) == IPPROTO_TCP) { in zsock_setsockopt_ctx()