Home
last modified time | relevance | path

Searched refs:net_context_get (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/tests/net/context/src/
Dmain.c80 ret = net_context_get(AF_UNSPEC, SOCK_DGRAM, IPPROTO_UDP, &context); in ZTEST()
84 ret = net_context_get(AF_INET6, 10, IPPROTO_UDP, &context); in ZTEST()
88 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_ICMPV6, &context); in ZTEST()
92 ret = net_context_get(99, SOCK_DGRAM, IPPROTO_UDP, &context); in ZTEST()
96 ret = net_context_get(AF_INET6, SOCK_STREAM, IPPROTO_TCP, &context); in ZTEST()
100 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_TCP, &context); in ZTEST()
104 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, NULL); in ZTEST()
114 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, &context); in ZTEST()
134 ret = net_context_get(AF_INET6, SOCK_DGRAM, in ZTEST()
140 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, &context); in ZTEST()
[all …]
/Zephyr-latest/tests/net/tcp/src/
Dmain.c606 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
668 ret = net_context_get(AF_INET6, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
837 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
906 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
975 ret = net_context_get(AF_INET6, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
1050 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
1112 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
1216 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
1358 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
1510 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
[all …]
/Zephyr-latest/subsys/net/lib/shell/
Dudp.c98 ret = net_context_get(addr.sa_family, SOCK_DGRAM, IPPROTO_UDP, in cmd_net_udp_bind()
225 ret = net_context_get(addr.sa_family, SOCK_DGRAM, IPPROTO_UDP, in cmd_net_udp_send()
Dtcp.c182 ret = net_context_get(family, SOCK_STREAM, IPPROTO_TCP, ctx); in tcp_connect()
/Zephyr-latest/tests/net/socket/register/src/
Dmain.c176 ret = net_context_get(family, type, proto, &ctx); in socket_test()
/Zephyr-latest/tests/net/tx_timestamp/src/
Dmain.c438 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, in send_some_data()
/Zephyr-latest/tests/net/route/src/
Dmain.c296 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, in test_net_ctx_create()
/Zephyr-latest/include/zephyr/net/
Dnet_context.h964 int net_context_get(sa_family_t family,
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_packet.c68 ret = net_context_get(family, type, proto, &ctx); in zpacket_socket()
Dsockets_can.c66 ret = net_context_get(family, type, proto, &ctx); in zcan_socket()
Dsockets_inet.c105 res = net_context_get(family, type, proto, &ctx); in zsock_socket_internal()
/Zephyr-latest/drivers/wifi/siwx91x/
Dsiwx91x_wifi_socket.c280 ret = net_context_get(net_context_get_family(context), in siwx91x_sock_accept()
/Zephyr-latest/tests/net/virtual/src/
Dmain.c885 ret = net_context_get(virtual_addr.sa_family, SOCK_DGRAM, IPPROTO_UDP, in ZTEST()
1051 ret = net_context_get(virtual_addr.sa_family, SOCK_DGRAM, IPPROTO_UDP, in test_virtual_recv_data_from_tunnel()
/Zephyr-latest/subsys/net/lib/capture/
Dcapture.c347 ret = net_context_get(params.family, SOCK_DGRAM, IPPROTO_UDP, in net_capture_setup()
/Zephyr-latest/tests/net/traffic_class/src/
Dmain.c386 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, ctx); in setup_net_context()
/Zephyr-latest/drivers/wifi/winc1500/
Dwifi_winc1500.c894 ret = net_context_get(AF_INET, SOCK_STREAM, in handle_socket_msg_accept()
/Zephyr-latest/tests/net/checksum_offload/src/
Dmain.c693 ret = net_context_get(family, SOCK_DGRAM, IPPROTO_UDP, &net_ctx); in test_udp_context_prepare()
/Zephyr-latest/tests/net/ipv6/src/
Dmain.c1729 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, ctx); in net_ctx_create()
/Zephyr-latest/subsys/net/ip/
Dnet_context.c516 int net_context_get(sa_family_t family, enum net_sock_type type, uint16_t proto, in net_context_get() function
Dtcp.c2400 ret = net_context_get(af, SOCK_STREAM, IPPROTO_TCP, &context); in tcp_conn_new()