Home
last modified time | relevance | path

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

/third_party/libnl/lib/route/link/
Dipgre.c76 struct ipgre_info *ipgre; in ipgre_alloc() local
79 memset(link->l_info, 0, sizeof(*ipgre)); in ipgre_alloc()
81 ipgre = calloc(1, sizeof(*ipgre)); in ipgre_alloc()
82 if (!ipgre) in ipgre_alloc()
85 link->l_info = ipgre; in ipgre_alloc()
95 struct ipgre_info *ipgre; in ipgre_parse() local
108 ipgre = link->l_info; in ipgre_parse()
111 ipgre->link = nla_get_u32(tb[IFLA_GRE_LINK]); in ipgre_parse()
112 ipgre->ipgre_mask |= IPGRE_ATTR_LINK; in ipgre_parse()
116 ipgre->iflags = nla_get_u16(tb[IFLA_GRE_IFLAGS]); in ipgre_parse()
[all …]
/third_party/libnl/tests/
D.gitignore13 /test-create-ipgre
/third_party/libnl/
DBUILD.gn181 "lib/route/link/ipgre.c",
DMakefile.am155 include/netlink/route/link/ipgre.h \
/third_party/libnl/doc/
Droute.txt1024 .Example: Add a ipgre tunnel device
1030 /* allocate new link object of type ipgre */
1034 /* set ipgre tunnel name */
1035 if ((err = rtnl_link_set_name(link, "ipgre-tun")) < 0)