Home
last modified time | relevance | path

Searched refs:IPPROTO_ICMP (Results 1 – 25 of 50) sorted by relevance

12

/Linux-v4.19/include/uapi/linux/
Din.h31 IPPROTO_ICMP = 1, /* Internet Control Message Protocol */ enumerator
32 #define IPPROTO_ICMP IPPROTO_ICMP macro
/Linux-v4.19/tools/include/uapi/linux/
Din.h31 IPPROTO_ICMP = 1, /* Internet Control Message Protocol */ enumerator
32 #define IPPROTO_ICMP IPPROTO_ICMP macro
/Linux-v4.19/net/ipv4/netfilter/
Dnf_socket_ipv4.c130 } else if (iph->protocol == IPPROTO_ICMP) { in nf_sk_lookup_slow_v4()
145 ((iph->protocol != IPPROTO_ICMP && in nf_sk_lookup_slow_v4()
147 (iph->protocol == IPPROTO_ICMP && in nf_sk_lookup_slow_v4()
Dnf_nat_l3proto_ipv4.c256 if (ip_hdr(skb)->protocol == IPPROTO_ICMP) { in nf_nat_ipv4_fn()
304 (ct->tuplehash[dir].tuple.dst.protonum != IPPROTO_ICMP && in nf_nat_ipv4_out()
338 ct->tuplehash[dir].tuple.dst.protonum != IPPROTO_ICMP && in nf_nat_ipv4_local_fn()
Dnf_nat_proto_icmp.c76 .l4proto = IPPROTO_ICMP,
Dnf_log_ipv4.c114 case IPPROTO_ICMP: { in dump_ipv4_packet()
/Linux-v4.19/net/netfilter/ipset/
Dip_set_getport.c65 case IPPROTO_ICMP: { in get_port()
114 case IPPROTO_ICMP: in ip_set_get_ip4_port()
Dip_set_hash_ipport.c147 if (!(with_ports || e.proto == IPPROTO_ICMP)) in hash_ipport4_uadt()
/Linux-v4.19/net/ipv4/
Dnetlink.c16 case IPPROTO_ICMP: in rtm_getroute_parse_ip_proto()
Dicmp.c449 fl4.flowi4_proto = IPPROTO_ICMP; in icmp_reply()
483 fl4->flowi4_proto = IPPROTO_ICMP; in icmp_route_lookup()
630 if (iph->protocol == IPPROTO_ICMP) { in icmp_send()
1101 ipv4_update_pmtu(skb, net, info, 0, 0, IPPROTO_ICMP, 0); in icmp_err()
1103 ipv4_redirect(skb, net, 0, 0, IPPROTO_ICMP, 0); in icmp_err()
1202 SOCK_RAW, IPPROTO_ICMP, net); in icmp_sk_init()
Draw.c194 if ((iph->protocol != IPPROTO_ICMP || !icmp_filter(sk, skb)) && in raw_v4_input()
427 if (iph->protocol == IPPROTO_ICMP && in raw_send_hdrinc()
456 if (fl4->flowi4_proto != IPPROTO_ICMP) in raw_probe_proto_opt()
812 if (inet_sk(sk)->inet_num == IPPROTO_ICMP) in raw_init()
849 if (inet_sk(sk)->inet_num != IPPROTO_ICMP) in do_raw_setsockopt()
879 if (inet_sk(sk)->inet_num != IPPROTO_ICMP) in do_raw_getsockopt()
Dxfrm4_policy.c144 case IPPROTO_ICMP: in _decode_session4()
/Linux-v4.19/samples/bpf/
Dsock_flags_kern.c43 sk->protocol == IPPROTO_ICMP) in bpf_prog2()
Dsockex1_user.c42 key = IPPROTO_ICMP; in main()
Dsock_example.c85 key = IPPROTO_ICMP; in test_sock()
Dxdp_adjust_tail_kern.c104 iph->protocol = IPPROTO_ICMP; in send_icmp4_too_big()
Dxdp_redirect_cpu_kern.c362 case IPPROTO_ICMP: in xdp_prognum3_proto_separate()
431 case IPPROTO_ICMP: in xdp_prognum4_ddos_filter_pktgen()
Dsockex3_kern.c180 case IPPROTO_ICMP: in parse_ip_proto()
/Linux-v4.19/net/netfilter/
Dxt_HMARK.c104 if (t->proto != IPPROTO_ICMP) { in hmark_ct_set_htuple()
264 if (ip->protocol == IPPROTO_ICMP) { in hmark_pkt_set_htuple_ipv4()
282 if (t->proto == IPPROTO_ICMP) in hmark_pkt_set_htuple_ipv4()
Dnf_conntrack_proto_icmp.c174 nf_l4proto_log_invalid(skb, net, pf, IPPROTO_ICMP, "%s", msg); in icmp_error_log()
363 .l4proto = IPPROTO_ICMP,
Dnf_conntrack_standalone.c48 case IPPROTO_ICMP: in print_tuple()
258 case IPPROTO_ICMP: return "icmp"; in l4proto_name()
/Linux-v4.19/net/netfilter/ipvs/
Dip_vs_nfct.c126 if (new_tuple.dst.protonum != IPPROTO_ICMP && in ip_vs_update_conntrack()
131 if (new_tuple.dst.protonum != IPPROTO_ICMP && in ip_vs_update_conntrack()
/Linux-v4.19/net/sched/
Dact_nat.c153 iph->protocol != IPPROTO_ICMP) { in tcf_nat_act()
191 case IPPROTO_ICMP: in tcf_nat_act()
/Linux-v4.19/net/bridge/netfilter/
Debt_ip.c129 info->protocol != IPPROTO_ICMP) in ebt_ip_mt_check()
Dnft_reject_bridge.c144 niph = nf_reject_iphdr_put(nskb, oldskb, IPPROTO_ICMP, in nft_reject_br_send_v4_unreach()

12