/freebsd/contrib/ntp/include/ |
H A D | ntp_request.h | 127 u_int32 u32[MODE7_PAYLOAD_LIM / sizeof(u_int32)]; 175 u_int32 u32[RESP_DATA_SIZE / sizeof(u_int32)]; 635 u_int32 flags; 740 u_int32 flags; 835 u_int32 clockadr; 840 u_int32 polls; 843 u_int32 baddata; 856 u_int32 clockadr; 857 u_int32 which; 876 u_int32 clockadr; [all …]
|
H A D | ntp_fp.h | 32 u_int32 Xl_ui; 35 u_int32 l_uf; 165 (v_f) = ((u_int32)(v_f) >> 1) | ((u_int32)(v_i) << 31); \ 171 (v_f) = ((u_int32)(v_f) >> 1) | ((u_int32)(v_i) << 31); \ 177 (v_i) = ((u_int32)(v_i) << 1) | ((u_int32)(v_f) >> 31); \ 183 (v_o) = ((u_int32)(v_o) << 1) | ((u_int32)(v_i) >> 31); \ 211 (((u_int32)(a_i)) > ((u_int32)(b_i)) || \ 215 (((u_int32)(a_i)) > ((u_int32)(b_i)) || \ 220 ((a_i) == (b_i) && (u_int32)(a_f) >= (u_int32)(b_f))) 223 ((u_int32)(a_i) == (u_int32)(b_i) && (u_int32)(a_f) == (u_int32)(b_f)) [all …]
|
H A D | ntp_stdlib.h | 97 extern u_int32 calyearstart (u_int32 ntptime, const time_t *pivot); 98 extern u_int32 calmonthstart (u_int32 ntptime, const time_t *pivot); 99 extern u_int32 calweekstart (u_int32 ntptime, const time_t *pivot); 100 extern u_int32 caldaystart (u_int32 ntptime, const time_t *pivot); 103 extern int clocktime (int, int, int, int, int, u_int32, u_long *, u_int32 *); 114 u_int32 *pkt, size_t length); 118 extern u_int32 addr2refid (sockaddr_u *); 172 extern char * mfptoa (u_int32, u_int32, short); 173 extern char * mfptoms (u_int32, u_int32, short); 180 extern const char * k_st_flags (u_int32); [all …]
|
H A D | ntp_types.h | 86 typedef uint32_t u_int32; typedef 101 # if !defined(HAVE_U_INT32) && !defined(u_int32) 102 typedef unsigned u_int32; typedef 118 # if !defined(HAVE_U_INT32) && !defined(u_int32) 119 typedef unsigned long u_int32; typedef 191 int32 hi; u_int32 lo; 194 u_int32 hi; u_int32 lo; 204 u_int32 lo; int32 hi; 207 u_int32 lo; u_int32 hi; 226 typedef u_int32 keyid_t; /* cryptographic key ID */ [all …]
|
H A D | ntp.h | 181 u_int32 ifnum; /* endpt instance count */ 188 u_int32 flags; /* INT_ flags */ 281 u_int32 ttl; /* ttl/refclock mode */ 304 u_int32 refid; /* remote reference ID */ 313 u_int32 opcode; /* last request opcode */ 315 u_int32 crypto; /* peer status word */ 557 u_int32 refid; /* reference id */ 595 u_int32 exten[(NTP_MAXEXTEN + MAX_MAC_LEN) / sizeof(u_int32)]; 597 u_int32 exten[(MAX_MAC_LEN) / sizeof(u_int32)]; 861 u_int32 mflags; /* match flags */ [all …]
|
H A D | ntp_crypto.h | 133 u_int32 vallen; /* value length */ 135 u_int32 siglen; /* signature length */ 144 u_int32 opcode; /* opcode */ 145 u_int32 associd; /* association ID */ 146 u_int32 tstamp; /* timestamp */ 147 u_int32 fstamp; /* filestamp */ 148 u_int32 vallen; /* value length */ 149 u_int32 pkt[1]; /* start of value field */
|
H A D | ntp_refclock.h | 70 u_int32 polls; /* transmit polls */ 71 u_int32 noresponse; /* no response to poll */ 72 u_int32 badformat; /* bad format timecode received */ 73 u_int32 baddata; /* invalid data timecode received */ 74 u_int32 timereset; /* driver resets */ 80 u_int32 fudgeval2; /* configure fudge value2 */ 120 u_int32 stimes; /* times format sign array */ 121 u_int32 values[NCLKBUGVALUES]; /* real values */ 178 u_int32 refid; /* reference identifier */
|
H A D | ntp_psl.h | 13 u_int32 sub; 14 u_int32 qty; 15 u_int32 msk;
|
H A D | ntpd.h | 123 extern endpt * getinterface (sockaddr_u *, u_int32); 163 extern const char * iflags_str(u_int32 iflags); 197 u_int, u_char, u_int32, 203 u_int, u_int32, 284 u_int32 expire); 286 u_int32 lifetime); 326 u_int32 refid, int len, u_char *extra); 327 extern void check_leap_file (int is_daily_check, u_int32 ntptime, const time_t * systime); 522 extern u_int32 sys_refid; /* reference id */ 574 extern u_int32 conf_file_sum; /* Simple sum of characters */
|
H A D | timevalops.h | 31 extern const u_int32 ustotslo[]; 32 extern const u_int32 ustotsmid[]; 33 extern const u_int32 ustotshi[]; 41 ((tsf) = (u_int32) \ 51 extern const u_int32 tstouslo[256]; 52 extern const u_int32 tstousmid[256]; 53 extern const u_int32 tstoushi[128];
|
/freebsd/contrib/ntp/libntp/ |
H A D | calyearstart.c | 22 u_int32 23 calyearstart(u_int32 ntptime, const time_t *pivot) in calyearstart() 34 return (u_int32)(ndays * SECSPERDAY); in calyearstart() 41 u_int32 42 calmonthstart(u_int32 ntptime, const time_t *pivot) in calmonthstart() 53 return (u_int32)(ndays * SECSPERDAY); in calmonthstart() 60 u_int32 61 calweekstart(u_int32 ntptime, const time_t *pivot) in calweekstart() 72 return (u_int32)(ndays * SECSPERDAY); in calweekstart() 78 u_int32 [all …]
|
H A D | clocktime.c | 31 static int32 ntp_to_year(u_int32); 32 static u_int32 year_to_ntp(int32); 58 u_int32 rec_ui , /* pivot value */ in clocktime() 60 u_int32 *ts_ui ) /* effective time stamp */ in clocktime() 62 u_int32 ystt[3]; /* year start */ in clocktime() 63 u_int32 test[3]; /* result time stamp */ in clocktime() 64 u_int32 diff[3]; /* abs difference to receive */ in clocktime() 84 test[0] = (u_int32)(*yearstart) + tmp; in clocktime() 131 u_int32 ntp) in ntp_to_year() 142 static u_int32 [all …]
|
H A D | timevalops.c | 24 const u_int32 ustotslo[256] = { 91 const u_int32 ustotsmid[256] = { 158 const u_int32 ustotshi[16] = { 174 const u_int32 tstoushi[256] = { 241 const u_int32 tstousmid[256] = { 276 const u_int32 tstouslo[128] = {
|
H A D | dolfptoa.c | 12 u_int32 fpi, in dolfptoa() 13 u_int32 fpv, in dolfptoa() 43 u_int32 digit; in dolfptoa() 69 u_int32 digit, tmph, tmpl; in dolfptoa() 139 u_int32 fpi, in mfptoa() 140 u_int32 fpf, in mfptoa() 157 u_int32 fpi, in mfptoms() 158 u_int32 fpf, in mfptoms()
|
H A D | numtoa.c | 19 u_int32 num in numtoa() 22 register u_int32 netnum; in numtoa() 43 u_int32 refid, in refid_str()
|
H A D | a_md5encrypt.c | 200 u_int32 * pkt, /* packet pointer */ in MD5authencrypt() 230 u_int32 * pkt, /* packet pointer */ in MD5authdecrypt() 269 u_int32 275 u_int32 addr_refid; in addr2refid()
|
H A D | prettydate.c | 97 u_int32 hi, lo; in get_struct_tm() 167 u_int32 ntps; in common_prettydate() 228 u_int32 ntp, int local in ntp2unix_tm()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_request.c | 173 { REQ_GET_CLOCKINFO, NOAUTH, sizeof(u_int32), sizeof(u_int32), 177 { REQ_GET_CLKBUGINFO, NOAUTH, sizeof(u_int32), sizeof(u_int32), 1045 ip->sent = htonl((u_int32)(pp->sent)); in peer_stats() 1217 io->sent = htonl((u_int32)packets_sent); in io_stats() 1521 u_int32 flags; in setclr_flags() 2464 ik->offset = htonl((u_int32)ntx.offset); in get_kernel_info() 2465 ik->freq = htonl((u_int32)ntx.freq); in get_kernel_info() 2477 ik->jitter = htonl((u_int32)ntx.jitter); in get_kernel_info() 2503 register u_int32 *clkaddr; in get_clock_info() 2651 register u_int32 *clkaddr; in get_clkbug_info() [all …]
|
H A D | ntp_scanner.h | 74 ((u_int32)(fb) << 8) | \ 75 ((u_int32)(match_n) << 10) | \ 76 ((u_int32)(other_n) << 21) \ 84 typedef u_int32 scan_state;
|
/freebsd/contrib/ntp/libparse/ |
H A D | mfp_mul.c | 41 #define LOW_MASK (u_int32)((1<<(FRACTION_PREC/2))-1) 42 #define HIGH_MASK (u_int32)(LOW_MASK << (FRACTION_PREC/2)) 59 u_int32 *o_f, in mfp_mul() 61 u_int32 a_f, in mfp_mul() 63 u_int32 b_f in mfp_mul() 67 u_int32 f; in mfp_mul() 125 (u_int32)((unsigned)1<<(FRACTION_PREC - 1))) { in mfp_mul() 132 (u_int32)((unsigned)1<<(FRACTION_PREC - 1))) { in mfp_mul()
|
/freebsd/libexec/bootpd/ |
H A D | lookup.h | 6 extern int lookup_ipa(char *hostname, u_int32 *addr); 7 extern int lookup_netmask(u_int32 addr, u_int32 *mask);
|
H A D | lookup.c | 63 lookup_ipa(char *hostname, u_int32 *result) in lookup_ipa() 85 lookup_netmask(u_int32 addr, u_int32 *result) in lookup_netmask()
|
/freebsd/contrib/ntp/sntp/ |
H A D | networking.h | 61 u_int32 refid; 67 u_int32 opcode; /* last request opcode */ 69 u_int32 crypto; /* peer status word */
|
H A D | networking.c | 74 u_int32 *head, /* head of extension chain */ in skip_efields() 75 u_int32 *tail /* tail/end of extension chain */ in skip_efields() 112 u_int32 * exten_end; in process_pkt() 113 u_int32 * packet_end; in process_pkt()
|
/freebsd/sbin/ipf/ipf/ |
H A D | bpf_filter.c | 64 #define u_int32 bpf_u_int32 macro 86 #define EXTRACT_LONG(p) (ntohl(*(u_int32 *)p)) 93 ((u_int32)*((u_char *)p+0)<<24|\ 94 (u_int32)*((u_char *)p+1)<<16|\ 95 (u_int32)*((u_char *)p+2)<<8|\ 96 (u_int32)*((u_char *)p+3)<<0) 178 register u_int32 A, X; in bpf_filter()
|