Lines Matching refs:opt
496 ip6_tnl_err(struct sk_buff *skb, __u8 ipproto, struct inet6_skb_parm *opt, in ip6_tnl_err() argument
593 ip4ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in ip4ip6_err() argument
605 err = ip6_tnl_err(skb, IPPROTO_IPIP, opt, &rel_type, &rel_code, in ip4ip6_err()
686 ip6ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in ip6ip6_err() argument
694 err = ip6_tnl_err(skb, IPPROTO_IPV6, opt, &rel_type, &rel_code, in ip6ip6_err()
728 mplsip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in mplsip6_err() argument
736 err = ip6_tnl_err(skb, IPPROTO_MPLS, opt, &rel_type, &rel_code, in mplsip6_err()
1013 static void init_tel_txopt(struct ipv6_tel_txoption *opt, __u8 encap_limit) in init_tel_txopt() argument
1015 memset(opt, 0, sizeof(struct ipv6_tel_txoption)); in init_tel_txopt()
1017 opt->dst_opt[2] = IPV6_TLV_TNL_ENCAP_LIMIT; in init_tel_txopt()
1018 opt->dst_opt[3] = 1; in init_tel_txopt()
1019 opt->dst_opt[4] = encap_limit; in init_tel_txopt()
1020 opt->dst_opt[5] = IPV6_TLV_PADN; in init_tel_txopt()
1021 opt->dst_opt[6] = 1; in init_tel_txopt()
1023 opt->ops.dst1opt = (struct ipv6_opt_hdr *) opt->dst_opt; in init_tel_txopt()
1024 opt->ops.opt_nflen = 8; in init_tel_txopt()
1113 struct ipv6_tel_txoption opt; in ip6_tnl_xmit() local
1278 init_tel_txopt(&opt, encap_limit); in ip6_tnl_xmit()
1279 ipv6_push_frag_opts(skb, &opt.ops, &proto); in ip6_tnl_xmit()