Home
last modified time | relevance | path

Searched refs:icmphdr (Results 1 – 25 of 40) sorted by relevance

12

/openbmc/linux/net/bridge/netfilter/
H A Debt_ip.c31 } 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()
H A Debt_ip6.c34 } 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()
/openbmc/linux/net/ipv4/
H A Dicmp.c107 struct icmphdr icmph;
385 struct icmphdr *icmph = icmp_hdr(skb); in icmp_push_reply()
667 offsetof(struct icmphdr, in __icmp_send()
761 room -= sizeof(struct icmphdr); in __icmp_send()
866 struct icmphdr *icmph; in icmp_unreach()
1040 bool icmp_build_probe(struct sk_buff *skb, struct icmphdr *icmphdr) in icmp_build_probe() argument
1062 if (icmphdr->type == ICMP_EXT_ECHO) in icmp_build_probe()
1063 icmphdr->type = ICMP_EXT_ECHOREPLY; in icmp_build_probe()
1124 icmphdr->code = ICMP_EXT_CODE_NO_IF; in icmp_build_probe()
1201 struct icmphdr *icmph; in icmp_rcv()
[all …]
H A Dping.c492 struct icmphdr *icmph; in ping_err()
505 icmph = (struct icmphdr *)(skb->data + offset); in ping_err()
510 icmph = (struct icmphdr *) (skb->data + offset); in ping_err()
643 sizeof(struct icmphdr), pfh->wcheck); in ping_v4_push_pending_frames()
645 memcpy(icmp_hdr(skb), &pfh->icmph, sizeof(struct icmphdr)); in ping_v4_push_pending_frames()
678 type = ((struct icmphdr *) user_icmph)->type; in ping_common_sendmsg()
679 code = ((struct icmphdr *) user_icmph)->code; in ping_common_sendmsg()
702 struct icmphdr user_icmph; in ping_v4_sendmsg()
823 sizeof(struct icmphdr), &ipc, &rt, in ping_v4_sendmsg()
973 struct icmphdr *icmph = icmp_hdr(skb); in ping_rcv()
H A Draw.c82 struct icmphdr icmph;
139 struct icmphdr _hdr; in icmp_filter()
140 const struct icmphdr *hdr; in icmp_filter()
400 length >= iphlen + sizeof(struct icmphdr)) in raw_send_hdrinc()
401 icmp_out_count(net, ((struct icmphdr *) in raw_send_hdrinc()
/openbmc/linux/include/linux/
H A Dicmp.h20 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()
/openbmc/linux/samples/bpf/
H A Dxdp_adjust_tail_kern.c72 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()
/openbmc/linux/include/net/
H A Dicmp.h60 bool icmp_build_probe(struct sk_buff *skb, struct icmphdr *icmphdr);
H A Dping.h50 struct icmphdr icmph;
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dxdping_kern.c64 struct icmphdr *icmph; in icmp_check()
95 struct icmphdr *icmph; in xdping_client()
157 struct icmphdr *icmph; in xdping_server()
H A Dtest_xdp_noinline.c226 off += sizeof(struct icmphdr) + sizeof(struct iphdr); in calc_offset()
390 struct icmphdr *icmp_hdr; in send_icmp_reply()
398 + sizeof(struct iphdr) + sizeof(struct icmphdr) > data_end) in send_icmp_reply()
472 struct icmphdr *icmp_hdr; in parse_icmp()
482 off += sizeof(struct icmphdr); in parse_icmp()
H A Dtest_l4lb_noinline.c258 struct icmphdr *icmp_hdr; in parse_icmp()
267 off += sizeof(struct icmphdr); in parse_icmp()
H A Dtest_l4lb.c259 struct icmphdr *icmp_hdr; in parse_icmp()
268 off += sizeof(struct icmphdr); in parse_icmp()
H A Dtest_l4lb_noinline_dynptr.c264 struct icmphdr *icmp_hdr; in parse_icmp()
273 off += sizeof(struct icmphdr); in parse_icmp()
/openbmc/linux/net/ipv4/netfilter/
H A Dnf_socket_ipv4.c26 struct icmphdr *icmph, _icmph; in extract_icmp4_fields()
38 sizeof(struct icmphdr), in extract_icmp4_fields()
48 sizeof(struct icmphdr) + in extract_icmp4_fields()
H A Dnf_reject_ipv4.c81 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()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_helpers.h73 struct icmphdr *icmp = (struct icmphdr *)(ip + 1); in __expect_icmp_ipv4()
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_proto_icmp.c30 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()
H A Dxt_tcpudp.c191 const struct icmphdr *ic; in icmp_match()
192 struct icmphdr _icmph; in icmp_match()
H A Dxt_HMARK.c233 const struct icmphdr *icmph; in get_inner_hdr()
234 struct icmphdr _ih; in get_inner_hdr()
H A Dnf_nat_proto.c228 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()
/openbmc/linux/net/netfilter/ipset/
H A Dip_set_getport.c67 struct icmphdr _ich; in get_port()
68 const struct icmphdr *ic; in get_port()
/openbmc/linux/include/uapi/linux/
H A Dicmp.h89 struct icmphdr { struct
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mei/
H A Dnet.c224 struct icmphdr *icmp; in iwl_mei_rx_filter_ipv4()
/openbmc/linux/net/sctp/
H A Dinput.c643 struct icmphdr *hdr; in sctp_udp_v4_err()
654 hdr = (struct icmphdr *)(skb_network_header(skb) - sizeof(struct icmphdr)); in sctp_udp_v4_err()

12