Lines Matching refs:opt
480 ip6_tnl_err(struct sk_buff *skb, __u8 ipproto, struct inet6_skb_parm *opt, in ip6_tnl_err() argument
568 ip4ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in ip4ip6_err() argument
581 err = ip6_tnl_err(skb, IPPROTO_IPIP, opt, &rel_type, &rel_code, in ip4ip6_err()
674 ip6ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in ip6ip6_err() argument
683 err = ip6_tnl_err(skb, IPPROTO_IPV6, opt, &rel_type, &rel_code, in ip6ip6_err()
886 static void init_tel_txopt(struct ipv6_tel_txoption *opt, __u8 encap_limit) in init_tel_txopt() argument
888 memset(opt, 0, sizeof(struct ipv6_tel_txoption)); in init_tel_txopt()
890 opt->dst_opt[2] = IPV6_TLV_TNL_ENCAP_LIMIT; in init_tel_txopt()
891 opt->dst_opt[3] = 1; in init_tel_txopt()
892 opt->dst_opt[4] = encap_limit; in init_tel_txopt()
893 opt->dst_opt[5] = IPV6_TLV_PADN; in init_tel_txopt()
894 opt->dst_opt[6] = 1; in init_tel_txopt()
896 opt->ops.dst0opt = (struct ipv6_opt_hdr *) opt->dst_opt; in init_tel_txopt()
897 opt->ops.opt_nflen = 8; in init_tel_txopt()
982 struct ipv6_tel_txoption opt; in ip6_tnl_xmit2() local
1085 init_tel_txopt(&opt, encap_limit); in ip6_tnl_xmit2()
1086 ipv6_push_nfrag_opts(skb, &opt.ops, &proto, NULL); in ip6_tnl_xmit2()