Home
last modified time | relevance | path

Searched refs:sin_family (Results 1 – 25 of 86) sorted by relevance

1234

/Zephyr-latest/tests/net/socket/
Dsocket_helpers.h30 zassert_equal(addr->sin_family, AF_INET, "Invalid family"); in prepare_listen_sock_udp_v4()
69 sockaddr->sin_family = AF_INET; in prepare_sock_udp_v4()
106 sockaddr->sin_family = AF_INET; in prepare_sock_tcp_v4()
143 sockaddr->sin_family = AF_INET; in prepare_sock_tls_v4()
181 sockaddr->sin_family = AF_INET; in prepare_sock_dtls_v4()
/Zephyr-latest/tests/net/socket/tls_configurations/src/
Dmain.c88 addr.sin_family = AF_INET; in create_socket()
93 socket_fd = socket(addr.sin_family, SOCK_STREAM, IPPROTO_TLS_1_3); in create_socket()
95 socket_fd = socket(addr.sin_family, SOCK_STREAM, IPPROTO_TLS_1_2); in create_socket()
/Zephyr-latest/tests/net/utils/src/
Dmain.c439 .sin_family = AF_INET, in ZTEST()
454 .sin_family = AF_INET, in ZTEST()
469 .sin_family = AF_INET, in ZTEST()
484 .sin_family = AF_INET, in ZTEST()
499 .sin_family = AF_INET, in ZTEST()
524 .sin_family = AF_INET, in ZTEST()
539 .sin_family = AF_INET, in ZTEST()
569 .sin_family = AF_INET, in ZTEST()
829 zassert_true(net_sin(&addr)->sin_family == in ZTEST()
830 parse_ipv4_entries[i].result.sin_family, in ZTEST()
/Zephyr-latest/tests/net/shell/src/
Dmain.c182 any_addr4.sin_family = AF_INET; in test_setup()
185 my_addr4.sin_family = AF_INET; in test_setup()
188 peer_addr4.sin_family = AF_INET; in test_setup()
/Zephyr-latest/samples/net/sockets/dumb_http_server/src/
Dsocket_dumb_http.c68 bind_addr.sin_family = AF_INET; in main()
94 inet_ntop(client_addr.sin_family, &client_addr.sin_addr, in main()
/Zephyr-latest/subsys/net/lib/sockets/
Dgetnameinfo.c19 void *res = zsock_inet_ntop(a->sin_family, &a->sin_addr, in zsock_getnameinfo()
/Zephyr-latest/samples/subsys/modbus/tcp_gateway/src/
Dmain.c109 bind_addr.sin_family = AF_INET; in main()
140 inet_ntop(client_addr.sin_family, &client_addr.sin_addr, in main()
/Zephyr-latest/samples/net/sockets/tcp/src/
Dmain.c55 sin.sin_family = AF_INET; in udp()
/Zephyr-latest/subsys/net/lib/config/
Dinit_clock_sntp.c29 sntp_addr.sin_family = AF_INET; in sntp_init_helper()
/Zephyr-latest/tests/net/pmtu/src/
Dmain.c216 dest_ipv4.sin_family = AF_INET; in ZTEST()
252 dest_ipv4.sin_family = AF_INET; in ZTEST()
289 dest_ipv4.sin_family = AF_INET; in ZTEST()
376 dest_ipv4.sin_family = AF_INET; in ZTEST()
422 dest_ipv4.sin_family = AF_INET; in ZTEST()
695 dest_ipv4.sin_family = AF_INET; in ZTEST()
736 dest_ipv4.sin_family = AF_INET; in ZTEST()
/Zephyr-latest/samples/net/mqtt_sn_publisher/src/
Dudp.c132 bcaddr.sin_family = AF_INET; in process_thread()
153 gwaddr.sin_family = AF_INET; in process_thread()
/Zephyr-latest/samples/net/sockets/sntp_client/src/
Dmain.c33 addr.sin_family = AF_INET; in main()
/Zephyr-latest/tests/net/socket/getnameinfo/src/
Dmain.c23 saddr.sin_family = AF_INET; in ZTEST_USER()
/Zephyr-latest/tests/posix/headers/src/
Dnetinet_in_h.c29 zexpect_not_equal(-1, offsetof(struct sockaddr_in, sin_family)); in ZTEST()
/Zephyr-latest/samples/subsys/modbus/tcp_server/src/
Dmain.c287 bind_addr.sin_family = AF_INET; in main()
318 inet_ntop(client_addr.sin_family, &client_addr.sin_addr, in main()
/Zephyr-latest/samples/net/sockets/echo_client/src/
Dtcp.c115 proxy4->sin_family = AF_INET; in start_tcp_proto()
254 addr4.sin_family = AF_INET; in start_tcp()
/Zephyr-latest/samples/net/sockets/echo_server/src/
Dtcp.c256 if (client_addr.sin_family == AF_INET6) { in process_tcp()
280 if (client_addr.sin_family == AF_INET) { in process_tcp()
312 addr4.sin_family = AF_INET; in process_tcp4()
/Zephyr-latest/samples/net/sockets/coap_download/src/
Dmain.c106 addr4->sin_family = AF_INET; in main()
/Zephyr-latest/tests/net/lib/http_server/crime/src/
Dmain.c80 sa.sin_family = AF_INET; in test_crime()
/Zephyr-latest/samples/net/mdns_responder/src/
Dservice.c69 net_sin(&server_addr)->sin_family = AF_INET; in service()
/Zephyr-latest/samples/drivers/video/tcpserversink/src/
Dmain.c62 addr.sin_family = AF_INET; in main()
/Zephyr-latest/drivers/net/
Dnsos.h59 uint16_t sin_family; /* AF_INET */ member
/Zephyr-latest/tests/boards/espressif/ethernet/src/
Dmain.c103 dst4.sin_family = AF_INET; in ZTEST()
/Zephyr-latest/subsys/net/lib/shell/
Dnet_shell.c107 net_sin(&context->remote)->sin_family == AF_INET6 && in get_addresses()
/Zephyr-latest/tests/net/pm/src/
Dmain.c129 addr4.sin_family = AF_INET; in ZTEST()

1234