Lines Matching refs:proto
655 static void ipv6_push_rthdr(struct sk_buff *skb, u8 *proto, in ipv6_push_rthdr() argument
676 phdr->rt_hdr.nexthdr = *proto; in ipv6_push_rthdr()
677 *proto = NEXTHDR_ROUTING; in ipv6_push_rthdr()
680 static void ipv6_push_exthdr(struct sk_buff *skb, u8 *proto, u8 type, struct ipv6_opt_hdr *opt) in ipv6_push_exthdr() argument
685 h->nexthdr = *proto; in ipv6_push_exthdr()
686 *proto = type; in ipv6_push_exthdr()
690 u8 *proto, in ipv6_push_nfrag_opts() argument
694 ipv6_push_rthdr(skb, proto, opt->srcrt, daddr); in ipv6_push_nfrag_opts()
700 ipv6_push_exthdr(skb, proto, NEXTHDR_DEST, opt->dst0opt); in ipv6_push_nfrag_opts()
703 ipv6_push_exthdr(skb, proto, NEXTHDR_HOP, opt->hopopt); in ipv6_push_nfrag_opts()
707 void ipv6_push_frag_opts(struct sk_buff *skb, struct ipv6_txoptions *opt, u8 *proto) in ipv6_push_frag_opts() argument
710 ipv6_push_exthdr(skb, proto, NEXTHDR_DEST, opt->dst1opt); in ipv6_push_frag_opts()