Lines Matching refs:parms

98 		if (ipv6_addr_equal(local, &t->parms.laddr) &&  in vti6_tnl_lookup()
99 ipv6_addr_equal(remote, &t->parms.raddr) && in vti6_tnl_lookup()
107 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_tnl_lookup()
114 if (ipv6_addr_equal(remote, &t->parms.raddr) && in vti6_tnl_lookup()
155 struct ip6_tnl __rcu **tp = vti6_tnl_bucket(ip6n, &t->parms); in vti6_tnl_link()
167 for (tp = vti6_tnl_bucket(ip6n, &t->parms); in vti6_tnl_unlink()
194 strcpy(t->parms.name, dev->name); in vti6_tnl_create2()
226 t->parms = *p; in vti6_tnl_create()
267 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_locate()
268 ipv6_addr_equal(remote, &t->parms.raddr)) { in vti6_locate()
308 if (t->parms.proto != IPPROTO_IPV6 && t->parms.proto != 0) { in vti6_input_proto()
383 skb->mark = be32_to_cpu(t->parms.i_key); in vti6_rcv_cb()
413 return ipv6_addr_equal(&t->parms.raddr, &hdr->saddr); in vti6_addr_conflict()
499 if (!vti6_state_check(x, &t->parms.raddr, &t->parms.laddr)) in vti6_xmit()
511 t->parms.name); in vti6_xmit()
569 if ((t->parms.proto != IPPROTO_IPV6 && t->parms.proto != 0) || in vti6_tnl_xmit()
585 fl.flowi_mark = be32_to_cpu(t->parms.o_key); in vti6_tnl_xmit()
618 mark = be32_to_cpu(t->parms.o_key); in vti6_err()
659 struct __ip6_tnl_parm *p = &t->parms; in vti6_link_config()
716 t->parms.laddr = p->laddr; in vti6_tnl_change()
717 t->parms.raddr = p->raddr; in vti6_tnl_change()
718 t->parms.link = p->link; in vti6_tnl_change()
719 t->parms.i_key = p->i_key; in vti6_tnl_change()
720 t->parms.o_key = p->o_key; in vti6_tnl_change()
721 t->parms.proto = p->proto; in vti6_tnl_change()
722 t->parms.fwmark = p->fwmark; in vti6_tnl_change()
827 vti6_parm_to_user(&p, &t->parms); in vti6_siocdevprivate()
857 vti6_parm_to_user(&p, &t->parms); in vti6_siocdevprivate()
970 t->parms.proto = IPPROTO_IPV6; in vti6_fb_tnl_dev_init()
983 struct __ip6_tnl_parm *parms) in vti6_netlink_parms() argument
985 memset(parms, 0, sizeof(*parms)); in vti6_netlink_parms()
991 parms->link = nla_get_u32(data[IFLA_VTI_LINK]); in vti6_netlink_parms()
994 parms->laddr = nla_get_in6_addr(data[IFLA_VTI_LOCAL]); in vti6_netlink_parms()
997 parms->raddr = nla_get_in6_addr(data[IFLA_VTI_REMOTE]); in vti6_netlink_parms()
1000 parms->i_key = nla_get_be32(data[IFLA_VTI_IKEY]); in vti6_netlink_parms()
1003 parms->o_key = nla_get_be32(data[IFLA_VTI_OKEY]); in vti6_netlink_parms()
1006 parms->fwmark = nla_get_u32(data[IFLA_VTI_FWMARK]); in vti6_netlink_parms()
1017 vti6_netlink_parms(data, &nt->parms); in vti6_newlink()
1019 nt->parms.proto = IPPROTO_IPV6; in vti6_newlink()
1021 if (vti6_locate(net, &nt->parms, 0)) in vti6_newlink()
1082 struct __ip6_tnl_parm *parm = &tunnel->parms; in vti6_fill_info()
1170 strcpy(t->parms.name, ip6n->fb_tnl_dev->name); in vti6_init_net()