Lines Matching refs:rtnl_link
41 static int veth_parse(struct rtnl_link *link, struct nlattr *data, in veth_parse()
46 struct rtnl_link *peer = link->l_info; in veth_parse()
84 static void veth_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in veth_dump_line()
88 static void veth_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in veth_dump_details()
90 struct rtnl_link *peer = link->l_info; in veth_dump_details()
100 static int veth_clone(struct rtnl_link *dst, struct rtnl_link *src) in veth_clone()
102 struct rtnl_link *dst_peer = NULL, *src_peer = src->l_info; in veth_clone()
108 dst_peer = (struct rtnl_link *)nl_object_clone(OBJ_CAST(src_peer)); in veth_clone()
118 static int veth_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in veth_put_attrs()
120 struct rtnl_link *peer = link->l_info; in veth_put_attrs()
144 static int veth_alloc(struct rtnl_link *link) in veth_alloc()
146 struct rtnl_link *peer; in veth_alloc()
169 static void veth_free(struct rtnl_link *link) in veth_free()
171 struct rtnl_link *peer = link->l_info; in veth_free()
213 struct rtnl_link *rtnl_link_veth_alloc(void) in rtnl_link_veth_alloc()
215 struct rtnl_link *link; in rtnl_link_veth_alloc()
233 struct rtnl_link *rtnl_link_veth_get_peer(struct rtnl_link *link) in rtnl_link_veth_get_peer()
244 void rtnl_link_veth_release(struct rtnl_link *link) in rtnl_link_veth_release()
256 int rtnl_link_is_veth(struct rtnl_link *link) in rtnl_link_is_veth()
278 struct rtnl_link *link, *peer; in rtnl_link_veth_add()