/net/ipv4/ |
D | icmp.c | 106 struct icmphdr icmph; 383 struct icmphdr *icmph = icmp_hdr(skb); in icmp_push_reply() 663 offsetof(struct icmphdr, in __icmp_send() 757 room -= sizeof(struct icmphdr); in __icmp_send() 767 icmp_param.head_len = sizeof(struct icmphdr); in __icmp_send() 861 struct icmphdr *icmph; in icmp_unreach() 1015 icmp_param.head_len = sizeof(struct icmphdr); in icmp_echo() 1033 bool icmp_build_probe(struct sk_buff *skb, struct icmphdr *icmphdr) in icmp_build_probe() argument 1049 if (!(ntohs(icmphdr->un.echo.sequence) & 1)) in icmp_build_probe() 1052 icmphdr->un.echo.sequence &= htons(0xFF00); in icmp_build_probe() [all …]
|
D | ping.c | 487 struct icmphdr *icmph; in ping_err() 500 icmph = (struct icmphdr *)(skb->data + offset); in ping_err() 505 icmph = (struct icmphdr *) (skb->data + offset); in ping_err() 611 fraglen -= sizeof(struct icmphdr); in ping_getfrag() 614 if (!csum_and_copy_from_iter_full(to + sizeof(struct icmphdr), in ping_getfrag() 618 } else if (offset < sizeof(struct icmphdr)) { in ping_getfrag() 650 sizeof(struct icmphdr), pfh->wcheck); in ping_v4_push_pending_frames() 652 memcpy(icmp_hdr(skb), &pfh->icmph, sizeof(struct icmphdr)); in ping_v4_push_pending_frames() 685 type = ((struct icmphdr *) user_icmph)->type; in ping_common_sendmsg() 686 code = ((struct icmphdr *) user_icmph)->code; in ping_common_sendmsg() [all …]
|
D | raw.c | 82 struct icmphdr icmph; 145 struct icmphdr _hdr; in icmp_filter() 146 const struct icmphdr *hdr; in icmp_filter() 424 length >= iphlen + sizeof(struct icmphdr)) in raw_send_hdrinc() 425 icmp_out_count(net, ((struct icmphdr *) in raw_send_hdrinc()
|
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()
|
D | fou.c | 1145 skb_set_transport_header(skb, -(int)sizeof(struct icmphdr)); in gue_err() 1185 skb_set_transport_header(skb, -(int)sizeof(struct icmphdr)); in gue_err()
|
D | route.c | 1900 const struct icmphdr *icmph; in ip_multipath_l3_keys() 1902 struct icmphdr _icmph; in ip_multipath_l3_keys() 3212 struct icmphdr *icmph; in inet_rtm_getroute_build_skb() 3214 icmph = skb_put_zero(skb, sizeof(struct icmphdr)); in inet_rtm_getroute_build_skb()
|
D | ip_sockglue.c | 407 ip_icmp_error_rfc4884(skb, out, sizeof(struct icmphdr), in ipv4_icmp_error_rfc4884()
|
/net/bridge/netfilter/ |
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()
|
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()
|
/net/ipv4/netfilter/ |
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()
|
D | nf_reject_ipv4.c | 81 struct icmphdr *icmph; in nf_reject_skb_v4_unreach() 109 nskb = alloc_skb(sizeof(struct iphdr) + sizeof(struct icmphdr) + in nf_reject_skb_v4_unreach() 121 icmph = skb_put_zero(nskb, sizeof(struct icmphdr)); in nf_reject_skb_v4_unreach() 127 csum = csum_partial((void *)icmph, len + sizeof(struct icmphdr), 0); in nf_reject_skb_v4_unreach()
|
D | ip_tables.c | 1815 const struct icmphdr *ic; in icmp_match() 1816 struct icmphdr _icmph; in icmp_match()
|
/net/netfilter/ |
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()
|
D | xt_HMARK.c | 233 const struct icmphdr *icmph; in get_inner_hdr() 234 struct icmphdr _ih; in get_inner_hdr()
|
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()
|
D | nf_log_syslog.c | 383 const struct icmphdr *ich; in dump_ipv4_packet() 384 struct icmphdr _icmph; in dump_ipv4_packet()
|
/net/netfilter/ipset/ |
D | ip_set_getport.c | 67 struct icmphdr _ich; in get_port() 68 const struct icmphdr *ic; in get_port()
|
/net/sctp/ |
D | input.c | 656 struct icmphdr *hdr; in sctp_udp_v4_err() 667 hdr = (struct icmphdr *)(skb_network_header(skb) - sizeof(struct icmphdr)); in sctp_udp_v4_err()
|
/net/sched/ |
D | act_nat.c | 199 struct icmphdr *icmph; in tcf_nat_act()
|
D | act_csum.c | 150 struct icmphdr *icmph; in tcf_csum_ipv4_icmp()
|
/net/openvswitch/ |
D | flow.c | 240 sizeof(struct icmphdr)); in icmphdr_ok() 607 struct icmphdr *icmp = icmp_hdr(skb); in key_extract_l3l4()
|
/net/netfilter/ipvs/ |
D | ip_vs_core.c | 753 struct icmphdr *icmph = (struct icmphdr *)(skb_network_header(skb) + in ip_vs_nat_icmp() 918 struct icmphdr _icmph, *ic; in ip_vs_out_icmp() 1634 struct icmphdr _icmph, *ic; in ip_vs_in_icmp()
|
/net/rxrpc/ |
D | peer_event.c | 37 struct icmphdr *icmp = icmp_hdr(skb); in rxrpc_lookup_peer_icmp_rcu()
|
/net/core/ |
D | flow_dissector.c | 166 struct icmphdr *ih, _ih; in skb_flow_get_icmp_tci() 1686 poff += sizeof(struct icmphdr); in __skb_get_poff()
|
/net/ipv6/ |
D | icmp.c | 804 if (!icmp_build_probe(skb, (struct icmphdr *)&tmp_hdr)) in icmpv6_echo_reply()
|