Home
last modified time | relevance | path

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

123456

/external/autotest/client/site_tests/kernel_ProtocolCheck/
Dkernel_ProtocolCheck.py29 Protocol('HCI', AF_BLUETOOTH, socket.SOCK_RAW, BTPROTO_HCI),
31 Protocol('RAWv6', socket.AF_INET6, socket.SOCK_RAW, 0),
41 Protocol('RAW', socket.AF_INET, socket.SOCK_RAW, 0),
/external/strace/xlat/
Dsocktypes.h12 #if defined(SOCK_RAW) || (defined(HAVE_DECL_SOCK_RAW) && HAVE_DECL_SOCK_RAW)
13 XLAT(SOCK_RAW),
Dsocktypes.in3 SOCK_RAW
/external/ltp/testcases/network/lib6/
Dasapi_02.c99 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()
/external/linux-kselftest/tools/testing/selftests/net/
Dmsg_zerocopy.c408 if (type == SOCK_RAW) { in do_tx()
481 if (type == SOCK_RAW && protocol == IPPROTO_RAW) in do_setup_rx()
534 if (cfg_family == PF_INET && type == SOCK_RAW) { in do_flush_datagram()
682 do_test(PF_PACKET, SOCK_RAW, 0); in main()
686 do_test(cfg_family, SOCK_RAW, IPPROTO_EGP); in main()
688 do_test(cfg_family, SOCK_RAW, IPPROTO_RAW); in main()
/external/strace/tests-m32/
Dnetlink_netlink_diag.c133 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG)) in main()
138 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG) != 1) in main()
Dcreate_nl_socket.c35 const int fd = socket(AF_NETLINK, SOCK_RAW, proto); in create_nl_socket_ext()
Dnet-yy-netlink.c56 const int fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG); in main()
/external/strace/tests-mx32/
Dnetlink_netlink_diag.c133 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG)) in main()
138 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG) != 1) in main()
Dcreate_nl_socket.c35 const int fd = socket(AF_NETLINK, SOCK_RAW, proto); in create_nl_socket_ext()
Dnet-yy-netlink.c56 const int fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG); in main()
/external/strace/tests/
Dnetlink_netlink_diag.c133 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG)) in main()
138 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG) != 1) in main()
Dcreate_nl_socket.c35 const int fd = socket(AF_NETLINK, SOCK_RAW, proto); in create_nl_socket_ext()
Dnet-yy-netlink.c56 const int fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG); in main()
Dnlattr_netlink_diag_msg.c50 .ndiag_type = SOCK_RAW, in init_netlink_diag_msg()
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c282 if (cfg_proto == SOCK_RAW) { in do_test()
336 if (cfg_proto == SOCK_RAW) { in do_test()
428 cfg_proto = SOCK_RAW; in parse_opt()
433 cfg_proto = SOCK_RAW; in parse_opt()
Drxtimestamp.c61 { "ip", SOCK_RAW, IPPROTO_EGP },
273 int port = (s.type == SOCK_RAW) ? 0 : next_port++; in run_test_case()
314 if (s.type == SOCK_RAW) in run_test_case()
/external/ltp/testcases/network/can/filter-tests/
Dcan_rcv_own_msgs.c162 s = socket(PF_CAN, SOCK_RAW, CAN_RAW); in main()
167 t = socket(PF_CAN, SOCK_RAW, CAN_RAW); in main()
/external/autotest/client/bin/net/
Dnet_utils.py124 self._socket = socket.socket(socket.PF_PACKET, socket.SOCK_RAW)
384 self._socket = socket.socket(socket.PF_PACKET, socket.SOCK_RAW)
508 socket.SOCK_RAW)
513 socket.SOCK_RAW,
Dnet_utils_unittest.py87 socket.SOCK_RAW).and_return(s)
889 socket.SOCK_RAW).and_return(s)
1024 socket.SOCK_RAW).and_return(s)
1045 socket.SOCK_RAW,
1074 socket.SOCK_RAW).and_return(s)
1108 socket.SOCK_RAW,
1174 socket.SOCK_RAW,
1207 socket.SOCK_RAW,
1259 socket.SOCK_RAW,
/external/ltp/testcases/kernel/syscalls/socketcall/
Dsocketcall01.c44 {SYS_SOCKET, {AF_INET, SOCK_RAW, 6}, "Raw socket"},
/external/ltp/testcases/network/sockets/
DltpClient.c372 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()
/external/libusb/libusb/os/
Dlinux_netlink.c92 int socktype = SOCK_RAW; in linux_netlink_start_event_monitor()
106 linux_netlink_socket = socket(PF_NETLINK, SOCK_RAW, NETLINK_KOBJECT_UEVENT); in linux_netlink_start_event_monitor()
/external/scapy/doc/scapy/
Dtroubleshooting.rst17 … build your packets one layer upper, using a PF_INET/SOCK_RAW socket instead of a PF_PACKET/SOCK_R…
/external/ltp/testcases/kernel/syscalls/socket/
Dsocket01.c46 {PF_INET, SOCK_RAW, 0, -1, EPROTONOSUPPORT, "raw open as non-root"},

123456