Searched refs:ipgre (Results 1 – 4 of 4) sorted by relevance
75 struct ipgre_info *ipgre; in ipgre_alloc() local77 ipgre = calloc(1, sizeof(*ipgre)); in ipgre_alloc()78 if (!ipgre) in ipgre_alloc()81 link->l_info = ipgre; in ipgre_alloc()90 struct ipgre_info *ipgre; in ipgre_parse() local103 ipgre = link->l_info; in ipgre_parse()106 ipgre->link = nla_get_u32(tb[IFLA_GRE_LINK]); in ipgre_parse()107 ipgre->ipgre_mask |= IPGRE_ATTR_LINK; in ipgre_parse()111 ipgre->iflags = nla_get_u16(tb[IFLA_GRE_IFLAGS]); in ipgre_parse()112 ipgre->ipgre_mask |= IPGRE_ATTR_IFLAGS; in ipgre_parse()[all …]
11 /test-create-ipgre
57 netlink/route/link/ipgre.h \
967 .Example: Add a ipgre tunnel device977 /* set ipgre tunnel name */978 if ((err = rtnl_link_set_name(link, "ipgre-tun")) < 0)