Lines Matching refs:ipencap
1962 struct ip_tunnel_encap *ipencap) in ip6gre_netlink_encap_parms() argument
1966 memset(ipencap, 0, sizeof(*ipencap)); in ip6gre_netlink_encap_parms()
1973 ipencap->type = nla_get_u16(data[IFLA_GRE_ENCAP_TYPE]); in ip6gre_netlink_encap_parms()
1978 ipencap->flags = nla_get_u16(data[IFLA_GRE_ENCAP_FLAGS]); in ip6gre_netlink_encap_parms()
1983 ipencap->sport = nla_get_be16(data[IFLA_GRE_ENCAP_SPORT]); in ip6gre_netlink_encap_parms()
1988 ipencap->dport = nla_get_be16(data[IFLA_GRE_ENCAP_DPORT]); in ip6gre_netlink_encap_parms()
1999 struct ip_tunnel_encap ipencap; in ip6gre_newlink_common() local
2004 if (ip6gre_netlink_encap_parms(data, &ipencap)) { in ip6gre_newlink_common()
2005 int err = ip6_tnl_encap_setup(nt, &ipencap); in ip6gre_newlink_common()
2065 struct ip_tunnel_encap ipencap; in ip6gre_changelink_common() local
2070 if (ip6gre_netlink_encap_parms(data, &ipencap)) { in ip6gre_changelink_common()
2071 int err = ip6_tnl_encap_setup(nt, &ipencap); in ip6gre_changelink_common()