Searched refs:ipvti (Results 1 – 4 of 4) sorted by relevance
61 struct ipvti_info *ipvti; in ipvti_alloc() local64 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() local93 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 …]
17 /test-create-ipvti
158 include/netlink/route/link/ipvti.h \
1166 .Example: Add a ipvti tunnel device1172 /* allocate new link object of type ipvti */1176 /* set ipvti tunnel name */1177 if ((err = rtnl_link_set_name(link, "ipvti-tun")) < 0)