Home
last modified time | relevance | path

Searched refs:route_sock (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/net/
H A Dipsec.c467 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()
486 int route_sock = -1, ret = -1; in init_child() local
492 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) { 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()
514 close(route_sock); in init_child()
2267 int route_sock = -1, ret = KSFT_SKIP; in main() local
2308 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) in main()
2317 close(route_sock); in main()
[all …]