Home
last modified time | relevance | path

Searched refs:IFLA_IPTUN_PROTO (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/net/ipv4/
Dipip.c396 if (!data || !data[IFLA_IPTUN_PROTO]) in ipip_tunnel_validate()
399 proto = nla_get_u8(data[IFLA_IPTUN_PROTO]); in ipip_tunnel_validate()
519 nla_put_u8(skb, IFLA_IPTUN_PROTO, parm->iph.protocol) || in ipip_fill_info()
550 [IFLA_IPTUN_PROTO] = { .type = NLA_U8 },
Dip_tunnel_core.c1145 if (data[IFLA_IPTUN_PROTO]) in ip_tunnel_netlink_parms()
1146 parms->iph.protocol = nla_get_u8(data[IFLA_IPTUN_PROTO]); in ip_tunnel_netlink_parms()
/linux-6.1.9/include/uapi/linux/
Dif_tunnel.h68 IFLA_IPTUN_PROTO, enumerator
/linux-6.1.9/net/ipv6/
Dip6_tunnel.c1941 if (!data || !data[IFLA_IPTUN_PROTO]) in ip6_tnl_validate()
1944 proto = nla_get_u8(data[IFLA_IPTUN_PROTO]); in ip6_tnl_validate()
1982 if (data[IFLA_IPTUN_PROTO]) in ip6_tnl_netlink_parms()
1983 parms->proto = nla_get_u8(data[IFLA_IPTUN_PROTO]); in ip6_tnl_netlink_parms()
2117 nla_put_u8(skb, IFLA_IPTUN_PROTO, parm->proto) || in ip6_tnl_fill_info()
2153 [IFLA_IPTUN_PROTO] = { .type = NLA_U8 },
Dsit.c1484 if (!data || !data[IFLA_IPTUN_PROTO]) in ipip6_validate()
1487 proto = nla_get_u8(data[IFLA_IPTUN_PROTO]); in ipip6_validate()
1701 nla_put_u8(skb, IFLA_IPTUN_PROTO, parm->iph.protocol) || in ipip6_fill_info()
1742 [IFLA_IPTUN_PROTO] = { .type = NLA_U8 },