Searched refs:IFLA_IPTUN_PROTO (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/net/ipv4/ |
D | ipip.c | 397 if (!data || !data[IFLA_IPTUN_PROTO]) in ipip_tunnel_validate() 400 proto = nla_get_u8(data[IFLA_IPTUN_PROTO]); in ipip_tunnel_validate() 520 nla_put_u8(skb, IFLA_IPTUN_PROTO, parm->iph.protocol) || in ipip_fill_info() 551 [IFLA_IPTUN_PROTO] = { .type = NLA_U8 },
|
D | ip_tunnel_core.c | 1145 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-v6.6/include/uapi/linux/ |
D | if_tunnel.h | 68 IFLA_IPTUN_PROTO, enumerator
|
/Linux-v6.6/net/ipv6/ |
D | ip6_tunnel.c | 1939 if (!data || !data[IFLA_IPTUN_PROTO]) in ip6_tnl_validate() 1942 proto = nla_get_u8(data[IFLA_IPTUN_PROTO]); in ip6_tnl_validate() 1980 if (data[IFLA_IPTUN_PROTO]) in ip6_tnl_netlink_parms() 1981 parms->proto = nla_get_u8(data[IFLA_IPTUN_PROTO]); in ip6_tnl_netlink_parms() 2115 nla_put_u8(skb, IFLA_IPTUN_PROTO, parm->proto) || in ip6_tnl_fill_info() 2151 [IFLA_IPTUN_PROTO] = { .type = NLA_U8 },
|
D | sit.c | 1486 if (!data || !data[IFLA_IPTUN_PROTO]) in ipip6_validate() 1489 proto = nla_get_u8(data[IFLA_IPTUN_PROTO]); in ipip6_validate() 1703 nla_put_u8(skb, IFLA_IPTUN_PROTO, parm->iph.protocol) || in ipip6_fill_info() 1744 [IFLA_IPTUN_PROTO] = { .type = NLA_U8 },
|