Searched refs:v4_sock (Results 1 – 1 of 1) sorted by relevance
83 static int v4_sock = -1; variable121 nlog(LOG_DEBUG, "v4 routing socket %d", v4_sock); in routing_events_v4()125 n = read(v4_sock, &buffer, sizeof (buffer)); in routing_events_v4()130 "%d: %m", v4_sock); in routing_events_v4()152 n, v4_sock); in routing_events_v4()358 v4_sock = socket(AF_ROUTE, SOCK_RAW, AF_INET); in nwamd_routing_events_init()359 if (v4_sock == -1) in nwamd_routing_events_init()418 if ((rlen = write(af == AF_INET ? v4_sock : v6_sock, in nwamd_add_route()