/linux-6.3-rc2/net/bridge/netfilter/ |
A D | ebt_ip.c | 31 } icmphdr; member 90 pptr->icmphdr.type < info->icmp_type[0] || in ebt_ip_mt() 91 pptr->icmphdr.type > info->icmp_type[1] || in ebt_ip_mt() 92 pptr->icmphdr.code < info->icmp_code[0] || in ebt_ip_mt() 93 pptr->icmphdr.code > info->icmp_code[1])) in ebt_ip_mt()
|
A D | ebt_ip6.c | 34 } icmphdr; member 97 pptr->icmphdr.type < info->icmpv6_type[0] || in ebt_ip6_mt() 98 pptr->icmphdr.type > info->icmpv6_type[1] || in ebt_ip6_mt() 99 pptr->icmphdr.code < info->icmpv6_code[0] || in ebt_ip6_mt() 100 pptr->icmphdr.code > info->icmpv6_code[1])) in ebt_ip6_mt()
|
/linux-6.3-rc2/net/ipv4/ |
A D | icmp.c | 106 struct icmphdr icmph; 377 struct icmphdr *icmph = icmp_hdr(skb); in icmp_push_reply() 657 offsetof(struct icmphdr, in __icmp_send() 751 room -= sizeof(struct icmphdr); in __icmp_send() 851 struct icmphdr *icmph; in icmp_unreach() 1025 bool icmp_build_probe(struct sk_buff *skb, struct icmphdr *icmphdr) in icmp_build_probe() argument 1045 if (icmphdr->type == ICMP_EXT_ECHO) in icmp_build_probe() 1046 icmphdr->type = ICMP_EXT_ECHOREPLY; in icmp_build_probe() 1107 icmphdr->code = ICMP_EXT_CODE_NO_IF; in icmp_build_probe() 1179 struct icmphdr *icmph; in icmp_rcv() [all …]
|
A D | ping.c | 502 struct icmphdr *icmph; in ping_err() 515 icmph = (struct icmphdr *)(skb->data + offset); in ping_err() 520 icmph = (struct icmphdr *) (skb->data + offset); in ping_err() 653 sizeof(struct icmphdr), pfh->wcheck); in ping_v4_push_pending_frames() 655 memcpy(icmp_hdr(skb), &pfh->icmph, sizeof(struct icmphdr)); in ping_v4_push_pending_frames() 688 type = ((struct icmphdr *) user_icmph)->type; in ping_common_sendmsg() 689 code = ((struct icmphdr *) user_icmph)->code; in ping_common_sendmsg() 712 struct icmphdr user_icmph; in ping_v4_sendmsg() 838 sizeof(struct icmphdr), &ipc, &rt, in ping_v4_sendmsg() 987 struct icmphdr *icmph = icmp_hdr(skb); in ping_rcv()
|
A D | raw.c | 82 struct icmphdr icmph; 139 struct icmphdr _hdr; in icmp_filter() 140 const struct icmphdr *hdr; in icmp_filter() 399 length >= iphlen + sizeof(struct icmphdr)) in raw_send_hdrinc() 400 icmp_out_count(net, ((struct icmphdr *) in raw_send_hdrinc()
|
A D | ip_tunnel_core.c | 198 struct icmphdr *icmph; in iptunnel_pmtud_build_icmp() 220 *icmph = (struct icmphdr) { in iptunnel_pmtud_build_icmp() 263 const struct icmphdr *icmph = icmp_hdr(skb); in iptunnel_pmtud_check_icmp()
|
/linux-6.3-rc2/include/linux/ |
A D | icmp.h | 20 static inline struct icmphdr *icmp_hdr(const struct sk_buff *skb) in icmp_hdr() 22 return (struct icmphdr *)skb_transport_header(skb); in icmp_hdr()
|
/linux-6.3-rc2/samples/bpf/ |
A D | xdp_adjust_tail_kern.c | 72 int headroom = (int)sizeof(struct iphdr) + (int)sizeof(struct icmphdr); in send_icmp4_too_big() 83 struct icmphdr *icmp_hdr; in send_icmp4_too_big() 94 off += sizeof(struct icmphdr); in send_icmp4_too_big()
|
/linux-6.3-rc2/include/net/ |
A D | icmp.h | 60 bool icmp_build_probe(struct sk_buff *skb, struct icmphdr *icmphdr);
|
A D | ping.h | 54 struct icmphdr icmph;
|
/linux-6.3-rc2/net/ipv4/netfilter/ |
A D | nf_socket_ipv4.c | 26 struct icmphdr *icmph, _icmph; in extract_icmp4_fields() 38 sizeof(struct icmphdr), in extract_icmp4_fields() 48 sizeof(struct icmphdr) + in extract_icmp4_fields()
|
A D | nf_reject_ipv4.c | 81 struct icmphdr *icmph; in nf_reject_skb_v4_unreach() 111 nskb = alloc_skb(sizeof(struct iphdr) + sizeof(struct icmphdr) + in nf_reject_skb_v4_unreach() 123 icmph = skb_put_zero(nskb, sizeof(struct icmphdr)); in nf_reject_skb_v4_unreach() 129 csum = csum_partial((void *)icmph, len + sizeof(struct icmphdr), 0); in nf_reject_skb_v4_unreach()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | xdping_kern.c | 64 struct icmphdr *icmph; in icmp_check() 96 struct icmphdr *icmph; in xdping_client() 159 struct icmphdr *icmph; in xdping_server()
|
A D | test_xdp_noinline.c | 226 off += sizeof(struct icmphdr) + sizeof(struct iphdr); in calc_offset() 429 struct icmphdr *icmp_hdr; in send_icmp_reply() 438 + sizeof(struct iphdr) + sizeof(struct icmphdr) > data_end) in send_icmp_reply() 512 struct icmphdr *icmp_hdr; in parse_icmp() 522 off += sizeof(struct icmphdr); in parse_icmp()
|
A D | test_l4lb.c | 259 struct icmphdr *icmp_hdr; in parse_icmp() 268 off += sizeof(struct icmphdr); in parse_icmp()
|
A D | test_l4lb_noinline.c | 258 struct icmphdr *icmp_hdr; in parse_icmp() 267 off += sizeof(struct icmphdr); in parse_icmp()
|
/linux-6.3-rc2/net/netfilter/ |
A D | nf_conntrack_proto_icmp.c | 30 const struct icmphdr *hp; in icmp_pkt_to_tuple() 31 struct icmphdr _hdr; in icmp_pkt_to_tuple() 209 const struct icmphdr *icmph; in nf_conntrack_icmpv4_error() 210 struct icmphdr _ih; in nf_conntrack_icmpv4_error()
|
A D | xt_HMARK.c | 233 const struct icmphdr *icmph; in get_inner_hdr() 234 struct icmphdr _ih; in get_inner_hdr()
|
A D | nf_nat_proto.c | 228 struct icmphdr *hdr; in icmp_manip_pkt() 233 hdr = (struct icmphdr *)(skb->data + hdroff); in icmp_manip_pkt() 565 struct icmphdr icmp; in nf_nat_icmp_reply_translation()
|
A D | nf_log_syslog.c | 388 const struct icmphdr *ich; in dump_ipv4_packet() 389 struct icmphdr _icmph; in dump_ipv4_packet()
|
/linux-6.3-rc2/net/netfilter/ipset/ |
A D | ip_set_getport.c | 67 struct icmphdr _ich; in get_port() 68 const struct icmphdr *ic; in get_port()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | icmp.h | 89 struct icmphdr { struct
|
/linux-6.3-rc2/net/sctp/ |
A D | input.c | 643 struct icmphdr *hdr; in sctp_udp_v4_err() 654 hdr = (struct icmphdr *)(skb_network_header(skb) - sizeof(struct icmphdr)); in sctp_udp_v4_err()
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mei/ |
A D | net.c | 224 struct icmphdr *icmp; in iwl_mei_rx_filter_ipv4()
|
/linux-6.3-rc2/net/sched/ |
A D | act_nat.c | 211 struct icmphdr *icmph; in tcf_nat_act()
|