/third_party/ltp/testcases/kernel/syscalls/sendto/ |
D | sendto03.c | 54 sock = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in setup() 84 dst_sock = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in check_tiny_frame() 150 dst_sock = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in check_vnet_hdr() 176 sock = SAFE_SOCKET(AF_PACKET, SOCK_RAW, IPPROTO_RAW); in check_vnet_hdr()
|
/third_party/ltp/lib/newlib_tests/ |
D | tst_capability01.c | 20 TEST(socket(AF_INET, SOCK_RAW, 1)); in run() 37 TEST(socket(AF_INET, SOCK_RAW, 1)); in setup()
|
D | tst_capability02.c | 17 TEST(socket(AF_INET, SOCK_RAW, 1)); in run()
|
/third_party/ltp/testcases/network/lib6/ |
D | asapi_02.c | 99 s = SAFE_SOCKET(NULL, AF_INET6, SOCK_RAW, IPPROTO_ICMPV6); in ic6_send1() 191 sall = SAFE_SOCKET(NULL, PF_INET6, SOCK_RAW, IPPROTO_ICMPV6); in icmp6_ft() 200 sf = SAFE_SOCKET(NULL, PF_INET6, SOCK_RAW, IPPROTO_ICMPV6); in icmp6_ft()
|
D | asapi_03.c | 255 sr = SAFE_SOCKET(NULL, PF_INET6, SOCK_RAW, NH_TEST); in so_test() 288 st = SAFE_SOCKET(NULL, PF_INET6, SOCK_RAW, NH_TEST); in so_test()
|
/third_party/ltp/testcases/network/can/filter-tests/ |
D | can_rcv_own_msgs.c | 90 s = SAFE_SOCKET(PF_CAN, SOCK_RAW, CAN_RAW); in setup() 91 t = SAFE_SOCKET(PF_CAN, SOCK_RAW, CAN_RAW); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/socketcall/ |
D | socketcall01.c | 29 {SYS_SOCKET, {AF_INET, SOCK_RAW, 6}, "Raw socket"},
|
/third_party/boost/boost/asio/generic/ |
D | raw_protocol.hpp | 79 return BOOST_ASIO_OS_DEF(SOCK_RAW); in type()
|
/third_party/boost/libs/asio/include/boost/asio/generic/ |
D | raw_protocol.hpp | 79 return BOOST_ASIO_OS_DEF(SOCK_RAW); in type()
|
/third_party/boost/boost/asio/ip/ |
D | icmp.hpp | 66 return BOOST_ASIO_OS_DEF(SOCK_RAW); in type()
|
/third_party/boost/libs/asio/include/boost/asio/ip/ |
D | icmp.hpp | 66 return BOOST_ASIO_OS_DEF(SOCK_RAW); in type()
|
/third_party/ltp/testcases/kernel/containers/netns/ |
D | netns_netlink.c | 56 fd = SAFE_SOCKET(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in child_func()
|
/third_party/ltp/testcases/cve/ |
D | cve-2017-16939.c | 49 fd = SAFE_SOCKET(PF_NETLINK, SOCK_RAW, NETLINK_XFRM); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/socket/ |
D | socket01.c | 34 {PF_INET, SOCK_RAW, 0, -1, EPROTONOSUPPORT, "raw open as non-root"},
|
/third_party/libusb/libusb/os/ |
D | linux_netlink.c | 96 int socktype = SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC; in linux_netlink_start_event_monitor() 103 socktype = SOCK_RAW; in linux_netlink_start_event_monitor()
|
/third_party/ltp/testcases/network/sockets/ |
D | ltpClient.c | 372 rawSocket = socket(PF_INET, SOCK_RAW, protocol->p_proto); in network_listener() 493 rawSocket = socket(PF_INET, SOCK_RAW, protocol->p_proto); in ping_network() 576 rawTraceSocket = socket(PF_INET, SOCK_RAW, protocol->p_proto); in ltp_traceroute()
|
/third_party/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt02.c | 53 sk = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in create_skbuf()
|
D | setsockopt06.c | 82 sock = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in run()
|
D | setsockopt07.c | 86 sock = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in run()
|
/third_party/ltp/testcases/kernel/syscalls/socketpair/ |
D | socketpair01.c | 36 {PF_INET, SOCK_RAW, 0, fds, -1, EPROTONOSUPPORT, "raw open as non-root"},
|
/third_party/ltp/testcases/kernel/syscalls/sendmsg/ |
D | sendmsg03.c | 43 sockfd = SAFE_SOCKET(AF_INET, SOCK_RAW, IPPROTO_ICMP); in setup()
|
/third_party/musl/src/mq/ |
D | mq_notify.c | 44 s = socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC, 0); in mq_notify()
|
/third_party/ltp/testcases/network/packet/ |
D | fanout01.c | 76 fd = SAFE_SOCKET(AF_PACKET, SOCK_RAW, PF_PACKET); in run()
|
/third_party/musl/src/network/ |
D | netlink.c | 46 fd = socket(PF_NETLINK, SOCK_RAW|SOCK_CLOEXEC, NETLINK_ROUTE); in __rtnetlink_enumerate()
|
/third_party/ltp/testcases/kernel/uevents/ |
D | uevent.h | 113 fd = SAFE_SOCKET(AF_NETLINK, SOCK_RAW, NETLINK_KOBJECT_UEVENT); in open_uevent_netlink()
|