Searched refs:IFLA_IPTUN_PROTO (Results 1 – 5 of 5) sorted by relevance
/linux/net/ipv4/ |
H A D | ipip.c | 406 if (!data || !data[IFLA_IPTUN_PROTO]) in ipip_tunnel_validate() 409 proto = nla_get_u8(data[IFLA_IPTUN_PROTO]); in ipip_tunnel_validate() 529 nla_put_u8(skb, IFLA_IPTUN_PROTO, parm->iph.protocol) || in ipip_fill_info() 560 [IFLA_IPTUN_PROTO] = { .type = NLA_U8 },
|
H A D | ip_tunnel_core.c | 1165 if (data[IFLA_IPTUN_PROTO]) in ip_tunnel_netlink_parms() 1166 parms->iph.protocol = nla_get_u8(data[IFLA_IPTUN_PROTO]); in ip_tunnel_netlink_parms()
|
/linux/include/uapi/linux/ |
H A D | if_tunnel.h | 68 IFLA_IPTUN_PROTO, enumerator
|
/linux/net/ipv6/ |
H A D | ip6_tunnel.c | 1954 if (!data || !data[IFLA_IPTUN_PROTO]) in ip6_tnl_validate() 1957 proto = nla_get_u8(data[IFLA_IPTUN_PROTO]); in ip6_tnl_validate() 1995 if (data[IFLA_IPTUN_PROTO]) in ip6_tnl_netlink_parms() 1996 parms->proto = nla_get_u8(data[IFLA_IPTUN_PROTO]); in ip6_tnl_netlink_parms() 2130 nla_put_u8(skb, IFLA_IPTUN_PROTO, parm->proto) || in ip6_tnl_fill_info() 2166 [IFLA_IPTUN_PROTO] = { .type = NLA_U8 },
|
H A 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() 1745 [IFLA_IPTUN_PROTO] = { .type = NLA_U8 },
|