Home
last modified time | relevance | path

Searched refs:MODE_CLIENT (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/tcpdump/
H A Dprint-ntp.c137 #define MODE_CLIENT 3 /* client */ macro
159 { MODE_CLIENT, "Client" },
436 case MODE_CLIENT: in ntp_print()
/freebsd/contrib/ntp/sntp/tests/
H A DpacketProcessing.c288 MODE_CLIENT); in test_ServerVersionTooOld()
306 MODE_CLIENT); in test_ServerVersionTooNew()
324 MODE_CLIENT); in test_NonWantedMode()
326 /* The packet has a mode of MODE_CLIENT, but process_pkt expects
H A DpacketHandling.c61 TEST_ASSERT_EQUAL(MODE_CLIENT, PKT_MODE(testpkt.li_vn_mode)); in test_GenerateUnauthenticatedPacket()
108 TEST_ASSERT_EQUAL(MODE_CLIENT, PKT_MODE(testpkt.li_vn_mode)); in test_GenerateAuthenticatedPacket()
/freebsd/contrib/ntp/ntpd/
H A Dntp_proto.c587 poll_update(peer, hpoll, (peer->hmode == MODE_CLIENT));
798 hismode = MODE_CLIENT; in receive()
970 if (hismode == MODE_CLIENT) { in receive()
1499 r4a.ippeerlimit, MODE_CLIENT, hisversion, in receive()
1644 r4a.ippeerlimit, MODE_CLIENT, hisversion, in receive()
2110 case MODE_CLIENT: in receive()
2127 } else if ( L_ISZERO(&peer->aorg) && MODE_CLIENT != hismode in receive()
2376 case MODE_CLIENT: /* client mode */ in receive()
2538 poll_update(peer, peer->hpoll, (peer->hmode == MODE_CLIENT)); in process_packet()
2875 && MODE_CLIENT in clock_update()
[all...]
H A Dntp_peer.c223 * address. MDF_BCLNT associations start out as MODE_CLIENT in findexistingpeer_addr()
600 case MODE_CLIENT: in peer_config()
673 (INT_MCASTIF & dstadr->flags) && MODE_CLIENT == p->hmode) { in set_peerdstadr()
H A Dntpsim.c81 MODE_CLIENT, in create_server_associations()
H A Dntp_config.c4317 return MODE_CLIENT; in peerflag_bits()
4388 if ( MODE_CLIENT == hmode ) { in config_peers()
4435 MODE_CLIENT, in config_peers()
4449 ctx->hmode = MODE_CLIENT; in config_peers()
/freebsd/contrib/ntp/include/
H A Dntp.h431 #define MODE_CLIENT 3 /* client mode */
427 #define MODE_CLIENT global() macro
/freebsd/contrib/ntp/ntpdc/
H A Dntpdc_ops.c479 else if (plist->hmode == MODE_CLIENT) in dopeers()
1286 doconfig(pcmd, fp, MODE_CLIENT, 0); in addserver()
1298 doconfig(pcmd, fp, MODE_CLIENT, 1); in addrefclock()
/freebsd/contrib/ntp/ntpdate/
H A Dntpdate.c694 sys_version, MODE_CLIENT); in transmit()
/freebsd/contrib/ntp/ntpq/
H A Dntpq-subs.c1879 case MODE_CLIENT: in doprintpeers()
/freebsd/contrib/ntp/
H A DCommitLog-4.1.02164 Don't reset peer->cmmd to 0 until the end of MODE_CLIENT.