Home
last modified time | relevance | path

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

123

/openbmc/linux/net/ipv6/
H A Dicmp.c78 struct icmp6hdr *icmp6 = (struct icmp6hdr *) (skb->data + offset); in icmpv6_err()
277 struct icmp6hdr *thdr, int len) in icmpv6_push_pending_frames()
280 struct icmp6hdr *icmp6h; in icmpv6_push_pending_frames()
292 sizeof(struct icmp6hdr), skb->csum); in icmpv6_push_pending_frames()
305 sizeof(struct icmp6hdr), tmp_csum); in icmpv6_push_pending_frames()
461 struct icmp6hdr tmp_hdr; in icmp6_send()
623 len + sizeof(struct icmp6hdr), in icmp6_send()
624 sizeof(struct icmp6hdr), in icmp6_send()
631 len + sizeof(struct icmp6hdr)); in icmp6_send()
727 struct icmp6hdr tmp_hdr; in icmpv6_echo_reply()
[all …]
H A Dping.c66 struct icmp6hdr user_icmph; in ping_v6_sendmsg()
178 sizeof(struct icmp6hdr), &ipc6, &fl6, rt, in ping_v6_sendmsg()
187 (struct icmp6hdr *)&pfh.icmph, len); in ping_v6_sendmsg()
H A 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()
H A Dmcast_snoop.c136 unsigned int len = skb_transport_offset(skb) + sizeof(struct icmp6hdr); in ipv6_mc_check_icmpv6()
/openbmc/linux/include/net/
H A Dmld.h10 struct icmp6hdr mld_hdr;
31 struct icmp6hdr mld2r_hdr;
43 struct icmp6hdr mld2q_hdr;
H A Dndisc.h82 struct icmp6hdr icmph;
88 struct icmp6hdr icmph;
93 struct icmp6hdr icmph;
99 struct icmp6hdr icmph;
H A Daddrconf.h259 struct icmp6hdr *hdr; in ipv6_is_mld()
262 !pskb_network_may_pull(skb, offset + sizeof(struct icmp6hdr))) in ipv6_is_mld()
265 hdr = (struct icmp6hdr *)(skb_network_header(skb) + offset); in ipv6_is_mld()
H A Dipv6_frag.h134 offset += sizeof(struct icmp6hdr); in ipv6frag_thdr_truncated()
/openbmc/linux/net/ipv6/ila/
H A Dila_common.c108 nhoff + sizeof(struct icmp6hdr)))) { in ila_csum_adjust_transport()
109 struct icmp6hdr *ih = (struct icmp6hdr *) in ila_csum_adjust_transport()
/openbmc/linux/drivers/staging/gdm724x/
H A 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()
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_proto_icmpv6.c36 const struct icmp6hdr *hp; in icmpv6_pkt_to_tuple()
37 struct icmp6hdr _hdr; in icmpv6_pkt_to_tuple()
188 const struct icmp6hdr *icmp6h; in nf_conntrack_icmpv6_error()
189 struct icmp6hdr _ih; in nf_conntrack_icmpv6_error()
H A Dxt_tcpudp.c218 const struct icmp6hdr *ic; in icmp6_match()
219 struct icmp6hdr _icmph; in icmp6_match()
H A Dxt_HMARK.c151 struct icmp6hdr *icmp6h, _ih6; in get_inner6_hdr()
158 *offset += sizeof(struct icmp6hdr); in get_inner6_hdr()
/openbmc/linux/net/netfilter/ipset/
H A Dip_set_getport.c78 struct icmp6hdr _ich; in get_port()
79 const struct icmp6hdr *ic; in get_port()
/openbmc/linux/include/linux/
H A Dicmpv6.h9 static inline struct icmp6hdr *icmp6_hdr(const struct sk_buff *skb) in icmp6_hdr()
11 return (struct icmp6hdr *)skb_transport_header(skb); in icmp6_hdr()
/openbmc/linux/net/ipv6/netfilter/
H A Dnf_reject_ipv6.c101 struct icmp6hdr *icmp6h; in nf_reject_skb_v6_unreach()
118 nskb = alloc_skb(sizeof(struct ipv6hdr) + sizeof(struct icmp6hdr) + in nf_reject_skb_v6_unreach()
130 icmp6h = skb_put_zero(nskb, sizeof(struct icmp6hdr)); in nf_reject_skb_v6_unreach()
H A Dnf_socket_ipv6.c31 struct icmp6hdr *icmph, _icmph; in extract_icmp6_fields()
H A Dip6t_NPT.c90 skb_transport_offset(skb) + sizeof(struct icmp6hdr), in icmpv6_bounced_ipv6hdr()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_noinline.c222 off += sizeof(struct icmp6hdr) + sizeof(struct ipv6hdr); in calc_offset()
422 struct icmp6hdr *icmp_hdr; in send_icmp6_reply()
428 + sizeof(struct ipv6hdr) + sizeof(struct icmp6hdr) > data_end) in send_icmp6_reply()
447 struct icmp6hdr *icmp_hdr; in parse_icmpv6()
457 off += sizeof(struct icmp6hdr); in parse_icmpv6()
H A Dtest_l4lb_noinline.c236 struct icmp6hdr *icmp_hdr; in parse_icmpv6()
244 off += sizeof(struct icmp6hdr); in parse_icmpv6()
H A Dtest_l4lb.c237 struct icmp6hdr *icmp_hdr; in parse_icmpv6()
245 off += sizeof(struct icmp6hdr); in parse_icmpv6()
/openbmc/linux/include/uapi/linux/
H A Dicmpv6.h8 struct icmp6hdr { struct
/openbmc/linux/drivers/net/ipvlan/
H A 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()
/openbmc/linux/net/ipv4/
H A 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()
/openbmc/linux/samples/bpf/
H A Dtest_lwt_bpf.c107 off = offsetof(struct icmp6hdr, icmp6_cksum); in rewrite()

123