Home
last modified time | relevance | path

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

/Linux-v6.6/net/ipv4/
Dipip.c397 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 },
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-v6.6/include/uapi/linux/
Dif_tunnel.h68 IFLA_IPTUN_PROTO, enumerator
/Linux-v6.6/net/ipv6/
Dip6_tunnel.c1939 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 },
Dsit.c1486 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 },