Home
last modified time | relevance | path

Searched refs:SOCK_RAW (Results 1 – 12 of 12) sorted by relevance

/NetX-Duo-v6.2.1/test/regression/bsd_test/
Dnetx_bsd_raw_tx_test.c222 sockfd = socket(AF_INET, SOCK_RAW, 100); in test_raw_ipv4_sendto()
279 sockfd = socket(AF_INET6, SOCK_RAW, 100); in test_raw_ipv6_sendto()
320 sockfd = socket(AF_INET6, SOCK_RAW, 100); in test_raw_ipv6_send()
362 sockfd = socket(AF_INET, SOCK_RAW, 100); in test_raw_ipv4_send()
Dnetx_bsd_raw_pppoe_test.c171 sock_sess0 = socket(AF_PACKET, SOCK_RAW, ETHERTYPE_PPPOE_SESS); in ntest_0_entry()
172 sock_sess1 = socket(AF_PACKET, SOCK_RAW, ETHERTYPE_PPPOE_SESS); in ntest_0_entry()
174 sock_disc0 = socket(AF_PACKET, SOCK_RAW, ETHERTYPE_PPPOE_DISC); in ntest_0_entry()
175 sock_disc1 = socket(AF_PACKET, SOCK_RAW, ETHERTYPE_PPPOE_DISC); in ntest_0_entry()
Dnetx_bsd_raw_basic_blocking_test.c131 sockfd = socket(AF_INET, SOCK_RAW, 100); in test_raw_server_ipv4()
165 sockfd = socket(AF_PACKET, SOCK_RAW, 200); in test_raw_server_ipv4()
197 sockfd = socket(AF_INET6, SOCK_RAW, 100); in test_raw_server_ipv6()
Dnetx_bsd_raw_basic_rx_nohdr_blocking_test.c130 sockfd = socket(AF_INET, SOCK_RAW, 100); in test_raw_server_ipv4()
186 sockfd = socket(AF_INET6, SOCK_RAW, 100); in test_raw_server_ipv6()
Dnetx_bsd_raw_rx_nohdr_basic_blocking_test.c130 sockfd = socket(AF_INET, SOCK_RAW, 100); in test_raw_server_ipv4()
186 sockfd = socket(AF_INET6, SOCK_RAW, 100); in test_raw_server_ipv6()
Dnetx_bsd_raw_ping_test.c148 sockfd = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP); in ntest_0_entry()
Dnetx_bsd_raw_basic_rx_nohdr_nonblocking_test.c140 sockfd = socket(AF_INET, SOCK_RAW, 100); in test_raw_server4()
229 sockfd = socket(AF_INET6, SOCK_RAW, 100); in test_raw_server_ipv6()
Dnetx_bsd_raw_basic_nonblocking_test.c140 sockfd = socket(AF_INET, SOCK_RAW, 100); in test_raw_server4()
221 sockfd = socket(AF_INET6, SOCK_RAW, 100); in test_raw_server_ipv6()
Dnetx_bsd_raw_bind_connect_test.c170 sockfd = socket(AF_INET6, SOCK_RAW, 100); in test_raw6_on_interface_address()
225 sockfd = socket(AF_INET, SOCK_RAW, 100); in test_raw4_on_interface()
/NetX-Duo-v6.2.1/samples/
Ddemo_bsd_raw.c198 sock_raw = socket(socket_family, SOCK_RAW, 0x99); in thread_0_entry()
296 sock_raw = socket(socket_family, SOCK_RAW, 0x99); in thread_1_entry()
/NetX-Duo-v6.2.1/addons/BSD/
Dnxd_bsd.h306 #define SOCK_RAW 3 /* Raw socket … macro
Dnxd_bsd.c800 if ((type != SOCK_STREAM) && (type != SOCK_DGRAM) && (type != SOCK_RAW)) in nx_bsd_socket()
817 if((protocolFamily == AF_PACKET) && (type != SOCK_RAW)) in nx_bsd_socket()
1090 else if (type == SOCK_RAW) in nx_bsd_socket()
14308 ((hints -> ai_socktype == SOCK_RAW) && (hints -> ai_protocol != IPPROTO_RAW))) in nx_bsd_getaddrinfo()
14334 match_service_socktype[2] = SOCK_RAW; in nx_bsd_getaddrinfo()
14368 else if(hints -> ai_socktype == SOCK_RAW) in nx_bsd_getaddrinfo()