Lines Matching defs:ipv6h
329 struct ipv6hdr *ipv6h = (struct ipv6hdr *) raw;
330 __u8 nexthdr = ipv6h->nexthdr;
331 __u16 off = sizeof (*ipv6h);
390 struct ipv6hdr *ipv6h = (struct ipv6hdr *) skb->data;
404 if ((t = ip6_tnl_lookup(&ipv6h->daddr, &ipv6h->saddr)) == NULL)
460 if ((len = sizeof (*ipv6h) + ntohs(ipv6h->payload_len)) > mtu) {
622 struct ipv6hdr *ipv6h,
625 __u8 dsfield = ipv6_get_dsfield(ipv6h) & ~INET_ECN_MASK;
635 struct ipv6hdr *ipv6h,
639 ipv6_copy_dscp(ipv6h, ipv6_hdr(skb));
641 if (INET_ECN_is_ce(ipv6_get_dsfield(ipv6h)))
679 struct ipv6hdr *ipv6h,
683 struct ipv6hdr *ipv6h = ipv6_hdr(skb);
687 if ((t = ip6_tnl_lookup(&ipv6h->saddr, &ipv6h->daddr)) != NULL) {
714 dscp_ecn_decapsulate(t, ipv6h, skb);
837 struct ipv6hdr *ipv6h = ipv6_hdr(skb);
866 mtu = dst_mtu(dst) - sizeof (*ipv6h);
910 ipv6h = ipv6_hdr(skb);
911 *(__be32*)ipv6h = fl->fl6_flowlabel | htonl(0x60000000);
913 ipv6_change_dsfield(ipv6h, ~INET_ECN_MASK, dsfield);
914 ipv6h->payload_len = htons(skb->len - sizeof(struct ipv6hdr));
915 ipv6h->hop_limit = t->parms.hop_limit;
916 ipv6h->nexthdr = proto;
917 ipv6_addr_copy(&ipv6h->saddr, &fl->fl6_src);
918 ipv6_addr_copy(&ipv6h->daddr, &fl->fl6_dst);
983 struct ipv6hdr *ipv6h = ipv6_hdr(skb);
992 !ip6_tnl_xmit_ctl(t) || ip6_tnl_addr_conflict(t, ipv6h))
1011 dsfield = ipv6_get_dsfield(ipv6h);
1013 fl.fl6_flowlabel |= (*(__be32 *) ipv6h & IPV6_TCLASS_MASK);
1015 fl.fl6_flowlabel |= (*(__be32 *) ipv6h & IPV6_FLOWLABEL_MASK);