Home
last modified time | relevance | path

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

/dports/net/ntpsec/ntpsec-NTPsec_1_2_1/tests/common/
H A Dsockaddrtest.c17 memcmp(&SOCK_ADDR4(expected), &SOCK_ADDR4(actual), in IsEqualS()
21 …failed, expected: %u (%s) but was: %u (%s)\n", SOCK_ADDR4(expected).s_addr, socktoa(expected), SOC… in IsEqualS()
47 memcmp(&SOCK_ADDR4(expected), &SOCK_ADDR4(actual), in IsDiffS()
49 printf("IPv4 address matches: %u (%s)\n", SOCK_ADDR4(expected).s_addr, socktoa(expected)); in IsDiffS()
/dports/net/ntpsec/ntpsec-NTPsec_1_2_1/include/
H A Dntp_net.h26 #define SOCK_ADDR4(psau) ((psau)->sa4.sin_addr) macro
31 #define PSOCK_ADDR4(psau) (&SOCK_ADDR4(psau))
41 #define NSRCADR(psau) (SOCK_ADDR4(psau).s_addr)
42 #define SET_NSRCADR(psau, a) (SOCK_ADDR4(psau).s_addr - (a))
/dports/net/ntp/ntp-4.2.8p15/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)
/dports/net/ntpsec/ntpsec-NTPsec_1_2_1/libntp/
H A Dsocktoa.c136 pch = (const void *)&SOCK_ADDR4(addr); in sock_hash()
137 len = sizeof(SOCK_ADDR4(addr)); in sock_hash()
/dports/net/ntp/ntp-4.2.8p15/libntp/
H A Dsocktoa.c132 pch = (const void *)&SOCK_ADDR4(addr); in sock_hash()
133 len = sizeof(SOCK_ADDR4(addr)); in sock_hash()
/dports/net/ntp/ntp-4.2.8p15/ntpd/
H A Dntp_request.c2722 ifs->unaddr.addr = SOCK_ADDR4(&ep->sin); in fill_info_if_stats()
2723 ifs->unbcast.addr = SOCK_ADDR4(&ep->bcast); in fill_info_if_stats()
2724 ifs->unmask.addr = SOCK_ADDR4(&ep->mask); in fill_info_if_stats()
H A Dntp_io.c2463 mreq.imr_multiaddr = SOCK_ADDR4(maddr); in socket_multicast_enable()
2549 mreq.imr_multiaddr = SOCK_ADDR4(maddr); in socket_multicast_disable()
2550 mreq.imr_interface = SOCK_ADDR4(&iface->sin); in socket_multicast_disable()
H A Dntp_control.c3680 EVP_DigestUpdate(ctx, &SOCK_ADDR4(addr), in derive_nonce()
3681 sizeof(SOCK_ADDR4(addr))); in derive_nonce()
/dports/net/ntpsec/ntpsec-NTPsec_1_2_1/ntpd/
H A Dntp_control.c2870 EVP_DigestUpdate(ctx, &SOCK_ADDR4(addr), in derive_nonce()
2871 sizeof(SOCK_ADDR4(addr))); in derive_nonce()