Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/ntp/include/
H A Dntp_net.h37 #define SOCK_ADDR4(psau) ((psau)->sa4.sin_addr) macro
40 #define PSOCK_ADDR4(psau) (&SOCK_ADDR4(psau))
49 #define NSRCADR(psau) (SOCK_ADDR4(psau).s_addr)
/freebsd-14.2/contrib/ntp/libntp/
H A Dsocktoa.c131 pch = (const void *)&SOCK_ADDR4(addr); in sock_hash()
132 len = sizeof(SOCK_ADDR4(addr)); in sock_hash()
/freebsd-14.2/contrib/ntp/ntpd/
H A Dntp_request.c2731 ifs->unaddr.addr = SOCK_ADDR4(&ep->sin); in fill_info_if_stats()
2732 ifs->unbcast.addr = SOCK_ADDR4(&ep->bcast); in fill_info_if_stats()
2733 ifs->unmask.addr = SOCK_ADDR4(&ep->mask); in fill_info_if_stats()
H A Dntp_io.c2505 mreq.imr_multiaddr = SOCK_ADDR4(maddr); in socket_multicast_enable()
2590 mreq.imr_multiaddr = SOCK_ADDR4(maddr); in socket_multicast_disable()
2591 mreq.imr_interface = SOCK_ADDR4(&iface->sin); in socket_multicast_disable()
H A Dntp_control.c3671 MD5Update(&ctx, &SOCK_ADDR4(addr), sizeof(SOCK_ADDR4(addr))); in derive_nonce()