Home
last modified time | relevance | path

Searched refs:IPPROTO_RAW (Results 1 – 21 of 21) sorted by relevance

/linux/tools/include/uapi/linux/
H A Din.h84 IPPROTO_RAW = 255, /* Raw IP packets */ enumerator
85 #define IPPROTO_RAW IPPROTO_RAW macro
/linux/tools/testing/selftests/net/tcp_ao/
H A Dicmps-accept.c182 int sk = socket(AF_INET, SOCK_RAW, IPPROTO_RAW); in icmp_interfere4()
197 test_error("socket(AF_INET, SOCK_RAW, IPPROTO_RAW)"); in icmp_interfere4()
296 int sk = socket(AF_INET6, SOCK_RAW, IPPROTO_RAW); in icmp6_interfere()
313 test_error("socket(AF_INET6, SOCK_RAW, IPPROTO_RAW)"); in icmp6_interfere()
333 dst_raw.sin6_port = htons(IPPROTO_RAW); in icmp6_interfere()
H A Dicmps-discard.c182 int sk = socket(AF_INET, SOCK_RAW, IPPROTO_RAW); in icmp_interfere4()
296 int sk = socket(AF_INET6, SOCK_RAW, IPPROTO_RAW); in icmp6_interfere()
333 dst_raw.sin6_port = htons(IPPROTO_RAW); in icmp6_interfere()
/linux/tools/testing/selftests/net/
H A Dmsg_zerocopy.c530 if (domain == PF_PACKET || protocol == IPPROTO_RAW) { in do_tx()
590 if (type == SOCK_RAW && protocol == IPPROTO_RAW) in do_setup_rx()
816 do_test(cfg_family, SOCK_RAW, IPPROTO_RAW); in main()
H A Dtxtimestamp.c504 if (cfg_use_pf_packet || cfg_ipproto == IPPROTO_RAW) { in do_test()
590 if (cfg_use_pf_packet || cfg_ipproto == IPPROTO_RAW) { in do_test()
788 cfg_ipproto = IPPROTO_RAW; in parse_opt()
H A Dip_defrag.c350 fd_tx_raw = socket(addr->sa_family, SOCK_RAW, IPPROTO_RAW); in run_test()
H A Dnettest.c2083 args.protocol = IPPROTO_RAW; in main()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dip_check_defrag.c167 .proto = IPPROTO_RAW, in test_bpf_ip_check_defrag_ok()
H A Dxdp_context_test_run.c143 sock = socket(AF_PACKET, SOCK_RAW, IPPROTO_RAW); in send_test_packet()
H A Dxdp_bonding.c225 s = socket(AF_PACKET, SOCK_RAW, IPPROTO_RAW); in send_udp_packets()
H A Dflow_dissector_classification.c340 fd = socket(family, SOCK_RAW, IPPROTO_RAW); in setup_tx()
/linux/tools/testing/selftests/net/lib/
H A Dcsum.c930 fd = open_inet(SOCK_RAW, IPPROTO_RAW); in do_tx()
/linux/drivers/net/ethernet/huawei/hinic3/
H A Dhinic3_tx.c257 l4_proto = IPPROTO_RAW; in hinic3_tx_csum()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_tx.c390 l4_proto = IPPROTO_RAW; in offload_csum()
/linux/net/ipv6/
H A Daf_inet6.c196 if (IPPROTO_RAW == protocol) in inet6_create()
H A Dicmp.c1072 if (nexthdr == IPPROTO_RAW) { in icmpv6_notify()
/linux/net/ipv4/
H A Dicmp.c1066 if (protocol == IPPROTO_RAW) in icmp_socket_deliver()
H A Daf_inet.c351 if (IPPROTO_RAW == protocol) in inet_create()
/linux/tools/testing/selftests/drivers/net/
H A Dgro.c
/linux/drivers/net/ethernet/realtek/rtase/
H A Drtase_main.c1235 ip_protocol = IPPROTO_RAW; in rtase_tx_csum()
/linux/drivers/net/usb/
H A Dr8152.c2688 ip_protocol = IPPROTO_RAW; in r8152_tx_csum()