Searched refs:SOCK_DGRAM (Results 1 – 15 of 15) sorted by relevance
| /NetX-Duo-v6.2.1/samples/ |
| D | demo_bsd_udp.c | 143 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/ |
| D | netx_bsd_udp_bind_test.c | 174 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()
|
| D | netx_bsd_udp_basic_blocking_test.c | 132 sockfd = socket(AF_INET6, SOCK_DGRAM, 0); in test_udp_server6() 188 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in test_udp_server4()
|
| D | netx_bsd_udp_basic_nonblocking_test.c | 135 sockfd = socket(AF_INET6, SOCK_DGRAM, 0); in test_udp_server6() 226 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in test_udp_server4()
|
| D | netx_bsd_udp_checksum_corrupt_test.c | 138 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in ntest_0_entry()
|
| D | netx_bsd_udp_connect_test.c | 156 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in test_udp4_connect() 202 sockfd = socket(AF_INET6, SOCK_DGRAM, 0); in test_udp6_connect()
|
| D | netx_bsd_udp_bind_connect_test.c | 171 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()
|
| D | netx_bsd_udp_blocking_bidirection_test.c | 376 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in ntest_0_entry() 400 sockfd6 = socket(AF_INET6, SOCK_DGRAM, 0); in ntest_0_entry()
|
| D | netx_bsd_multicast_test.c | 132 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in test_udp_server4()
|
| D | netx_bsd_tcp_udp_select_test.c | 168 udp_sockfd = socket(AF_INET, SOCK_DGRAM, 0); in ntest_0_entry()
|
| D | netx_bsd_raw_basic_rx_nohdr_blocking_test.c | 300 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in ntest_0_entry()
|
| D | netx_bsd_raw_rx_nohdr_basic_blocking_test.c | 300 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in ntest_0_entry()
|
| D | netx_bsd_raw_basic_blocking_test.c | 303 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in ntest_0_entry()
|
| /NetX-Duo-v6.2.1/addons/BSD/ |
| D | nxd_bsd.c | 800 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 …]
|
| D | nxd_bsd.h | 305 #define SOCK_DGRAM 2 /* UDP Socket … macro
|