Home
last modified time | relevance | path

Searched refs:SOCK_DGRAM (Results 1 – 15 of 15) sorted by relevance

/NetX-Duo-v6.2.1/samples/
Ddemo_bsd_udp.c143 sock_udp_2 = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); in thread_server_entry()
222 sock_udp_1 = socket( PF_INET, SOCK_DGRAM, IPPROTO_UDP); in thread_client_entry()
/NetX-Duo-v6.2.1/test/regression/bsd_test/
Dnetx_bsd_udp_bind_test.c174 sockfd = socket(AF_INET6, SOCK_DGRAM, 0); in test_udp_server6_bind_to_ANY()
234 sockfd = socket(AF_INET6, SOCK_DGRAM, 0); in test_udp6_on_interface_address()
303 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in test_udp_server4_bind_to_ANY()
325 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in test_udp_server4_bind_to_ANY()
381 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in test_udp_server4_bind_to_AF_INET()
542 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in test_udp4_on_interface()
601 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in test_udp4_receive_multiple()
Dnetx_bsd_udp_basic_blocking_test.c132 sockfd = socket(AF_INET6, SOCK_DGRAM, 0); in test_udp_server6()
188 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in test_udp_server4()
Dnetx_bsd_udp_basic_nonblocking_test.c135 sockfd = socket(AF_INET6, SOCK_DGRAM, 0); in test_udp_server6()
226 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in test_udp_server4()
Dnetx_bsd_udp_checksum_corrupt_test.c138 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in ntest_0_entry()
Dnetx_bsd_udp_connect_test.c156 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in test_udp4_connect()
202 sockfd = socket(AF_INET6, SOCK_DGRAM, 0); in test_udp6_connect()
Dnetx_bsd_udp_bind_connect_test.c171 sockfd = socket(AF_INET6, SOCK_DGRAM, 0); in test_udp6_on_interface_address()
226 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in test_udp4_on_interface()
Dnetx_bsd_udp_blocking_bidirection_test.c376 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in ntest_0_entry()
400 sockfd6 = socket(AF_INET6, SOCK_DGRAM, 0); in ntest_0_entry()
Dnetx_bsd_multicast_test.c132 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in test_udp_server4()
Dnetx_bsd_tcp_udp_select_test.c168 udp_sockfd = socket(AF_INET, SOCK_DGRAM, 0); in ntest_0_entry()
Dnetx_bsd_raw_basic_rx_nohdr_blocking_test.c300 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in ntest_0_entry()
Dnetx_bsd_raw_rx_nohdr_basic_blocking_test.c300 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in ntest_0_entry()
Dnetx_bsd_raw_basic_blocking_test.c303 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in ntest_0_entry()
/NetX-Duo-v6.2.1/addons/BSD/
Dnxd_bsd.c800 if ((type != SOCK_STREAM) && (type != SOCK_DGRAM) && (type != SOCK_RAW)) in nx_bsd_socket()
802 if ((type != SOCK_STREAM) && (type != SOCK_DGRAM)) in nx_bsd_socket()
930 if ((type == SOCK_STREAM) || (type == SOCK_DGRAM)) in nx_bsd_socket()
1040 else if (type == SOCK_DGRAM) in nx_bsd_socket()
1213 if ((type == SOCK_DGRAM) || (type == SOCK_STREAM)) in nx_bsd_socket()
14298 if((hints -> ai_socktype != SOCK_DGRAM) && in nx_bsd_getaddrinfo()
14307 ((hints -> ai_socktype == SOCK_DGRAM) && (hints -> ai_protocol != IPPROTO_UDP)) || in nx_bsd_getaddrinfo()
14332 match_service_socktype[1] = SOCK_DGRAM; in nx_bsd_getaddrinfo()
14348 match_service_socktype[0] = SOCK_DGRAM; in nx_bsd_getaddrinfo()
14366 else if(hints -> ai_socktype == SOCK_DGRAM) in nx_bsd_getaddrinfo()
[all …]
Dnxd_bsd.h305 #define SOCK_DGRAM 2 /* UDP Socket … macro