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

/freebsd-11-stable/contrib/ntp/sntp/
H A Dmain.c33 SOCKET sock6 = -1; /* Socket for IPv6 */ variable
337 if (-1 == sock6 && ipv6_works) {
338 sock6 = socket(PF_INET6, SOCK_DGRAM, 0);
339 if (-1 == sock6 && ipv6_works) {
345 make_socket_nonblocking(sock6);
353 if (-1 == bind(sock6, &name.sa,
355 msyslog(LOG_ERR, "open_sockets: bind(sock6) failed: %m");
359 ev_sock6 = event_new(base, sock6,
364 "open_sockets: event_new(base, sock6) failed!");
496 sock = sock6;
[all...]
/freebsd-11-stable/contrib/wpa/src/radius/
H A Dradius_client.c251 int sock, int sock6, int auth);
1064 int sock, int sock6, int auth)
1148 sel_sock = sock6;
1157 "RADIUS: No server socket available (af=%d sock=%d sock6=%d auth=%d",
1158 nserv->addr.af, sock, sock6, auth);
1061 radius_change_server(struct radius_client_data *radius, struct hostapd_radius_server *nserv, struct hostapd_radius_server *oserv, int sock, int sock6, int auth) argument

Completed in 67 milliseconds