Searched refs:icmp6h (Results 1 - 7 of 7) sorted by relevance

/net/netfilter/
H A Dxt_HMARK.c152 struct icmp6hdr *icmp6h, _ih6; local
154 icmp6h = skb_header_pointer(skb, *offset, sizeof(_ih6), &_ih6);
155 if (icmp6h == NULL)
158 if (icmp6h->icmp6_type && icmp6h->icmp6_type < 128) {
/net/ipv6/netfilter/
H A Dnf_conntrack_proto_icmpv6.c200 const struct icmp6hdr *icmp6h; local
204 icmp6h = skb_header_pointer(skb, dataoff, sizeof(_ih), &_ih);
205 if (icmp6h == NULL) {
220 type = icmp6h->icmp6_type - 130;
230 if (icmp6h->icmp6_type >= 128)
/net/sched/
H A Dact_csum.c172 struct icmp6hdr *icmp6h; local
175 icmp6h = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*icmp6h));
176 if (icmp6h == NULL)
180 icmp6h->icmp6_cksum = 0;
181 skb->csum = csum_partial(icmp6h, ipl - ihl, 0);
182 icmp6h->icmp6_cksum = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr,
/net/ipv6/
H A Dicmp.c238 struct icmp6hdr *icmp6h; local
244 icmp6h = icmp6_hdr(skb);
245 memcpy(icmp6h, thdr, sizeof(struct icmp6hdr));
246 icmp6h->icmp6_cksum = 0;
249 skb->csum = csum_partial(icmp6h,
251 icmp6h->icmp6_cksum = csum_ipv6_magic(&fl6->saddr,
262 tmp_csum = csum_partial(icmp6h,
264 icmp6h->icmp6_cksum = csum_ipv6_magic(&fl6->saddr,
H A Dndisc.c425 struct icmp6hdr *icmp6h = icmp6_hdr(skb); local
428 type = icmp6h->icmp6_type;
444 icmp6h->icmp6_cksum = csum_ipv6_magic(saddr, daddr, skb->len,
446 csum_partial(icmp6h,
1014 struct icmp6hdr *icmp6h = (struct icmp6hdr *)skb_transport_header(ra); local
1038 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type;
1039 ndmsg->nduseropt_icmp_code = icmp6h->icmp6_code;
/net/core/
H A Dnetpoll.c649 struct icmp6hdr *icmp6h; local
707 icmp6h = (struct icmp6hdr *)skb_transport_header(skb);
708 icmp6h->icmp6_type = NDISC_NEIGHBOUR_ADVERTISEMENT;
709 icmp6h->icmp6_router = 0;
710 icmp6h->icmp6_solicited = 1;
713 icmp6h->icmp6_cksum = csum_ipv6_magic(saddr, daddr, size,
715 csum_partial(icmp6h,
/net/bridge/
H A Dbr_multicast.c959 struct icmp6hdr *icmp6h; local
967 if (!pskb_may_pull(skb, sizeof(*icmp6h)))
971 icmp6h = icmp6_hdr(skb);
972 num = ntohs(icmp6h->icmp6_dataun.un_data16[1]);
973 len = sizeof(*icmp6h);

Completed in 86 milliseconds