Home
last modified time | relevance | path

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

12

/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()
/linux/net/ipv4/
H A Dicmp.c112 struct icmphdr icmph;
396 struct icmphdr *icmph = icmp_hdr(skb); in icmp_push_reply()
739 icmp_ext_append(struct net *net, struct sk_buff *skb_in, struct icmphdr *icmph, in icmp_ext_append()
889 offsetof(struct icmphdr, in __icmp_send()
989 room -= sizeof(struct icmphdr); in __icmp_send()
1004 icmp_param->head_len = sizeof(struct icmphdr); in __icmp_send()
1116 struct icmphdr *icmph; in icmp_unreach()
1273 icmp_param->head_len = sizeof(struct icmphdr); in icmp_echo()
1291 bool icmp_build_probe(struct sk_buff *skb, struct icmphdr *icmphdr) in icmp_build_probe() argument
1309 if (!(ntohs(icmphdr->un.echo.sequence) & 1)) in icmp_build_probe()
[all …]
H A Draw.c82 struct icmphdr icmph;
145 struct icmphdr _hdr; in icmp_filter()
146 const struct icmphdr *hdr; in icmp_filter()
414 length >= iphlen + sizeof(struct icmphdr)) in raw_send_hdrinc()
415 icmp_out_count(net, ((struct icmphdr *) in raw_send_hdrinc()
H A Dip_tunnel_core.c216 struct icmphdr *icmph; in iptunnel_pmtud_build_icmp()
240 *icmph = (struct icmphdr) { in iptunnel_pmtud_build_icmp()
294 const struct icmphdr *icmph; in iptunnel_pmtud_check_icmp()
297 offsetofend(struct icmphdr, type))) in iptunnel_pmtud_check_icmp()
/linux/tools/testing/selftests/bpf/progs/
H A Dxdping_kern.c
H A Dtest_xdp_noinline.c227 off += sizeof(struct icmphdr) + sizeof(struct iphdr); in calc_offset()
403 struct icmphdr *icmp_hdr; in send_icmp_reply()
411 + sizeof(struct iphdr) + sizeof(struct icmphdr) > data_end) in send_icmp_reply()
485 struct icmphdr *icmp_hdr; in parse_icmp()
495 off += sizeof(struct icmphdr); in parse_icmp()
H A Dicmp_send.c77 struct icmphdr *icmph; in recursion()
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()
H A Dbpf_flow.c169 struct icmphdr *icmp, _icmp; in parse_ip_proto()
/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.c96 thoff + offsetof(struct icmphdr, type), in nf_skb_is_icmp_unreach()
112 struct icmphdr *icmph; in nf_reject_skb_v4_unreach()
146 nskb = alloc_skb(sizeof(struct iphdr) + sizeof(struct icmphdr) + in nf_reject_skb_v4_unreach()
158 icmph = skb_put_zero(nskb, sizeof(struct icmphdr)); in nf_reject_skb_v4_unreach()
164 csum = csum_partial((void *)icmph, len + sizeof(struct icmphdr), 0); in nf_reject_skb_v4_unreach()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_helpers.h45 struct icmphdr *icmp = (struct icmphdr *)(ip + 1); in __expect_icmp_ipv4()
/linux/net/netfilter/ipset/
H A Dip_set_getport.c67 struct icmphdr _ich; in get_port()
68 const struct icmphdr *ic; in get_port()
/linux/include/uapi/linux/
H A Dicmp.h89 struct icmphdr { struct
/linux/net/netfilter/
H A Dxt_tcpudp.c187 const struct icmphdr *ic; in icmp6_type_code_match()
188 struct icmphdr _icmph; in icmp6_type_code_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.c172 struct icmphdr *hdr; in icmp_manip_pkt()
177 hdr = (struct icmphdr *)(skb->data + hdroff); in icmp_manip_pkt()
503 struct icmphdr icmp; in nf_nat_icmp_reply_translation()
H A Dnf_log_syslog.c402 const struct icmphdr *ich; in dump_ipv4_packet()
403 struct icmphdr _icmph; in dump_ipv4_packet()
/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()
/linux/drivers/net/wireless/intel/iwlwifi/mei/
H A Dnet.c224 struct icmphdr *icmp; in iwl_mei_rx_filter_ipv4()
/linux/net/sched/
H A Dact_nat.c211 struct icmphdr *icmph; in tcf_nat_act()
/linux/tools/testing/selftests/net/tcp_ao/
H A Dicmps-accept.c185 struct icmphdr icmph; in icmp_interfere4()

12