Searched refs:ipgre (Results 1 – 5 of 5) sorted by relevance
76 struct ipgre_info *ipgre; in ipgre_alloc() local79 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() local108 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 …]
13 /test-create-ipgre
181 "lib/route/link/ipgre.c",
155 include/netlink/route/link/ipgre.h \
1024 .Example: Add a ipgre tunnel device1030 /* allocate new link object of type ipgre */1034 /* set ipgre tunnel name */1035 if ((err = rtnl_link_set_name(link, "ipgre-tun")) < 0)