Searched refs:SET_PORT (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/ntp/sntp/tests/ |
H A D | utilities.c | 30 SET_PORT(&s, 123); in CreateSockaddr4()
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_net.h | 74 #define SET_PORT(psau, port) (NSRCPORT(psau) = htons(port)) macro
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_request.c | 1448 SET_PORT(&peeraddr, NTP_PORT); in do_unconf() 2036 SET_PORT(&peeraddr, 123); in reset_peer() 2272 SET_PORT(&laddr, NTP_PORT); in do_setclr_trap() 2309 SET_PORT(&laddr, TRAPPORT); in do_setclr_trap() 2514 SET_PORT(&addr, NTP_PORT); in get_clock_info() 2594 SET_PORT(&addr, NTP_PORT); in set_clock_fudge() 2661 SET_PORT(&addr, NTP_PORT); in get_clkbug_info()
|
H A D | ntp_io.c | 1004 SET_PORT(&wildaddr, port); in create_wildcards() 1049 SET_PORT(&wildaddr, port); in create_wildcards() 1072 SET_PORT(&wildif->bcast, port); in create_wildcards() 1320 SET_PORT(&itf->sin, port); in convert_isc_if() 1321 SET_PORT(&itf->mask, port); in convert_isc_if() 1322 SET_PORT(&itf->bcast, port); in convert_isc_if() 2808 SET_PORT(&ep->sin, NTP_PORT);
|
H A D | ntpsim.c | 201 SET_PORT(&loopback_interface->sin, NTP_PORT); in init_sim_io()
|
H A D | ntp_config.c | 3858 SET_PORT(&peeraddr, port); 4427 SET_PORT(&peeraddr, NTP_PORT); in config_peers() 4503 SET_PORT(&peeraddr, NTP_PORT); in config_peers() 5624 SET_PORT(addr, NTP_PORT); in ntp_rlimit()
|
/freebsd/usr.bin/sockstat/ |
H A D | sockstat.c | 114 #define SET_PORT(p) do { ports[p / INT_BIT] |= 1 << (p % INT_BIT); } while (0) macro 310 SET_PORT(port); in parse_ports() 329 SET_PORT(port); in parse_ports()
|
/freebsd/contrib/ntp/sntp/ |
H A D | main.c | 317 SET_PORT(&name, (HAVE_OPT(USERESERVEDPORT) ? 123 : 0)); in open_sockets() 352 SET_PORT(&name, (HAVE_OPT(USERESERVEDPORT) ? 123 : 0)); in open_sockets()
|
/freebsd/sys/dev/mpt/mpilib/ |
H A D | mpi_targ.h | 621 #define SET_PORT(t, p) ((t) = ((t) & ~TARGET_MODE_REPLY_PORT_MASK) | \ macro
|
/freebsd/contrib/ntp/ntpq/ |
H A D | ntpq-subs.c | 3864 SET_PORT(&pvdc->v.sau, in collect_display_vdc()
|