Home
last modified time | relevance | path

Searched refs:pip6 (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/net/bridge/
Dbr_arp_nd_proxy.c257 struct ipv6hdr *pip6; in br_nd_send() local
307 pip6 = ipv6_hdr(reply); in br_nd_send()
308 memset(pip6, 0, sizeof(struct ipv6hdr)); in br_nd_send()
309 pip6->version = 6; in br_nd_send()
310 pip6->priority = ipv6_hdr(request)->priority; in br_nd_send()
311 pip6->nexthdr = IPPROTO_ICMPV6; in br_nd_send()
312 pip6->hop_limit = 255; in br_nd_send()
313 pip6->daddr = ipv6_hdr(request)->saddr; in br_nd_send()
314 pip6->saddr = *(struct in6_addr *)n->primary_key; in br_nd_send()
332 na->icmph.icmp6_cksum = csum_ipv6_magic(&pip6->saddr, in br_nd_send()
[all …]
/kernel/linux/linux-5.10/drivers/net/
Dvxlan.c2072 struct ipv6hdr *pip6; in vxlan_na_create() local
2121 pip6 = ipv6_hdr(reply); in vxlan_na_create()
2122 memset(pip6, 0, sizeof(struct ipv6hdr)); in vxlan_na_create()
2123 pip6->version = 6; in vxlan_na_create()
2124 pip6->priority = ipv6_hdr(request)->priority; in vxlan_na_create()
2125 pip6->nexthdr = IPPROTO_ICMPV6; in vxlan_na_create()
2126 pip6->hop_limit = 255; in vxlan_na_create()
2127 pip6->daddr = ipv6_hdr(request)->saddr; in vxlan_na_create()
2128 pip6->saddr = *(struct in6_addr *)n->primary_key; in vxlan_na_create()
2144 na->icmph.icmp6_cksum = csum_ipv6_magic(&pip6->saddr, in vxlan_na_create()
[all …]
/kernel/linux/linux-5.10/net/ipv6/
Dmcast.c1638 struct ipv6hdr *pip6 = ipv6_hdr(skb); in mld_sendpack() local
1653 sizeof(*pip6); in mld_sendpack()
1655 pip6->payload_len = htons(payload_len); in mld_sendpack()
1657 pmr->mld2r_cksum = csum_ipv6_magic(&pip6->saddr, &pip6->daddr, mldlen, in mld_sendpack()