Lines Matching refs:route_seq
465 static int tunnel_set_route(int route_sock, uint32_t *route_seq, char *veth, in tunnel_set_route() argument
468 if (ip4_addr_set(route_sock, (*route_seq)++, "lo", in tunnel_set_route()
474 if (ip4_route_set(route_sock, (*route_seq)++, veth, tunsrc, tundst)) { in tunnel_set_route()
488 uint32_t route_seq; in init_child() local
493 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) { in init_child()
498 if (ip4_addr_set(route_sock, route_seq++, veth, intsrc, PREFIX_LEN)) { in init_child()
503 if (link_set_up(route_sock, route_seq++, veth)) { in init_child()
508 if (tunnel_set_route(route_sock, &route_seq, veth, tunsrc, tundst)) { in init_child()
2270 uint32_t route_seq; in main() local
2309 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) in main()
2317 if (veth_add(route_sock, route_seq++, veth, nsfd_childa, veth, nsfd_childb)) { in main()