Home
last modified time | relevance | path

Searched refs:route_seq (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dipsec.c426 static int tunnel_set_route(int route_sock, uint32_t *route_seq, char *veth, in tunnel_set_route() argument
429 if (ip4_addr_set(route_sock, (*route_seq)++, "lo", in tunnel_set_route()
435 if (ip4_route_set(route_sock, (*route_seq)++, veth, tunsrc, tundst)) { in tunnel_set_route()
449 uint32_t route_seq; in init_child() local
454 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) { in init_child()
459 if (ip4_addr_set(route_sock, route_seq++, veth, intsrc, PREFIX_LEN)) { in init_child()
464 if (link_set_up(route_sock, route_seq++, veth)) { in init_child()
469 if (tunnel_set_route(route_sock, &route_seq, veth, tunsrc, tundst)) { in init_child()
2123 uint32_t route_seq; in main() local
2162 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUT in main()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dipsec.c464 static int tunnel_set_route(int route_sock, uint32_t *route_seq, char *veth, in tunnel_set_route() argument
467 if (ip4_addr_set(route_sock, (*route_seq)++, "lo", in tunnel_set_route()
473 if (ip4_route_set(route_sock, (*route_seq)++, veth, tunsrc, tundst)) { in tunnel_set_route()
487 uint32_t route_seq; in init_child() local
492 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) { in init_child()
497 if (ip4_addr_set(route_sock, route_seq++, veth, intsrc, PREFIX_LEN)) { in init_child()
502 if (link_set_up(route_sock, route_seq++, veth)) { in init_child()
507 if (tunnel_set_route(route_sock, &route_seq, veth, tunsrc, tundst)) { in init_child()
2269 uint32_t route_seq; in main() local
2308 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUT in main()
[all...]

Completed in 7 milliseconds