Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/include/
H A Dntp_request.h140 u_short mbz_itemsize; /* item size */ member
184 u_short mbz_itemsize; /* item size */ member
232 #define INFO_MBZ(mbz_itemsize) ((ntohs(mbz_itemsize)>>12)&0xf) argument
233 #define INFO_ITEMSIZE(mbz_itemsize) ((u_short)(ntohs(mbz_itemsize)&0xfff)) argument
/freebsd/contrib/ntp/ntpd/
H A Dntp_request.c265 rpkt.mbz_itemsize = MBZ_ITEMSIZE(0); in req_ack()
295 rpkt.mbz_itemsize = MBZ_ITEMSIZE(structsize); in prepare_pkt()
450 || (++ec, INFO_MBZ(inpkt->mbz_itemsize) != 0) in process_private()
506 temp_size = INFO_ITEMSIZE(inpkt->mbz_itemsize); in process_private()
548 (INFO_ITEMSIZE(inpkt->mbz_itemsize) * in process_private()
567 + INFO_ITEMSIZE(inpkt->mbz_itemsize) * in process_private()
816 item_sz = INFO_ITEMSIZE(inpkt->mbz_itemsize); in peer_info()
958 item_sz = INFO_ITEMSIZE(inpkt->mbz_itemsize); in peer_stats()
1305 item_sz = INFO_ITEMSIZE(inpkt->mbz_itemsize); in do_conf()
1425 item_sz = INFO_ITEMSIZE(inpkt->mbz_itemsize); in do_unconf()
[all...]
/freebsd/contrib/ntp/ntpdc/
H A Dlayout.std11 offsetof(mbz_itemsize) = 6
32 offsetof(mbz_itemsize) = 6
H A Dntpdc.c747 if (INFO_MBZ(rpkt.mbz_itemsize) != 0) { in getresponse()
780 size = INFO_ITEMSIZE(rpkt.mbz_itemsize); in getresponse()
918 qpkt.mbz_itemsize = MBZ_ITEMSIZE(qsize); in sendrequest()
921 qpkt.mbz_itemsize = MBZ_ITEMSIZE(qsize); /* allow for optional first item */ in sendrequest()
/freebsd/usr.sbin/ntp/ntpdc/
H A Dnl.c22 (int) offsetof(struct req_pkt, mbz_itemsize));
64 (int) offsetof(struct resp_pkt, mbz_itemsize));