Home
last modified time | relevance | path

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

/net/bridge/netfilter/
Debt_ip6.c33 } icmphdr; member
90 FWINV(pptr->icmphdr.type < info->icmpv6_type[0] || in ebt_ip6_mt()
91 pptr->icmphdr.type > info->icmpv6_type[1] || in ebt_ip6_mt()
92 pptr->icmphdr.code < info->icmpv6_code[0] || in ebt_ip6_mt()
93 pptr->icmphdr.code > info->icmpv6_code[1], in ebt_ip6_mt()
Dnft_reject_bridge.c99 struct icmphdr *icmph; in nft_reject_br_send_v4_unreach()
120 nskb = alloc_skb(sizeof(struct iphdr) + sizeof(struct icmphdr) + in nft_reject_br_send_v4_unreach()
130 icmph = (struct icmphdr *)skb_put(nskb, sizeof(struct icmphdr)); in nft_reject_br_send_v4_unreach()
138 csum = csum_partial((void *)icmph, len + sizeof(struct icmphdr), 0); in nft_reject_br_send_v4_unreach()
/net/ipv4/
Dicmp.c110 struct icmphdr icmph;
367 struct icmphdr *icmph = icmp_hdr(skb); in icmp_push_reply()
609 offsetof(struct icmphdr, in icmp_send()
696 room -= sizeof(struct icmphdr); in icmp_send()
701 icmp_param->head_len = sizeof(struct icmphdr); in icmp_send()
754 struct icmphdr *icmph; in icmp_unreach()
893 icmp_param.head_len = sizeof(struct icmphdr); in icmp_echo()
927 icmp_param.head_len = sizeof(struct icmphdr) + 12; in icmp_timestamp()
945 struct icmphdr *icmph; in icmp_rcv()
1030 struct icmphdr *icmph = (struct icmphdr *)(skb->data + offset); in icmp_err()
Dping.c488 struct icmphdr *icmph; in ping_err()
501 icmph = (struct icmphdr *)(skb->data + offset); in ping_err()
506 icmph = (struct icmphdr *) (skb->data + offset); in ping_err()
612 if (fraglen < sizeof(struct icmphdr)) in ping_getfrag()
614 if (csum_partial_copy_fromiovecend(to + sizeof(struct icmphdr), in ping_getfrag()
615 pfh->iov, 0, fraglen - sizeof(struct icmphdr), in ping_getfrag()
618 } else if (offset < sizeof(struct icmphdr)) { in ping_getfrag()
622 (to, pfh->iov, offset - sizeof(struct icmphdr), in ping_getfrag()
651 sizeof(struct icmphdr), pfh->wcheck); in ping_v4_push_pending_frames()
653 memcpy(icmp_hdr(skb), &pfh->icmph, sizeof(struct icmphdr)); in ping_v4_push_pending_frames()
[all …]
Draw.c135 struct icmphdr _hdr; in icmp_filter()
136 const struct icmphdr *hdr; in icmp_filter()
405 icmp_out_count(net, ((struct icmphdr *) in raw_send_hdrinc()
Dip_output.c1407 icmp_out_count(net, ((struct icmphdr *) in __ip_make_skb()
/net/ipv4/netfilter/
Dnf_conntrack_proto_icmp.c35 const struct icmphdr *hp; in icmp_pkt_to_tuple()
36 struct icmphdr _hdr; in icmp_pkt_to_tuple()
144 + sizeof(struct icmphdr), in icmp_error_message()
184 const struct icmphdr *icmph; in icmp_error()
185 struct icmphdr _ih; in icmp_error()
Dnf_nat_proto_icmp.c63 struct icmphdr *hdr; in icmp_manip_pkt()
68 hdr = (struct icmphdr *)(skb->data + hdroff); in icmp_manip_pkt()
Dnf_log_ipv4.c112 struct icmphdr _icmph; in dump_ipv4_packet()
113 const struct icmphdr *ich; in dump_ipv4_packet()
Dnf_nat_l3proto_ipv4.c196 struct icmphdr icmp; in nf_nat_icmp_reply_translation()
Dip_tables.c2006 const struct icmphdr *ic; in icmp_match()
2007 struct icmphdr _icmph; in icmp_match()
/net/netfilter/ipset/
Dip_set_getport.c66 struct icmphdr _ich; in get_port()
67 const struct icmphdr *ic; in get_port()
/net/netfilter/
Dxt_socket.c48 struct icmphdr *icmph, _icmph; in extract_icmp4_fields()
68 sizeof(struct icmphdr), in extract_icmp4_fields()
78 sizeof(struct icmphdr) + in extract_icmp4_fields()
Dxt_HMARK.c234 const struct icmphdr *icmph; in get_inner_hdr()
235 struct icmphdr _ih; in get_inner_hdr()
/net/openvswitch/
Dflow.c240 sizeof(struct icmphdr)); in icmphdr_ok()
549 struct icmphdr *icmp = icmp_hdr(skb); in key_extract()
/net/sched/
Dact_nat.c188 struct icmphdr *icmph; in tcf_nat()
Dact_csum.c118 struct icmphdr *icmph; in tcf_csum_ipv4_icmp()
/net/netfilter/ipvs/
Dip_vs_core.c699 struct icmphdr *icmph = (struct icmphdr *)(skb_network_header(skb) + in ip_vs_nat_icmp()
864 struct icmphdr _icmph, *ic; in ip_vs_out_icmp()
1308 struct icmphdr _icmph, *ic; in ip_vs_in_icmp()
/net/core/
Dflow_dissector.c366 poff += sizeof(struct icmphdr); in __skb_get_poff()