Searched refs:rpktl (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/contrib/ntp/sntp/tests/
H A DpacketHandling.c212 int rpktl; local
216 rpktl = SERVER_UNUSEABLE;
217 TEST_ASSERT_EQUAL(-1, handle_pkt(rpktl, &rpkt, &host, ""));
226 int rpktl; local
230 rpktl = PACKET_UNUSEABLE;
231 TEST_ASSERT_EQUAL(1, handle_pkt(rpktl, &rpkt, &host, ""));
240 int rpktl; local
244 rpktl = SERVER_AUTH_FAIL;
245 TEST_ASSERT_EQUAL(1, handle_pkt(rpktl, &rpkt, &host, ""));
256 int rpktl; local
281 int rpktl; local
295 int rpktl; local
[all...]
/freebsd-11-stable/contrib/ntp/sntp/
H A Dmain.h23 int handle_pkt(int rpktl, struct pkt *rpkt, sockaddr_u *host,
25 void offset_calculation(struct pkt *rpkt, int rpktl,
H A Dmain.c854 int rpktl; local
876 rpktl = recvdata(fd, &sender, &rbuf, sizeof(rbuf));
877 if (rpktl < 0) {
902 rpktl = process_pkt(&r_pkt, &sender, rpktl, MODE_SERVER,
905 TRACE(2, ("sock_cb: process_pkt returned %d\n", rpktl));
915 rc = handle_pkt(rpktl, &r_pkt, &spkt->addr, spkt->dctx->name);
1163 int rpktl,
1192 if (rpktl > 0)
1195 sw_case = rpktl;
1162 handle_pkt( int rpktl, struct pkt * rpkt, sockaddr_u * host, const char * hostname ) argument
1316 offset_calculation( struct pkt *rpkt, int rpktl, struct timeval *tv_dst, double *offset, double *precision, double *synch_distance ) argument
[all...]

Completed in 102 milliseconds