/linux/include/net/ |
H A D | mld.h | 16 #define mld_cksum mld_hdr.icmp6_cksum 37 #define mld2r_cksum mld2r_hdr.icmp6_cksum 63 #define mld2q_cksum mld2q_hdr.icmp6_cksum
|
/linux/include/uapi/linux/ |
H A D | icmpv6.h | 12 __sum16 icmp6_cksum; member
|
/linux/net/ipv6/ila/ |
H A D | ila_common.c | 113 inet_proto_csum_replace_by_diff(&ih->icmp6_cksum, skb, in ila_csum_adjust_transport()
|
/linux/net/ipv6/ |
H A D | icmp.c | 288 icmp6h->icmp6_cksum = 0; in icmpv6_push_pending_frames() 293 icmp6h->icmp6_cksum = csum_ipv6_magic(&fl6->saddr, in icmpv6_push_pending_frames() 306 icmp6h->icmp6_cksum = csum_ipv6_magic(&fl6->saddr, in icmpv6_push_pending_frames() 589 tmp_hdr.icmp6_cksum = 0; in icmp6_send()
|
H A D | ndisc.c | 500 icmp6h->icmp6_cksum = csum_ipv6_magic(saddr, daddr, skb->len, in ndisc_send_skb()
|
/linux/net/netfilter/ |
H A D | nf_nat_proto.c | 265 nf_csum_update(skb, iphdroff, &hdr->icmp6_cksum, tuple, maniptype); in icmpv6_manip_pkt() 268 inet_proto_csum_replace2(&hdr->icmp6_cksum, skb, in icmpv6_manip_pkt() 923 inside->icmp6.icmp6_cksum = 0; in nf_nat_icmpv6_reply_translation() 924 inside->icmp6.icmp6_cksum = in nf_nat_icmpv6_reply_translation()
|
H A D | nft_payload.c | 722 *l4csum_offset = offsetof(struct icmp6hdr, icmp6_cksum); in nft_payload_l4csum_offset()
|
/linux/samples/bpf/ |
H A D | test_lwt_bpf.c | 107 off = offsetof(struct icmp6hdr, icmp6_cksum); in rewrite()
|
/linux/net/sched/ |
H A D | act_csum.c | 194 icmp6h->icmp6_cksum = 0; in tcf_csum_ipv6_icmp() 196 icmp6h->icmp6_cksum = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, in tcf_csum_ipv6_icmp()
|
/linux/drivers/staging/gdm724x/ |
H A D | gdm_lte.c | 274 icmp6_out.icmp6_cksum = 0; in gdm_lte_emulate_ndp() 302 icmp6_out.icmp6_cksum = icmp6_checksum(&ipv6_out, in gdm_lte_emulate_ndp()
|
/linux/net/ipv6/netfilter/ |
H A D | nf_reject_ipv6.c | 137 icmp6h->icmp6_cksum = in nf_reject_skb_v6_unreach()
|
/linux/net/bridge/ |
H A D | br_arp_nd_proxy.c | 332 na->icmph.icmp6_cksum = csum_ipv6_magic(&pip6->saddr, in br_nd_send()
|
/linux/tools/testing/selftests/net/tcp_ao/ |
H A D | icmps-accept.c | 330 packet.icmph.icmp6_cksum = icmp6_checksum(src, dst, in icmp6_interfere()
|
H A D | icmps-discard.c | 330 packet.icmph.icmp6_cksum = icmp6_checksum(src, dst, in icmp6_interfere()
|
/linux/net/ipv4/ |
H A D | ip_tunnel_core.c | 318 .icmp6_cksum = 0, in iptunnel_pmtud_build_icmpv6() 337 icmp6h->icmp6_cksum = csum_ipv6_magic(&nip6h->saddr, &nip6h->daddr, len, in iptunnel_pmtud_build_icmpv6()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp_noinline.c | 448 icmp_hdr->icmp6_cksum -= 0x0001; in send_icmp6_reply()
|
/linux/net/netfilter/ipvs/ |
H A D | ip_vs_core.c | 835 icmph->icmp6_cksum = ~csum_ipv6_magic(&iph->saddr, &iph->daddr, in ip_vs_nat_icmp_v6() 839 skb->csum_offset = offsetof(struct icmp6hdr, icmp6_cksum); in ip_vs_nat_icmp_v6()
|
/linux/net/openvswitch/ |
H A D | actions.c | 420 inet_proto_csum_replace16(&icmp6_hdr(skb)->icmp6_cksum, in update_ipv6_checksum()
|
/linux/drivers/net/vxlan/ |
H A D | vxlan_core.c | 2014 na->icmph.icmp6_cksum = csum_ipv6_magic(&pip6->saddr, in vxlan_na_create()
|