Lines Matching refs:ipv6_opt_hdr
55 struct ipv6_opt_hdr *hdr;
60 hdr = (struct ipv6_opt_hdr *)(nh + offset);
822 static void ipv6_push_exthdr(struct sk_buff *skb, u8 *proto, u8 type, struct ipv6_opt_hdr *opt)
824 struct ipv6_opt_hdr *h = (struct ipv6_opt_hdr *)skb_push(skb, ipv6_optlen(opt));
880 struct ipv6_opt_hdr __user *newopt, int newoptlen,
882 struct ipv6_opt_hdr **hdr,
887 memcpy(*p, ohdr, ipv6_optlen((struct ipv6_opt_hdr *)ohdr));
888 *hdr = (struct ipv6_opt_hdr *)*p;
889 *p += CMSG_ALIGN(ipv6_optlen(*(struct ipv6_opt_hdr **)hdr));
895 *hdr = (struct ipv6_opt_hdr *)*p;
896 if (ipv6_optlen(*(struct ipv6_opt_hdr **)hdr) > newoptlen)
907 struct ipv6_opt_hdr __user *newopt, int newoptlen)
955 (struct ipv6_opt_hdr **)&opt2->srcrt, &p);