/linux-6.12.1/include/uapi/linux/ |
D | in.h | 82 IPPROTO_RAW = 255, /* Raw IP packets */ enumerator 83 #define IPPROTO_RAW IPPROTO_RAW macro
|
/linux-6.12.1/tools/include/uapi/linux/ |
D | in.h | 82 IPPROTO_RAW = 255, /* Raw IP packets */ enumerator 83 #define IPPROTO_RAW IPPROTO_RAW macro
|
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/ |
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()
|
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.12.1/tools/testing/selftests/net/ |
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()
|
D | txtimestamp.c | 503 if (cfg_use_pf_packet || cfg_ipproto == IPPROTO_RAW) { in do_test() 589 if (cfg_use_pf_packet || cfg_ipproto == IPPROTO_RAW) { in do_test() 766 cfg_ipproto = IPPROTO_RAW; in parse_opt()
|
D | ip_defrag.c | 350 fd_tx_raw = socket(addr->sa_family, SOCK_RAW, IPPROTO_RAW); in run_test()
|
D | gro.c | 976 txfd = socket(PF_PACKET, SOCK_RAW, IPPROTO_RAW); in gro_sender()
|
D | nettest.c | 2083 args.protocol = IPPROTO_RAW; in main()
|
/linux-6.12.1/net/ipv4/ |
D | raw_diag.c | 220 .idiag_type = IPPROTO_RAW,
|
D | raw.c | 543 ipc.protocol = IPPROTO_RAW; in raw_sendmsg()
|
D | ip_sockglue.c | 350 if (sk->sk_type != SOCK_RAW || inet_sk(sk)->inet_num == IPPROTO_RAW) in ip_ra_control()
|
D | af_inet.c | 344 if (IPPROTO_RAW == protocol) in inet_create()
|
D | route.c | 511 prot = inet_test_bit(HDRINCL, sk) ? IPPROTO_RAW : in __build_flow_key() 547 IPPROTO_RAW : sk->sk_protocol, in build_sk_flow_key()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | ip_check_defrag.c | 167 .proto = IPPROTO_RAW, in test_bpf_ip_check_defrag_ok()
|
D | xdp_bonding.c | 220 s = socket(AF_PACKET, SOCK_RAW, IPPROTO_RAW); in send_udp_packets()
|
/linux-6.12.1/net/ipv6/ |
D | raw.c | 797 inet->inet_num != IPPROTO_RAW) in rawv6_sendmsg() 1169 if (inet_sk(sk)->inet_num == IPPROTO_RAW) in rawv6_close()
|
D | af_inet6.c | 211 if (IPPROTO_RAW == protocol) in inet6_create()
|
D | ipv6_sockglue.c | 65 if (sk->sk_type != SOCK_RAW || inet_sk(sk)->inet_num != IPPROTO_RAW) in ip6_ra_control()
|
/linux-6.12.1/net/netfilter/ |
D | nf_conntrack_proto.c | 59 net->ct.sysctl_log_invalid != IPPROTO_RAW) in nf_l4proto_log_invalid()
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | test_flow_dissector.c | 405 fd = socket(family, SOCK_RAW, IPPROTO_RAW); in setup_tx()
|
/linux-6.12.1/tools/testing/selftests/net/lib/ |
D | csum.c | 932 fd = open_inet(SOCK_RAW, IPPROTO_RAW); in do_tx()
|
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 1135 fkeys->basic.ip_proto == IPPROTO_RAW) { in bnxt_grxclsrule() 1141 fs->h_u.usr_ip4_spec.proto = IPPROTO_RAW; in bnxt_grxclsrule() 1164 fkeys->basic.ip_proto == IPPROTO_RAW) { in bnxt_grxclsrule() 1169 fs->h_u.usr_ip6_spec.l4_proto = IPPROTO_RAW; in bnxt_grxclsrule() 1295 (ip_spec->proto != IPPROTO_RAW && ip_spec->proto != IPPROTO_ICMP)) in bnxt_verify_ntuple_ip4_flow() 1305 (ip_spec->l4_proto != IPPROTO_RAW && in bnxt_verify_ntuple_ip6_flow()
|
/linux-6.12.1/drivers/net/ethernet/huawei/hinic/ |
D | hinic_tx.c | 390 l4_proto = IPPROTO_RAW; in offload_csum()
|
/linux-6.12.1/include/net/ |
D | xfrm.h | 2193 if (proto == IPPROTO_UDP || proto == IPPROTO_RAW) in xfrm6_local_dontfrag()
|