| /linux-6.15/tools/include/uapi/linux/ |
| H A D | in.h | 84 IPPROTO_RAW = 255, /* Raw IP packets */ enumerator 85 #define IPPROTO_RAW IPPROTO_RAW macro
|
| /linux-6.15/include/uapi/linux/ |
| H A D | in.h | 84 IPPROTO_RAW = 255, /* Raw IP packets */ enumerator 85 #define IPPROTO_RAW IPPROTO_RAW macro
|
| /linux-6.15/tools/testing/selftests/net/tcp_ao/ |
| H A D | icmps-accept.c | 182 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()
|
| H A D | icmps-discard.c | 182 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-6.15/tools/testing/selftests/net/ |
| H A D | msg_zerocopy.c | 527 if (domain == PF_PACKET || protocol == IPPROTO_RAW) { in do_tx() 587 if (type == SOCK_RAW && protocol == IPPROTO_RAW) in do_setup_rx() 810 do_test(cfg_family, SOCK_RAW, IPPROTO_RAW); in main()
|
| H A D | txtimestamp.c | 506 if (cfg_use_pf_packet || cfg_ipproto == IPPROTO_RAW) { in do_test() 592 if (cfg_use_pf_packet || cfg_ipproto == IPPROTO_RAW) { in do_test() 788 cfg_ipproto = IPPROTO_RAW; in parse_opt()
|
| H A D | ip_defrag.c | 350 fd_tx_raw = socket(addr->sa_family, SOCK_RAW, IPPROTO_RAW); in run_test()
|
| H A D | gro.c | 976 txfd = socket(PF_PACKET, SOCK_RAW, IPPROTO_RAW); in gro_sender()
|
| H A D | nettest.c | 2083 args.protocol = IPPROTO_RAW; in main()
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | ip_check_defrag.c | 167 .proto = IPPROTO_RAW, in test_bpf_ip_check_defrag_ok()
|
| H A D | xdp_context_test_run.c | 136 sock = socket(AF_PACKET, SOCK_RAW, IPPROTO_RAW); in send_test_packet()
|
| H A D | xdp_bonding.c | 220 s = socket(AF_PACKET, SOCK_RAW, IPPROTO_RAW); in send_udp_packets()
|
| H A D | flow_dissector_classification.c | 340 fd = socket(family, SOCK_RAW, IPPROTO_RAW); in setup_tx()
|
| /linux-6.15/net/ipv4/ |
| H A D | raw_diag.c | 220 .idiag_type = IPPROTO_RAW,
|
| H A D | raw.c | 543 ipc.protocol = IPPROTO_RAW; in raw_sendmsg()
|
| H A D | ip_sockglue.c | 350 if (sk->sk_type != SOCK_RAW || inet_sk(sk)->inet_num == IPPROTO_RAW) in ip_ra_control()
|
| H A D | af_inet.c | 344 if (IPPROTO_RAW == protocol) in inet_create()
|
| H A D | route.c | 517 prot = inet_test_bit(HDRINCL, sk) ? IPPROTO_RAW : in __build_flow_key() 553 IPPROTO_RAW : sk->sk_protocol, in build_sk_flow_key()
|
| /linux-6.15/net/ipv6/ |
| H A D | raw.c | 795 inet->inet_num != IPPROTO_RAW) in rawv6_sendmsg() 1161 if (inet_sk(sk)->inet_num == IPPROTO_RAW) in rawv6_close()
|
| H A D | af_inet6.c | 211 if (IPPROTO_RAW == protocol) in inet6_create()
|
| H A D | ipv6_sockglue.c | 65 if (sk->sk_type != SOCK_RAW || inet_sk(sk)->inet_num != IPPROTO_RAW) in ip6_ra_control()
|
| H A D | ip6_output.c | 1482 sk->sk_protocol == IPPROTO_RAW)) { in __ip6_append_data()
|
| /linux-6.15/net/netfilter/ |
| H A D | nf_conntrack_proto.c | 59 net->ct.sysctl_log_invalid != IPPROTO_RAW) in nf_l4proto_log_invalid()
|
| /linux-6.15/tools/testing/selftests/net/lib/ |
| H A D | csum.c | 930 fd = open_inet(SOCK_RAW, IPPROTO_RAW); in do_tx()
|
| /linux-6.15/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_tx.c | 390 l4_proto = IPPROTO_RAW; in offload_csum()
|