Lines Matching refs:opt
539 ip6_tnl_err(struct sk_buff *skb, __u8 ipproto, struct inet6_skb_parm *opt, in ip6_tnl_err() argument
627 ip4ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in ip4ip6_err() argument
640 err = ip6_tnl_err(skb, IPPROTO_IPIP, opt, &rel_type, &rel_code, in ip4ip6_err()
733 ip6ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in ip6ip6_err() argument
742 err = ip6_tnl_err(skb, IPPROTO_IPV6, opt, &rel_type, &rel_code, in ip6ip6_err()
945 static void init_tel_txopt(struct ipv6_tel_txoption *opt, __u8 encap_limit) in init_tel_txopt() argument
947 memset(opt, 0, sizeof(struct ipv6_tel_txoption)); in init_tel_txopt()
949 opt->dst_opt[2] = IPV6_TLV_TNL_ENCAP_LIMIT; in init_tel_txopt()
950 opt->dst_opt[3] = 1; in init_tel_txopt()
951 opt->dst_opt[4] = encap_limit; in init_tel_txopt()
952 opt->dst_opt[5] = IPV6_TLV_PADN; in init_tel_txopt()
953 opt->dst_opt[6] = 1; in init_tel_txopt()
955 opt->ops.dst0opt = (struct ipv6_opt_hdr *) opt->dst_opt; in init_tel_txopt()
956 opt->ops.opt_nflen = 8; in init_tel_txopt()
1041 struct ipv6_tel_txoption opt; in ip6_tnl_xmit2() local
1143 init_tel_txopt(&opt, encap_limit); in ip6_tnl_xmit2()
1144 ipv6_push_nfrag_opts(skb, &opt.ops, &proto, NULL); in ip6_tnl_xmit2()
1183 memset(&(IPCB(skb)->opt), 0, sizeof(IPCB(skb)->opt)); in ip4ip6_tnl_xmit()