Searched refs:icmp6h (Results 1 - 7 of 7) sorted by relevance
/net/netfilter/ |
H A D | xt_HMARK.c | 152 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 D | nf_conntrack_proto_icmpv6.c | 200 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 D | act_csum.c | 172 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 D | icmp.c | 238 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 D | ndisc.c | 425 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 D | netpoll.c | 649 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 D | br_multicast.c | 959 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