Home
last modified time | relevance | path

Searched refs:ipencap (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/net/ipv4/
Dipip.c435 struct ip_tunnel_encap ipencap; in ipip_newlink() local
438 if (ip_tunnel_netlink_encap_parms(data, &ipencap)) { in ipip_newlink()
439 int err = ip_tunnel_encap_setup(t, &ipencap); in ipip_newlink()
455 struct ip_tunnel_encap ipencap; in ipip_changelink() local
459 if (ip_tunnel_netlink_encap_parms(data, &ipencap)) { in ipip_changelink()
460 int err = ip_tunnel_encap_setup(t, &ipencap); in ipip_changelink()
Dip_gre.c1237 struct ip_tunnel_encap *ipencap) in ipgre_netlink_encap_parms() argument
1241 memset(ipencap, 0, sizeof(*ipencap)); in ipgre_netlink_encap_parms()
1248 ipencap->type = nla_get_u16(data[IFLA_GRE_ENCAP_TYPE]); in ipgre_netlink_encap_parms()
1253 ipencap->flags = nla_get_u16(data[IFLA_GRE_ENCAP_FLAGS]); in ipgre_netlink_encap_parms()
1258 ipencap->sport = nla_get_be16(data[IFLA_GRE_ENCAP_SPORT]); in ipgre_netlink_encap_parms()
1263 ipencap->dport = nla_get_be16(data[IFLA_GRE_ENCAP_DPORT]); in ipgre_netlink_encap_parms()
1336 struct ip_tunnel_encap ipencap; in ipgre_newlink_encap_setup() local
1338 if (ipgre_netlink_encap_parms(data, &ipencap)) { in ipgre_newlink_encap_setup()
1340 int err = ip_tunnel_encap_setup(t, &ipencap); in ipgre_newlink_encap_setup()
Dip_tunnel.c462 struct ip_tunnel_encap *ipencap) in ip_tunnel_encap_setup() argument
468 hlen = ip_encap_hlen(ipencap); in ip_tunnel_encap_setup()
472 t->encap.type = ipencap->type; in ip_tunnel_encap_setup()
473 t->encap.sport = ipencap->sport; in ip_tunnel_encap_setup()
474 t->encap.dport = ipencap->dport; in ip_tunnel_encap_setup()
475 t->encap.flags = ipencap->flags; in ip_tunnel_encap_setup()
/linux-6.1.9/net/ipv6/
Dip6_gre.c1962 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
[all …]
Dip6_tunnel.c1781 struct ip_tunnel_encap *ipencap) in ip6_tnl_encap_setup() argument
1787 hlen = ip6_encap_hlen(ipencap); in ip6_tnl_encap_setup()
1791 t->encap.type = ipencap->type; in ip6_tnl_encap_setup()
1792 t->encap.sport = ipencap->sport; in ip6_tnl_encap_setup()
1793 t->encap.dport = ipencap->dport; in ip6_tnl_encap_setup()
1794 t->encap.flags = ipencap->flags; in ip6_tnl_encap_setup()
1998 struct ip_tunnel_encap ipencap; in ip6_tnl_newlink() local
2004 if (ip_tunnel_netlink_encap_parms(data, &ipencap)) { in ip6_tnl_newlink()
2005 err = ip6_tnl_encap_setup(nt, &ipencap); in ip6_tnl_newlink()
2036 struct ip_tunnel_encap ipencap; in ip6_tnl_changelink() local
[all …]
Dsit.c1557 struct ip_tunnel_encap ipencap; in ipip6_newlink() local
1565 if (ip_tunnel_netlink_encap_parms(data, &ipencap)) { in ipip6_newlink()
1566 err = ip_tunnel_encap_setup(nt, &ipencap); in ipip6_newlink()
1605 struct ip_tunnel_encap ipencap; in ipip6_changelink() local
1617 if (ip_tunnel_netlink_encap_parms(data, &ipencap)) { in ipip6_changelink()
1618 err = ip_tunnel_encap_setup(t, &ipencap); in ipip6_changelink()
/linux-6.1.9/include/net/
Dip6_tunnel.h87 struct ip_tunnel_encap *ipencap);
Dip_tunnels.h332 struct ip_tunnel_encap *ipencap);