Home
last modified time | relevance | path

Searched refs:icmp6hdr (Results 1 – 25 of 47) sorted by relevance

12

/Linux-v5.10/net/ipv6/
Dicmp.c87 struct icmp6hdr *icmp6 = (struct icmp6hdr *) (skb->data + offset); in icmpv6_err()
159 ptr+offsetof(struct icmp6hdr, icmp6_type), in is_ineligible()
276 struct icmp6hdr *thdr, int len) in icmpv6_push_pending_frames()
279 struct icmp6hdr *icmp6h; in icmpv6_push_pending_frames()
286 memcpy(icmp6h, thdr, sizeof(struct icmp6hdr)); in icmpv6_push_pending_frames()
291 sizeof(struct icmp6hdr), skb->csum); in icmpv6_push_pending_frames()
304 sizeof(struct icmp6hdr), tmp_csum); in icmpv6_push_pending_frames()
458 struct icmp6hdr tmp_hdr; in icmp6_send()
608 len = min_t(unsigned int, len, IPV6_MIN_MTU - sizeof(struct ipv6hdr) - sizeof(struct icmp6hdr)); in icmp6_send()
619 len + sizeof(struct icmp6hdr), in icmp6_send()
[all …]
Dfou6.c108 skb_set_transport_header(skb, -(int)sizeof(struct icmp6hdr)); in gue6_err()
148 skb_set_transport_header(skb, -(int)sizeof(struct icmp6hdr)); in gue6_err()
Dping.c51 struct icmp6hdr user_icmph; in ping_v6_sendmsg()
152 (struct icmp6hdr *)&pfh.icmph, len); in ping_v6_sendmsg()
Dmcast_snoop.c136 unsigned int len = skb_transport_offset(skb) + sizeof(struct icmp6hdr); in ipv6_mc_check_icmpv6()
/Linux-v5.10/include/net/
Dmld.h10 struct icmp6hdr mld_hdr;
31 struct icmp6hdr mld2r_hdr;
43 struct icmp6hdr mld2q_hdr;
Dndisc.h82 struct icmp6hdr icmph;
88 struct icmp6hdr icmph;
93 struct icmp6hdr icmph;
99 struct icmp6hdr icmph;
Daddrconf.h250 struct icmp6hdr *hdr; in ipv6_is_mld()
253 !pskb_network_may_pull(skb, offset + sizeof(struct icmp6hdr))) in ipv6_is_mld()
256 hdr = (struct icmp6hdr *)(skb_network_header(skb) + offset); in ipv6_is_mld()
Dipv6_frag.h131 offset += sizeof(struct icmp6hdr); in ipv6frag_thdr_truncated()
/Linux-v5.10/net/ipv6/ila/
Dila_common.c108 nhoff + sizeof(struct icmp6hdr)))) { in ila_csum_adjust_transport()
109 struct icmp6hdr *ih = (struct icmp6hdr *) in ila_csum_adjust_transport()
/Linux-v5.10/net/netfilter/
Dnf_conntrack_proto_icmpv6.c36 const struct icmp6hdr *hp; in icmpv6_pkt_to_tuple()
37 struct icmp6hdr _hdr; in icmpv6_pkt_to_tuple()
139 const struct icmp6hdr *icmp6h; in nf_conntrack_icmpv6_error()
140 struct icmp6hdr _ih; in nf_conntrack_icmpv6_error()
Dxt_HMARK.c151 struct icmp6hdr *icmp6h, _ih6; in get_inner6_hdr()
158 *offset += sizeof(struct icmp6hdr); in get_inner6_hdr()
/Linux-v5.10/drivers/staging/gdm724x/
Dgdm_lte.c231 struct icmp6hdr *icmp6_in; in gdm_lte_emulate_ndp()
232 struct icmp6hdr icmp6_out; in gdm_lte_emulate_ndp()
258 icmp6_in = (struct icmp6hdr *)(skb_in->data + mac_header_len + in gdm_lte_emulate_ndp()
264 u8 icmp_na[sizeof(struct icmp6hdr) + in gdm_lte_emulate_ndp()
280 sizeof(struct ipv6hdr) + sizeof(struct icmp6hdr)); in gdm_lte_emulate_ndp()
295 ipv6_out.payload_len = htons(sizeof(struct icmp6hdr) + in gdm_lte_emulate_ndp()
298 memcpy(icmp_na, &icmp6_out, sizeof(struct icmp6hdr)); in gdm_lte_emulate_ndp()
299 memcpy(icmp_na + sizeof(struct icmp6hdr), &na, in gdm_lte_emulate_ndp()
322 skb_put_data(skb_out, &icmp6_out, sizeof(struct icmp6hdr)); in gdm_lte_emulate_ndp()
383 struct icmp6hdr *icmp6 = in gdm_lte_tx_nic_type()
/Linux-v5.10/include/linux/
Dicmpv6.h8 static inline struct icmp6hdr *icmp6_hdr(const struct sk_buff *skb) in icmp6_hdr()
10 return (struct icmp6hdr *)skb_transport_header(skb); in icmp6_hdr()
/Linux-v5.10/net/netfilter/ipset/
Dip_set_getport.c78 struct icmp6hdr _ich; in get_port()
79 const struct icmp6hdr *ic; in get_port()
/Linux-v5.10/net/bridge/netfilter/
Dnft_reject_bridge.c250 struct icmp6hdr *icmp6h; in nft_reject_br_send_v6_unreach()
267 nskb = alloc_skb(sizeof(struct ipv6hdr) + sizeof(struct icmp6hdr) + in nft_reject_br_send_v6_unreach()
277 icmp6h = skb_put_zero(nskb, sizeof(struct icmp6hdr)); in nft_reject_br_send_v6_unreach()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dtest_xdp_noinline.c222 off += sizeof(struct icmp6hdr) + sizeof(struct ipv6hdr); in calc_offset()
462 struct icmp6hdr *icmp_hdr; in send_icmp6_reply()
468 + sizeof(struct ipv6hdr) + sizeof(struct icmp6hdr) > data_end) in send_icmp6_reply()
487 struct icmp6hdr *icmp_hdr; in parse_icmpv6()
497 off += sizeof(struct icmp6hdr); in parse_icmpv6()
Dtest_l4lb.c239 struct icmp6hdr *icmp_hdr; in parse_icmpv6()
247 off += sizeof(struct icmp6hdr); in parse_icmpv6()
Dtest_l4lb_noinline.c236 struct icmp6hdr *icmp_hdr; in parse_icmpv6()
244 off += sizeof(struct icmp6hdr); in parse_icmpv6()
/Linux-v5.10/net/ipv6/netfilter/
Dnf_log_ipv6.c213 struct icmp6hdr _icmp6h; in dump_ipv6_packet()
214 const struct icmp6hdr *ic; in dump_ipv6_packet()
Dnf_socket_ipv6.c31 struct icmp6hdr *icmph, _icmph; in extract_icmp6_fields()
Dip6t_NPT.c90 skb_transport_offset(skb) + sizeof(struct icmp6hdr), in icmpv6_bounced_ipv6hdr()
/Linux-v5.10/include/uapi/linux/
Dicmpv6.h8 struct icmp6hdr { struct
/Linux-v5.10/drivers/net/ipvlan/
Dipvlan_core.c186 struct icmp6hdr *icmph; in ipvlan_get_L3_hdr()
192 icmph = (struct icmp6hdr *)(ip6h + 1); in ipvlan_get_L3_hdr()
201 icmph = (struct icmp6hdr *)(ip6h + 1); in ipvlan_get_L3_hdr()
/Linux-v5.10/net/ipv4/
Dip_tunnel_core.c291 struct icmp6hdr *icmp6h; in iptunnel_pmtud_build_icmpv6()
314 *icmp6h = (struct icmp6hdr) { in iptunnel_pmtud_build_icmpv6()
375 struct icmp6hdr *icmp6h; in iptunnel_pmtud_check_icmpv6()
381 icmp6h = (struct icmp6hdr *)(skb_network_header(skb) + offset); in iptunnel_pmtud_check_icmpv6()
/Linux-v5.10/samples/bpf/
Dtest_lwt_bpf.c115 off = offsetof(struct icmp6hdr, icmp6_cksum); in rewrite()

12