Home
last modified time | relevance | path

Searched refs:ipvti (Results 1 – 4 of 4) sorted by relevance

/external/libnl/lib/route/link/
Dipvti.c61 struct ipvti_info *ipvti; in ipvti_alloc() local
64 memset(link->l_info, 0, sizeof(*ipvti)); in ipvti_alloc()
66 ipvti = calloc(1, sizeof(*ipvti)); in ipvti_alloc()
67 if (!ipvti) in ipvti_alloc()
70 link->l_info = ipvti; in ipvti_alloc()
80 struct ipvti_info *ipvti; in ipvti_parse() local
93 ipvti = link->l_info; in ipvti_parse()
96 ipvti->link = nla_get_u32(tb[IFLA_VTI_LINK]); in ipvti_parse()
97 ipvti->ipvti_mask |= IPVTI_ATTR_LINK; in ipvti_parse()
101 ipvti->ikey = nla_get_u32(tb[IFLA_VTI_IKEY]); in ipvti_parse()
[all …]
/external/libnl/tests/
D.gitignore17 /test-create-ipvti
/external/libnl/
DMakefile.am158 include/netlink/route/link/ipvti.h \
/external/libnl/doc/
Droute.txt1166 .Example: Add a ipvti tunnel device
1172 /* allocate new link object of type ipvti */
1176 /* set ipvti tunnel name */
1177 if ((err = rtnl_link_set_name(link, "ipvti-tun")) < 0)