Lines Matching defs:opt
463 ip6_tnl_err(struct sk_buff *skb, __u8 ipproto, struct inet6_skb_parm *opt,
560 ip4ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
572 err = ip6_tnl_err(skb, IPPROTO_IPIP, opt, &rel_type, &rel_code,
653 ip6ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
661 err = ip6_tnl_err(skb, IPPROTO_IPV6, opt, &rel_type, &rel_code,
695 mplsip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
703 err = ip6_tnl_err(skb, IPPROTO_MPLS, opt, &rel_type, &rel_code,
991 static void init_tel_txopt(struct ipv6_tel_txoption *opt, __u8 encap_limit)
993 memset(opt, 0, sizeof(struct ipv6_tel_txoption));
995 opt->dst_opt[2] = IPV6_TLV_TNL_ENCAP_LIMIT;
996 opt->dst_opt[3] = 1;
997 opt->dst_opt[4] = encap_limit;
998 opt->dst_opt[5] = IPV6_TLV_PADN;
999 opt->dst_opt[6] = 1;
1001 opt->ops.dst1opt = (struct ipv6_opt_hdr *) opt->dst_opt;
1002 opt->ops.opt_nflen = 8;
1090 struct ipv6_tel_txoption opt;
1266 init_tel_txopt(&opt, encap_limit);
1267 ipv6_push_frag_opts(skb, &opt.ops, &proto);