/Linux-v4.19/net/bridge/netfilter/ |
D | ebt_ip6.c | 33 } icmphdr; member 96 pptr->icmphdr.type < info->icmpv6_type[0] || in ebt_ip6_mt() 97 pptr->icmphdr.type > info->icmpv6_type[1] || in ebt_ip6_mt() 98 pptr->icmphdr.code < info->icmpv6_code[0] || in ebt_ip6_mt() 99 pptr->icmphdr.code > info->icmpv6_code[1])) in ebt_ip6_mt()
|
D | ebt_ip.c | 30 } icmphdr; member 89 pptr->icmphdr.type < info->icmp_type[0] || in ebt_ip_mt() 90 pptr->icmphdr.type > info->icmp_type[1] || in ebt_ip_mt() 91 pptr->icmphdr.code < info->icmp_code[0] || in ebt_ip_mt() 92 pptr->icmphdr.code > info->icmp_code[1])) in ebt_ip_mt()
|
D | nft_reject_bridge.c | 107 struct icmphdr *icmph; in nft_reject_br_send_v4_unreach() 138 nskb = alloc_skb(sizeof(struct iphdr) + sizeof(struct icmphdr) + in nft_reject_br_send_v4_unreach() 148 icmph = skb_put_zero(nskb, sizeof(struct icmphdr)); in nft_reject_br_send_v4_unreach() 154 csum = csum_partial((void *)icmph, len + sizeof(struct icmphdr), 0); in nft_reject_br_send_v4_unreach()
|
/Linux-v4.19/include/linux/ |
D | icmp.h | 23 static inline struct icmphdr *icmp_hdr(const struct sk_buff *skb) in icmp_hdr() 25 return (struct icmphdr *)skb_transport_header(skb); in icmp_hdr()
|
/Linux-v4.19/samples/bpf/ |
D | xdp_adjust_tail_kern.c | 69 int headroom = (int)sizeof(struct iphdr) + (int)sizeof(struct icmphdr); in send_icmp4_too_big() 80 struct icmphdr *icmp_hdr; in send_icmp4_too_big() 91 off += sizeof(struct icmphdr); in send_icmp4_too_big()
|
/Linux-v4.19/net/ipv4/ |
D | icmp.c | 111 struct icmphdr icmph; 382 struct icmphdr *icmph = icmp_hdr(skb); in icmp_push_reply() 636 offsetof(struct icmphdr, in icmp_send() 729 room -= sizeof(struct icmphdr); in icmp_send() 734 icmp_param.head_len = sizeof(struct icmphdr); in icmp_send() 787 struct icmphdr *icmph; in icmp_unreach() 938 icmp_param.head_len = sizeof(struct icmphdr); in icmp_echo() 975 icmp_param.head_len = sizeof(struct icmphdr) + 12; in icmp_timestamp() 995 struct icmphdr *icmph; in icmp_rcv() 1086 struct icmphdr *icmph = (struct icmphdr *)(skb->data + offset); in icmp_err()
|
D | ping.c | 484 struct icmphdr *icmph; in ping_err() 497 icmph = (struct icmphdr *)(skb->data + offset); in ping_err() 502 icmph = (struct icmphdr *) (skb->data + offset); in ping_err() 608 fraglen -= sizeof(struct icmphdr); in ping_getfrag() 611 if (!csum_and_copy_from_iter_full(to + sizeof(struct icmphdr), in ping_getfrag() 615 } else if (offset < sizeof(struct icmphdr)) { in ping_getfrag() 647 sizeof(struct icmphdr), pfh->wcheck); in ping_v4_push_pending_frames() 649 memcpy(icmp_hdr(skb), &pfh->icmph, sizeof(struct icmphdr)); in ping_v4_push_pending_frames() 681 type = ((struct icmphdr *) user_icmph)->type; in ping_common_sendmsg() 682 code = ((struct icmphdr *) user_icmph)->code; in ping_common_sendmsg() [all …]
|
D | raw.c | 86 struct icmphdr icmph; 150 struct icmphdr _hdr; in icmp_filter() 151 const struct icmphdr *hdr; in icmp_filter() 428 length >= iphlen + sizeof(struct icmphdr)) in raw_send_hdrinc() 429 icmp_out_count(net, ((struct icmphdr *) in raw_send_hdrinc()
|
D | route.c | 1793 const struct icmphdr *icmph; in ip_multipath_l3_keys() 1795 struct icmphdr _icmph; in ip_multipath_l3_keys() 2766 struct icmphdr *icmph; in inet_rtm_getroute_build_skb() 2768 icmph = skb_put_zero(skb, sizeof(struct icmphdr)); in inet_rtm_getroute_build_skb()
|
/Linux-v4.19/net/netfilter/ |
D | nf_conntrack_proto_icmp.c | 36 const struct icmphdr *hp; in icmp_pkt_to_tuple() 37 struct icmphdr _hdr; in icmp_pkt_to_tuple() 139 + sizeof(struct icmphdr), in icmp_error_message() 183 const struct icmphdr *icmph; in icmp_error() 184 struct icmphdr _ih; in icmp_error()
|
D | xt_HMARK.c | 236 const struct icmphdr *icmph; in get_inner_hdr() 237 struct icmphdr _ih; in get_inner_hdr()
|
/Linux-v4.19/net/ipv4/netfilter/ |
D | nf_socket_ipv4.c | 30 struct icmphdr *icmph, _icmph; in extract_icmp4_fields() 50 sizeof(struct icmphdr), in extract_icmp4_fields() 60 sizeof(struct icmphdr) + in extract_icmp4_fields()
|
D | nf_nat_proto_icmp.c | 63 struct icmphdr *hdr; in icmp_manip_pkt() 68 hdr = (struct icmphdr *)(skb->data + hdroff); in icmp_manip_pkt()
|
D | nf_log_ipv4.c | 115 struct icmphdr _icmph; in dump_ipv4_packet() 116 const struct icmphdr *ich; in dump_ipv4_packet()
|
D | nf_nat_l3proto_ipv4.c | 183 struct icmphdr icmp; in nf_nat_icmp_reply_translation()
|
/Linux-v4.19/net/netfilter/ipset/ |
D | ip_set_getport.c | 66 struct icmphdr _ich; in get_port() 67 const struct icmphdr *ic; in get_port()
|
/Linux-v4.19/include/uapi/linux/ |
D | icmp.h | 69 struct icmphdr { struct
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_xdp_noinline.c | 237 off += sizeof(struct icmphdr) + sizeof(struct iphdr); in calc_offset() 440 struct icmphdr *icmp_hdr; in send_icmp_reply() 449 + sizeof(struct iphdr) + sizeof(struct icmphdr) > data_end) in send_icmp_reply() 523 struct icmphdr *icmp_hdr; in parse_icmp() 533 off += sizeof(struct icmphdr); in parse_icmp()
|
D | test_l4lb_noinline.c | 261 struct icmphdr *icmp_hdr; in parse_icmp() 270 off += sizeof(struct icmphdr); in parse_icmp()
|
D | test_l4lb.c | 261 struct icmphdr *icmp_hdr; in parse_icmp() 270 off += sizeof(struct icmphdr); in parse_icmp()
|
/Linux-v4.19/include/net/ |
D | ping.h | 61 struct icmphdr icmph;
|
/Linux-v4.19/net/sched/ |
D | act_nat.c | 193 struct icmphdr *icmph; in tcf_nat_act()
|
D | act_csum.c | 141 struct icmphdr *icmph; in tcf_csum_ipv4_icmp()
|
/Linux-v4.19/net/openvswitch/ |
D | flow.c | 252 sizeof(struct icmphdr)); in icmphdr_ok() 678 struct icmphdr *icmp = icmp_hdr(skb); in key_extract()
|
/Linux-v4.19/net/netfilter/ipvs/ |
D | ip_vs_core.c | 748 struct icmphdr *icmph = (struct icmphdr *)(skb_network_header(skb) + in ip_vs_nat_icmp() 914 struct icmphdr _icmph, *ic; in ip_vs_out_icmp() 1565 struct icmphdr _icmph, *ic; in ip_vs_in_icmp()
|