Searched refs:recvbuf (Results 1 - 25 of 67) sorted by relevance

123

/macosx-10.9.5/ntp-88/include/
H A Drecvbuff.h15 * recvbuf memory management
39 * Format of a recvbuf. These are used by the asynchronous receive
51 typedef struct recvbuf recvbuf_t;
53 struct recvbuf { struct
72 void (*receiver) (struct recvbuf *); /* routine to receive buffer */
85 /* freerecvbuf - make a single recvbuf available for reuse
87 extern void freerecvbuf (struct recvbuf *);
95 extern struct recvbuf *get_free_recv_buffer (void); /* signal safe - no malloc */
96 extern struct recvbuf *get_free_recv_buffer_alloc (void); /* signal unsafe - may malloc */
100 extern void add_full_recv_buffer (struct recvbuf *);
[all...]
H A Dntpd.h29 extern void process_control (struct recvbuf *, int);
99 extern void collect_timing (struct recvbuf *, const char *, int, l_fp *);
125 extern int ntp_monitor (struct recvbuf *, int);
143 extern struct peer *findmanycastpeer (struct recvbuf *);
148 extern int crypto_recv (struct peer *, struct recvbuf *);
150 struct recvbuf *, int,
174 extern void receive (struct recvbuf *);
213 extern void process_private (struct recvbuf *, int);
503 struct recvbuf *rbufp, /* receive packet pointer */
H A Dntp_refclock.h126 void (*clock_recv) (struct recvbuf *); /* completion routine */
127 int (*io_input) (struct recvbuf *); /* input routine -
270 extern int refclock_gtlin (struct recvbuf *, char *, int, l_fp *);
271 extern int refclock_gtraw (struct recvbuf *, char *, int, l_fp *);
H A Dntpd.h.orig29 extern void process_control (struct recvbuf *, int);
99 extern void collect_timing (struct recvbuf *, const char *, int, l_fp *);
125 extern int ntp_monitor (struct recvbuf *, int);
143 extern struct peer *findmanycastpeer (struct recvbuf *);
148 extern int crypto_recv (struct peer *, struct recvbuf *);
150 struct recvbuf *, int,
174 extern void receive (struct recvbuf *);
213 extern void process_private (struct recvbuf *, int);
501 struct recvbuf *rbufp, /* receive packet pointer */
H A Dntpsim.h73 struct recvbuf evnt_buf;
/macosx-10.9.5/ntp-88/ntpd/
H A Dntpsim.c44 int determine_recv_buf_ordering(struct recvbuf *b1, struct recvbuf *b2);
46 int determine_recv_buf_ordering(struct recvbuf *b1, struct recvbuf *b2)
180 struct recvbuf *rbuf;
191 rbuf = (struct recvbuf *)dequeue(recv_queue);
217 struct recvbuf rbuf; /* Buffer for the received packet */
393 struct recvbuf *rbuf;
H A Drefclock_jjy.c197 static void jjy_receive (struct recvbuf *);
198 static int jjy_receive_tristate_jjy01 (struct recvbuf *);
199 static int jjy_receive_cdex_jst2000 (struct recvbuf *);
200 static int jjy_receive_echokeisokuki_lt2000 (struct recvbuf *);
201 static int jjy_receive_citizentic_jjy200 (struct recvbuf *);
397 jjy_receive ( struct recvbuf *rbufp )
566 jjy_receive_tristate_jjy01 ( struct recvbuf *rbufp )
700 jjy_receive_cdex_jst2000 ( struct recvbuf *rbufp )
772 jjy_receive_echokeisokuki_lt2000 ( struct recvbuf *rbufp )
917 jjy_receive_citizentic_jjy200 ( struct recvbuf *rbuf
[all...]
H A Drefclock_leitch.c106 static void leitch_receive (struct recvbuf *);
111 static int leitch_get_date (struct recvbuf *, struct leitchunit *);
112 static int leitch_get_time (struct recvbuf *, struct leitchunit *, int);
417 struct recvbuf *rbufp
566 struct recvbuf *rbufp,
608 struct recvbuf *rbufp,
H A Drefclock_heath.c191 static void heath_receive (struct recvbuf *);
270 struct recvbuf *rbufp
H A Drefclock_pst.c96 static void pst_receive (struct recvbuf *);
189 struct recvbuf *rbufp
H A Drefclock_zyfer.c102 static void zyfer_receive (struct recvbuf *);
201 struct recvbuf *rbufp
H A Drefclock_palisade.h186 static void palisade_io (struct recvbuf *);
H A Dntp_control.c39 void (*handler) (struct recvbuf *, int); /* handle request */
71 static void control_unspec (struct recvbuf *, int);
72 static void read_status (struct recvbuf *, int);
73 static void read_variables (struct recvbuf *, int);
74 static void write_variables (struct recvbuf *, int);
75 static void read_clock_status (struct recvbuf *, int);
76 static void write_clock_status (struct recvbuf *, int);
77 static void set_trap (struct recvbuf *, int);
78 static void unset_trap (struct recvbuf *, int);
79 static void configure (struct recvbuf *, in
[all...]
H A Drefclock_arbiter.c116 static void arb_receive (struct recvbuf *);
209 struct recvbuf *rbufp
H A Drefclock_as2201.c134 static void as2201_receive (struct recvbuf *);
230 struct recvbuf *rbufp
H A Drefclock_chronolog.c72 static void chronolog_receive (struct recvbuf *);
170 struct recvbuf *rbufp
H A Drefclock_dumbclock.c79 static void dumbclock_receive (struct recvbuf *);
190 struct recvbuf *rbufp
/macosx-10.9.5/libresolv-54/
H A Ddns_private.h53 char *recvbuf; member in struct:__dns_handle_private_struct
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/
H A Dhttpd.c88 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...]
/macosx-10.9.5/ntp-88/lib/isc/
H A Dhttpd.c88 char recvbuf[HTTP_RECVLEN]; /*%< receive buffer */ member in struct:isc_httpd
371 #define LENGTHOK(s) (httpd->recvbuf - (s) < (int)httpd->recvlen)
372 #define BUFLENOK(s) (httpd->recvbuf - (s) < HTTP_RECVLEN)
385 httpd->recvbuf[httpd->recvlen] = 0;
391 s = strstr(httpd->recvbuf, "\r\n\r\n");
394 s = strstr(httpd->recvbuf, "\n\n");
404 if (strncmp(httpd->recvbuf, "GET ", 4) == 0) {
406 p = httpd->recvbuf + 4;
407 } else if (strncmp(httpd->recvbuf, "POST ", 5) == 0) {
409 p = httpd->recvbuf
[all...]
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/test/
H A Dtestsockets.c98 char recvbuf[80]; local
161 rv = apr_socket_recvfrom(from, sock, 0, recvbuf, &len);
164 ABTS_STR_EQUAL(tc, "APR_INET, SOCK_DGRAM", recvbuf);
/macosx-10.9.5/apr-30/apr/apr/test/
H A Dtestsockets.c98 char recvbuf[80]; local
157 rv = apr_socket_recvfrom(from, sock, 0, recvbuf, &len);
160 ABTS_STR_EQUAL(tc, "APR_INET, SOCK_DGRAM", recvbuf);
/macosx-10.9.5/launchd-842.92.1/liblaunch/
H A Dliblaunch.c181 void *recvbuf; member in struct:_launch
653 if ((c->recvbuf = malloc(0)) == NULL)
665 if (c->recvbuf)
666 free(c->recvbuf);
686 if (lh->recvbuf)
687 free(lh->recvbuf);
1237 lh->recvbuf = reallocf(lh->recvbuf, lh->recvlen + 8*1024);
1239 iov.iov_base = lh->recvbuf + lh->recvlen;
1264 struct launch_msg_header *lmhp = lh->recvbuf;
[all...]
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/win32/
H A Dsocket.c256 } recvbuf; member in struct:isc_socket
745 INSIST(sock->recvbuf.remaining == 0);
748 iov[0].len = sock->recvbuf.len;
749 iov[0].buf = sock->recvbuf.base;
760 sock->recvbuf.from_addr_len = sizeof(sock->recvbuf.from_addr);
765 (SOCKADDR *)&sock->recvbuf.from_addr,
766 &sock->recvbuf.from_addr_len,
1215 INSIST(sock->recvbuf.remaining > 0);
1219 dev->address.length = sock->recvbuf
[all...]
/macosx-10.9.5/ntp-88/lib/isc/win32/
H A Dsocket.c256 } recvbuf; member in struct:isc_socket
735 INSIST(sock->recvbuf.remaining == 0);
738 iov[0].len = sock->recvbuf.len;
739 iov[0].buf = sock->recvbuf.base;
747 sock->recvbuf.from_addr_len = sizeof(sock->recvbuf.from_addr);
752 (SOCKADDR *)&sock->recvbuf.from_addr,
753 &sock->recvbuf.from_addr_len,
1186 INSIST(sock->recvbuf.remaining > 0);
1190 dev->address.length = sock->recvbuf
[all...]

Completed in 368 milliseconds

123