Searched refs:ipencap (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/net/ipv4/ |
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()
|
D | ip_gre.c | 1242 struct ip_tunnel_encap *ipencap) in ipgre_netlink_encap_parms() argument 1246 memset(ipencap, 0, sizeof(*ipencap)); in ipgre_netlink_encap_parms() 1253 ipencap->type = nla_get_u16(data[IFLA_GRE_ENCAP_TYPE]); in ipgre_netlink_encap_parms() 1258 ipencap->flags = nla_get_u16(data[IFLA_GRE_ENCAP_FLAGS]); in ipgre_netlink_encap_parms() 1263 ipencap->sport = nla_get_be16(data[IFLA_GRE_ENCAP_SPORT]); in ipgre_netlink_encap_parms() 1268 ipencap->dport = nla_get_be16(data[IFLA_GRE_ENCAP_DPORT]); in ipgre_netlink_encap_parms() 1341 struct ip_tunnel_encap ipencap; in ipgre_newlink_encap_setup() local 1343 if (ipgre_netlink_encap_parms(data, &ipencap)) { in ipgre_newlink_encap_setup() 1345 int err = ip_tunnel_encap_setup(t, &ipencap); in ipgre_newlink_encap_setup()
|
D | ip_tunnel.c | 476 struct ip_tunnel_encap *ipencap) in ip_tunnel_encap_setup() argument 482 hlen = ip_encap_hlen(ipencap); in ip_tunnel_encap_setup() 486 t->encap.type = ipencap->type; in ip_tunnel_encap_setup() 487 t->encap.sport = ipencap->sport; in ip_tunnel_encap_setup() 488 t->encap.dport = ipencap->dport; in ip_tunnel_encap_setup() 489 t->encap.flags = ipencap->flags; in ip_tunnel_encap_setup()
|
/linux-6.6.21/net/ipv6/ |
D | ip6_gre.c | 1943 struct ip_tunnel_encap *ipencap) in ip6gre_netlink_encap_parms() argument 1947 memset(ipencap, 0, sizeof(*ipencap)); in ip6gre_netlink_encap_parms() 1954 ipencap->type = nla_get_u16(data[IFLA_GRE_ENCAP_TYPE]); in ip6gre_netlink_encap_parms() 1959 ipencap->flags = nla_get_u16(data[IFLA_GRE_ENCAP_FLAGS]); in ip6gre_netlink_encap_parms() 1964 ipencap->sport = nla_get_be16(data[IFLA_GRE_ENCAP_SPORT]); in ip6gre_netlink_encap_parms() 1969 ipencap->dport = nla_get_be16(data[IFLA_GRE_ENCAP_DPORT]); in ip6gre_netlink_encap_parms() 1980 struct ip_tunnel_encap ipencap; in ip6gre_newlink_common() local 1985 if (ip6gre_netlink_encap_parms(data, &ipencap)) { in ip6gre_newlink_common() 1986 int err = ip6_tnl_encap_setup(nt, &ipencap); in ip6gre_newlink_common() 2046 struct ip_tunnel_encap ipencap; in ip6gre_changelink_common() local [all …]
|
D | ip6_tunnel.c | 1794 struct ip_tunnel_encap *ipencap) in ip6_tnl_encap_setup() argument 1800 hlen = ip6_encap_hlen(ipencap); in ip6_tnl_encap_setup() 1804 t->encap.type = ipencap->type; in ip6_tnl_encap_setup() 1805 t->encap.sport = ipencap->sport; in ip6_tnl_encap_setup() 1806 t->encap.dport = ipencap->dport; in ip6_tnl_encap_setup() 1807 t->encap.flags = ipencap->flags; in ip6_tnl_encap_setup() 2011 struct ip_tunnel_encap ipencap; in ip6_tnl_newlink() local 2017 if (ip_tunnel_netlink_encap_parms(data, &ipencap)) { in ip6_tnl_newlink() 2018 err = ip6_tnl_encap_setup(nt, &ipencap); in ip6_tnl_newlink() 2049 struct ip_tunnel_encap ipencap; in ip6_tnl_changelink() local [all …]
|
D | sit.c | 1559 struct ip_tunnel_encap ipencap; in ipip6_newlink() local 1567 if (ip_tunnel_netlink_encap_parms(data, &ipencap)) { in ipip6_newlink() 1568 err = ip_tunnel_encap_setup(nt, &ipencap); in ipip6_newlink() 1607 struct ip_tunnel_encap ipencap; in ipip6_changelink() local 1619 if (ip_tunnel_netlink_encap_parms(data, &ipencap)) { in ipip6_changelink() 1620 err = ip_tunnel_encap_setup(t, &ipencap); in ipip6_changelink()
|
/linux-6.6.21/include/net/ |
D | ip6_tunnel.h | 87 struct ip_tunnel_encap *ipencap);
|
D | ip_tunnels.h | 341 struct ip_tunnel_encap *ipencap);
|