/freebsd-9.3-release/contrib/ntp/include/ |
H A D | recvbuff.h | 11 * recvbuf memory management 35 * Format of a recvbuf. These are used by the asynchronous receive 47 typedef struct recvbuf recvbuf_t; 49 struct recvbuf { struct 68 void (*receiver)(struct recvbuf *); /* callback */ 81 /* freerecvbuf - make a single recvbuf available for reuse 83 extern void freerecvbuf(struct recvbuf *); 93 extern struct recvbuf *get_free_recv_buffer(void); 95 extern struct recvbuf *get_free_recv_buffer_alloc(void); 99 extern void add_full_recv_buffer(struct recvbuf *); [all...] |
H A D | ntp_refclock.h | 96 void (*clock_recv) (struct recvbuf *); /* completion routine */ 97 int (*io_input) (struct recvbuf *); /* input routine - 233 extern int refclock_gtlin (struct recvbuf *, char *, int, l_fp *); 234 extern int refclock_gtraw (struct recvbuf *, char *, int, l_fp *); 236 struct recvbuf *); 237 extern void process_refclock_packet(struct recvbuf *);
|
H A D | ntpd.h | 68 extern void process_control (struct recvbuf *, int); 132 extern void collect_timing (struct recvbuf *, const char *, int, l_fp *); 165 extern u_short ntp_monitor (struct recvbuf *, u_short); 172 extern struct peer *findpeer (struct recvbuf *, int, int *); 190 extern struct peer *findmanycastpeer(struct recvbuf *); 195 extern int crypto_recv (struct peer *, struct recvbuf *); 197 struct recvbuf *, int, 222 extern void receive (struct recvbuf *); 255 extern void process_private (struct recvbuf *, int); 528 extern void send_via_ntp_signd(struct recvbuf *, in [all...] |
H A D | ntpsim.h | 71 struct recvbuf evnt_buf;
|
/freebsd-9.3-release/contrib/ntp/tests/ntpd/ |
H A D | t-ntp_signd.c | 165 struct recvbuf *rbufp = (struct recvbuf *) malloc(sizeof(struct recvbuf));
|
/freebsd-9.3-release/contrib/ntp/lib/isc/tests/ |
H A D | socket_test.c | 89 char sendbuf[BUFSIZ], recvbuf[BUFSIZ]; local 131 r.base = (void *) recvbuf; 139 ATF_CHECK_STREQ(recvbuf, "Hello"); 160 char sendbuf[BUFSIZ], recvbuf[BUFSIZ]; local 217 r.base = (void *) recvbuf; 225 ATF_CHECK_STREQ(recvbuf, "Hello"); 227 r.base = (void *) recvbuf; 235 ATF_CHECK_STREQ(recvbuf, "World");
|
/freebsd-9.3-release/contrib/ntp/ntpd/ |
H A D | ntpsim.c | 19 int determine_recv_buf_ordering(const struct recvbuf *b1, 20 const struct recvbuf *b2); 56 const struct recvbuf *b1, 57 const struct recvbuf *b2 227 struct recvbuf *rbuf; 238 rbuf = (struct recvbuf *)dequeue(recv_queue); 264 struct recvbuf rbuf; /* Buffer for the received packet */ 444 struct recvbuf *rbuf;
|
H A D | refclock_leitch.c | 100 static void leitch_receive (struct recvbuf *); 105 static int leitch_get_date (struct recvbuf *, struct leitchunit *); 106 static int leitch_get_time (struct recvbuf *, struct leitchunit *, int); 390 struct recvbuf *rbufp 539 struct recvbuf *rbufp, 581 struct recvbuf *rbufp,
|
H A D | refclock_zyfer.c | 104 static void zyfer_receive (struct recvbuf *); 203 struct recvbuf *rbufp
|
H A D | refclock_pst.c | 96 static void pst_receive (struct recvbuf *); 188 struct recvbuf *rbufp
|
H A D | refclock_heath.c | 191 static void heath_receive (struct recvbuf *); 272 struct recvbuf *rbufp
|
H A D | refclock_palisade.h | 183 static void palisade_io (struct recvbuf *);
|
H A D | refclock_jjy.c | 318 static void jjy_receive (struct recvbuf *); 319 static int jjy_receive_tristate_jjy01 (struct recvbuf *); 320 static int jjy_receive_cdex_jst2000 (struct recvbuf *); 321 static int jjy_receive_echokeisokuki_lt2000 (struct recvbuf *); 322 static int jjy_receive_citizentic_jjy200 (struct recvbuf *); 323 static int jjy_receive_tristate_gpsclock01 (struct recvbuf *); 324 static int jjy_receive_seiko_tsys_tdc_300 (struct recvbuf *); 325 static int jjy_receive_telephone (struct recvbuf *); 341 static int modem_receive ( struct recvbuf * ) ; 582 jjy_receive ( struct recvbuf *rbuf [all...] |
H A D | ntp_control.c | 49 void (*handler) (struct recvbuf *, int); /* handle request */ 86 static void control_unspec (struct recvbuf *, int); 87 static void read_status (struct recvbuf *, int); 90 static void read_variables (struct recvbuf *, int); 91 static void write_variables (struct recvbuf *, int); 92 static void read_clockstatus(struct recvbuf *, int); 93 static void write_clockstatus(struct recvbuf *, int); 94 static void set_trap (struct recvbuf *, int); 95 static void save_config (struct recvbuf *, int); 96 static void configure (struct recvbuf *, in [all...] |
H A D | refclock_arbiter.c | 131 static void arb_receive (struct recvbuf *); 234 struct recvbuf *rbufp
|
H A D | refclock_as2201.c | 134 static void as2201_receive (struct recvbuf *); 228 struct recvbuf *rbufp
|
H A D | refclock_chronolog.c | 72 static void chronolog_receive (struct recvbuf *); 170 struct recvbuf *rbufp
|
H A D | refclock_ulink.c | 94 static void ulink_receive (struct recvbuf *); 187 struct recvbuf *rbufp
|
H A D | refclock_fg.c | 40 static void fg_receive (struct recvbuf *); 216 struct recvbuf *rbufp
|
H A D | refclock_dumbclock.c | 79 static void dumbclock_receive (struct recvbuf *); 193 struct recvbuf *rbufp
|
H A D | refclock_hopfser.c | 100 static void hopfserial_receive (struct recvbuf *); 102 /* static void hopfserial_io (struct recvbuf *); */ 210 struct recvbuf *rbufp
|
/freebsd-9.3-release/contrib/bind9/lib/isc/ |
H A D | httpd.c | 75 char recvbuf[HTTP_RECVLEN]; /*%< receive buffer */ member in struct:isc_httpd 357 #define LENGTHOK(s) (httpd->recvbuf - (s) < (int)httpd->recvlen) 358 #define BUFLENOK(s) (httpd->recvbuf - (s) < HTTP_RECVLEN) 370 httpd->recvbuf[httpd->recvlen] = 0; 377 s = strstr(httpd->recvbuf, "\r\n\r\n"); 380 s = strstr(httpd->recvbuf, "\n\n"); 390 if (strncmp(httpd->recvbuf, "GET ", 4) == 0) { 392 p = httpd->recvbuf + 4; 393 } else if (strncmp(httpd->recvbuf, "POST ", 5) == 0) { 395 p = httpd->recvbuf [all...] |
/freebsd-9.3-release/contrib/ntp/lib/isc/ |
H A D | httpd.c | 88 char recvbuf[HTTP_RECVLEN]; /*%< receive buffer */ member in struct:isc_httpd 378 #define LENGTHOK(s) (httpd->recvbuf - (s) < (int)httpd->recvlen) 379 #define BUFLENOK(s) (httpd->recvbuf - (s) < HTTP_RECVLEN) 392 httpd->recvbuf[httpd->recvlen] = 0; 398 s = strstr(httpd->recvbuf, "\r\n\r\n"); 401 s = strstr(httpd->recvbuf, "\n\n"); 411 if (strncmp(httpd->recvbuf, "GET ", 4) == 0) { 413 p = httpd->recvbuf + 4; 414 } else if (strncmp(httpd->recvbuf, "POST ", 5) == 0) { 416 p = httpd->recvbuf [all...] |
/freebsd-9.3-release/contrib/ntp/lib/isc/win32/ |
H A D | socket.c | 256 } recvbuf; member in struct:isc_socket 750 INSIST(sock->recvbuf.remaining == 0); 753 iov[0].len = sock->recvbuf.len; 754 iov[0].buf = sock->recvbuf.base; 765 sock->recvbuf.from_addr_len = sizeof(sock->recvbuf.from_addr); 770 (SOCKADDR *)&sock->recvbuf.from_addr, 771 &sock->recvbuf.from_addr_len, 1220 INSIST(sock->recvbuf.remaining > 0); 1224 dev->address.length = sock->recvbuf [all...] |
/freebsd-9.3-release/usr.bin/csup/ |
H A D | mux.c | 151 struct buf *recvbuf; member in struct:chan 462 count = buf_count(chan->recvbuf); 468 buf_get(chan->recvbuf, cp, n); 596 chan->recvbuf = buf_new(CHAN_RBSIZE); 613 buf_free(chan->recvbuf); 799 chan->recvbuf->size); 807 chan->recvbuf->size); 819 chan->recvbuf->size); 1045 buf = chan->recvbuf;
|