Searched refs:ipencap (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/net/ipv4/ |
H A D | ipip.c | 436 struct ip_tunnel_encap ipencap; in ipip_newlink() local 439 if (ip_tunnel_netlink_encap_parms(data, &ipencap)) { in ipip_newlink() 440 int err = ip_tunnel_encap_setup(t, &ipencap); in ipip_newlink() 456 struct ip_tunnel_encap ipencap; in ipip_changelink() local 460 if (ip_tunnel_netlink_encap_parms(data, &ipencap)) { in ipip_changelink() 461 int err = ip_tunnel_encap_setup(t, &ipencap); in ipip_changelink()
|
H A D | ip_gre.c | 1247 struct ip_tunnel_encap *ipencap) in ipgre_netlink_encap_parms() argument 1251 memset(ipencap, 0, sizeof(*ipencap)); in ipgre_netlink_encap_parms() 1258 ipencap->type = nla_get_u16(data[IFLA_GRE_ENCAP_TYPE]); in ipgre_netlink_encap_parms() 1263 ipencap->flags = nla_get_u16(data[IFLA_GRE_ENCAP_FLAGS]); in ipgre_netlink_encap_parms() 1268 ipencap->sport = nla_get_be16(data[IFLA_GRE_ENCAP_SPORT]); in ipgre_netlink_encap_parms() 1273 ipencap->dport = nla_get_be16(data[IFLA_GRE_ENCAP_DPORT]); in ipgre_netlink_encap_parms() 1346 struct ip_tunnel_encap ipencap; in ipgre_newlink_encap_setup() local 1348 if (ipgre_netlink_encap_parms(data, &ipencap)) { in ipgre_newlink_encap_setup() 1350 int err = ip_tunnel_encap_setup(t, &ipencap); in ipgre_newlink_encap_setup()
|
H A D | ip_tunnel.c | 489 struct ip_tunnel_encap *ipencap) in ip_tunnel_encap_setup() argument 495 hlen = ip_encap_hlen(ipencap); in ip_tunnel_encap_setup() 499 t->encap.type = ipencap->type; in ip_tunnel_encap_setup() 500 t->encap.sport = ipencap->sport; in ip_tunnel_encap_setup() 501 t->encap.dport = ipencap->dport; in ip_tunnel_encap_setup() 502 t->encap.flags = ipencap->flags; in ip_tunnel_encap_setup()
|
/openbmc/linux/net/ipv6/ |
H A D | ip6_gre.c | 1948 struct ip_tunnel_encap *ipencap) in ip6gre_netlink_encap_parms() argument 1952 memset(ipencap, 0, sizeof(*ipencap)); in ip6gre_netlink_encap_parms() 1959 ipencap->type = nla_get_u16(data[IFLA_GRE_ENCAP_TYPE]); in ip6gre_netlink_encap_parms() 1964 ipencap->flags = nla_get_u16(data[IFLA_GRE_ENCAP_FLAGS]); in ip6gre_netlink_encap_parms() 1969 ipencap->sport = nla_get_be16(data[IFLA_GRE_ENCAP_SPORT]); in ip6gre_netlink_encap_parms() 1985 struct ip_tunnel_encap ipencap; in ip6gre_newlink_common() local 1990 if (ip6gre_netlink_encap_parms(data, &ipencap)) { in ip6gre_newlink_common() 1991 int err = ip6_tnl_encap_setup(nt, &ipencap); in ip6gre_newlink_common() 2051 struct ip_tunnel_encap ipencap; in ip6gre_changelink_common() local 2056 if (ip6gre_netlink_encap_parms(data, &ipencap)) { in ip6gre_changelink_common() [all …]
|
H A D | ip6_tunnel.c | 1797 struct ip_tunnel_encap *ipencap) in ip6_tnl_encap_setup() argument 1803 hlen = ip6_encap_hlen(ipencap); in ip6_tnl_encap_setup() 1807 t->encap.type = ipencap->type; in ip6_tnl_encap_setup() 1808 t->encap.sport = ipencap->sport; in ip6_tnl_encap_setup() 1809 t->encap.dport = ipencap->dport; in ip6_tnl_encap_setup() 1810 t->encap.flags = ipencap->flags; in ip6_tnl_encap_setup() 2014 struct ip_tunnel_encap ipencap; in ip6_tnl_newlink() local 2020 if (ip_tunnel_netlink_encap_parms(data, &ipencap)) { in ip6_tnl_newlink() 2021 err = ip6_tnl_encap_setup(nt, &ipencap); in ip6_tnl_newlink() 2052 struct ip_tunnel_encap ipencap; in ip6_tnl_changelink() local [all …]
|
H A D | sit.c | 1560 struct ip_tunnel_encap ipencap; in ipip6_newlink() local 1568 if (ip_tunnel_netlink_encap_parms(data, &ipencap)) { in ipip6_newlink() 1569 err = ip_tunnel_encap_setup(nt, &ipencap); in ipip6_newlink() 1608 struct ip_tunnel_encap ipencap; in ipip6_changelink() local 1620 if (ip_tunnel_netlink_encap_parms(data, &ipencap)) { in ipip6_changelink() 1621 err = ip_tunnel_encap_setup(t, &ipencap); in ipip6_changelink()
|
/openbmc/linux/include/net/ |
H A D | ip6_tunnel.h | 87 struct ip_tunnel_encap *ipencap);
|
H A D | ip_tunnels.h | 341 struct ip_tunnel_encap *ipencap);
|