Searched refs:v6_sock (Results 1 – 1 of 1) sorted by relevance
84 static int v6_sock = -1; variable236 nlog(LOG_DEBUG, "v6 routing socket %d", v6_sock); in routing_events_v6()241 n = read(v6_sock, &buffer, sizeof (buffer)); in routing_events_v6()246 "%d: %m", v6_sock); in routing_events_v6()268 n, v6_sock); in routing_events_v6()362 v6_sock = socket(AF_ROUTE, SOCK_RAW, AF_INET6); in nwamd_routing_events_init()363 if (v6_sock == -1) in nwamd_routing_events_init()418 if ((rlen = write(af == AF_INET ? v4_sock : v6_sock, in nwamd_add_route()