Searched refs:peer (Results 1 - 25 of 235) sorted by path

12345678910

/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/mib/
H A Dtst.tcp.ksh112 my \$peer = sockaddr_in($port, INADDR_ANY);
117 connect(S, \$peer) or die "connect failed: \$!";
/freebsd-11-stable/contrib/bsnmp/snmp_ntp/
H A Dsnmp_ntp.c114 /* last time we've fetch the peer list */
124 struct peer { struct
127 TAILQ_ENTRY(peer) link;
154 TAILQ_HEAD(peer_list, peer);
776 "poll,peer,clock,system,processor,jitter,stability",
841 } else if (strcmp(name, "peer") == 0 ||
842 strcmp(name, "sys.peer") == 0) {
918 * Fetch the complete peer list
926 struct peer *p;
986 strcmp(name, "peer
1212 uint32_t peer; local
1348 uint32_t peer; local
1407 uint32_t peer; local
[all...]
/freebsd-11-stable/contrib/bsnmp/snmpd/
H A Dmain.c1050 * In case of AF_INET{6} peer, do hosts_access(5) check.
1052 if (pi->peer->sa_family != AF_LOCAL &&
1053 inet_ntop(pi->peer->sa_family,
1054 &((const struct sockaddr_in *)(const void *)pi->peer)->sin_addr,
1062 } else if (pi->peer->sa_family != AF_LOCAL)
1107 &tport->index, pi->peer, pi->peerlen, ierr, vi,
1188 pi->peer, pi->peerlen);
H A Dsnmpd.h158 struct sockaddr *peer; /* last received packet */ member in struct:port_input
160 int priv : 1; /* peer is privileged */
H A Dtrans_lsock.c108 * one and only peer.
115 struct lsock_peer *peer = NULL; local
153 if ((peer = calloc(1, sizeof(*peer))) == NULL) {
161 free(peer);
176 if (peer != NULL) {
177 LIST_INSERT_HEAD(&port->peers, peer, link);
179 peer->port = port;
181 peer->input.fd = -1;
182 peer
205 lsock_peer_close(struct lsock_peer *peer) argument
220 struct lsock_peer *peer; local
243 struct lsock_peer *peer = udata; local
260 struct lsock_peer *peer; local
344 struct lsock_peer *peer; local
402 struct lsock_peer *peer; local
[all...]
H A Dtrans_lsock.h43 struct sockaddr_un peer; member in struct:lsock_peer
H A Dtrans_udp.c188 port->input.peer = (struct sockaddr *)&port->ret;
296 msg.msg_name = pi->peer;
/freebsd-11-stable/contrib/ntp/include/
H A Drefclock_atom.h15 extern int refclock_pps(struct peer *, struct refclock_atom *, int);
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_acts.c221 static int acts_start (int, struct peer *);
222 static void acts_shutdown (int, struct peer *);
224 static void acts_message (struct peer *, const char *);
225 static void acts_timecode (struct peer *, const char *);
226 static void acts_poll (int, struct peer *);
227 static void acts_timeout (struct peer *, teModemState);
228 static void acts_timer (int, struct peer *);
229 static void acts_close (struct peer *);
250 struct peer *peer
319 struct peer *peer; local
362 acts_message( struct peer *peer, const char *msg ) argument
462 acts_timeout( struct peer *peer, teModemState dstate ) argument
725 acts_timecode( struct peer * peer, const char * str ) argument
[all...]
H A Drefclock_arbiter.c112 #define COMMAND_HALT_BCAST ( (peer->MODE % 2) ? "O0" : "B0" )
113 #define COMMAND_START_BCAST ( (peer->MODE % 2) ? "O5" : "B5" )
129 static int arb_start (int, struct peer *);
130 static void arb_shutdown (int, struct peer *);
132 static void arb_poll (int, struct peer *);
154 struct peer *peer
174 pp = peer->procptr;
176 pp->io.srcclock = peer;
190 peer
239 struct peer *peer; local
[all...]
H A Drefclock_arc.c208 This avoids ntpd syncing to another peer first and then
532 static void dummy_event_handler (struct peer *);
533 static void arc_event_handler (struct peer *);
544 static int arc_start (int, struct peer *);
545 static void arc_shutdown (int, struct peer *);
547 static void arc_poll (int, struct peer *);
565 peer->procptr->nextaction = current_time + QUEUETICK; \
571 struct peer *peer
592 struct peer *pee
875 struct peer *peer; local
[all...]
H A Drefclock_as2201.c132 static int as2201_start (int, struct peer *);
133 static void as2201_shutdown (int, struct peer *);
135 static void as2201_poll (int, struct peer *);
157 struct peer *peer
177 pp = peer->procptr;
179 pp->io.srcclock = peer;
193 peer->precision = PRECISION;
208 struct peer *peer
233 struct peer *peer; local
[all...]
H A Drefclock_atom.c57 * "mitigation rulse and the prefer peer" page. However, there is an
59 * to these rules, it is acrive only if (a) a prefer peer other than
95 static int atom_start (int, struct peer *);
96 static void atom_shutdown (int, struct peer *);
97 static void atom_poll (int, struct peer *);
98 static void atom_timer (int, struct peer *);
120 struct peer *peer /* peer structure pointer */
130 pp = peer
[all...]
H A Drefclock_chronolog.c70 static int chronolog_start (int, struct peer *);
71 static void chronolog_shutdown (int, struct peer *);
73 static void chronolog_poll (int, struct peer *);
95 struct peer *peer
120 pp = peer->procptr;
123 pp->io.srcclock = peer;
137 peer->precision = PRECISION;
150 struct peer *peer
175 struct peer *peer; local
[all...]
H A Drefclock_chu.c403 static int chu_start (int, struct peer *);
404 static void chu_shutdown (int, struct peer *);
406 static void chu_second (int, struct peer *);
407 static void chu_poll (int, struct peer *);
412 static void chu_decode (struct peer *, int, l_fp);
413 static void chu_burst (struct peer *);
414 static void chu_clear (struct peer *);
415 static void chu_a (struct peer *, int);
416 static void chu_b (struct peer *, int);
418 static double chu_major (struct peer *);
622 struct peer *peer; local
657 struct peer *peer; local
731 chu_rf( struct peer *peer, double sample ) argument
970 struct peer *peer; local
985 chu_decode( struct peer *peer, int hexhex, l_fp cstamp ) argument
1093 chu_b( struct peer *peer, int nchar ) argument
1167 chu_a( struct peer *peer, int nchar ) argument
1524 chu_newchan( struct peer *peer, double met ) argument
[all...]
H A Drefclock_datum.c130 struct peer *peer; /* peer used by ntp */ member in struct:datum_pts_unit
162 static int datum_pts_start (int, struct peer *);
163 static void datum_pts_shutdown (int, struct peer *);
164 static void datum_pts_poll (int, struct peer *);
166 struct refclockstat *, struct peer *);
168 static void datum_pts_buginfo (int, struct refclockbug *, struct peer *);
218 struct peer *peer
[all...]
H A Drefclock_dumbclock.c77 static int dumbclock_start (int, struct peer *);
78 static void dumbclock_shutdown (int, struct peer *);
81 static void dumbclock_poll (int, struct peer *);
104 struct peer *peer
131 pp = peer->procptr;
134 pp->io.srcclock = peer;
160 peer->precision = PRECISION;
173 struct peer *peer
198 struct peer *peer; local
[all...]
H A Drefclock_fg.c37 static int fg_start (int, struct peer *);
38 static void fg_shutdown (int, struct peer *);
39 static void fg_poll (int, struct peer *);
47 int pollnum; /* Use peer.poll instead? */
94 struct peer *peer
120 pp = peer->procptr;
123 pp->io.srcclock = peer;
136 peer->precision = PRECISION;
146 refclock_report(peer, CEVNT_FAUL
221 struct peer *peer; local
[all...]
H A Drefclock_gpsvme.c81 static int psc_start(int, struct peer *);
82 static void psc_shutdown(int, struct peer *);
83 static void psc_poll(int, struct peer *);
95 struct peer *peer
122 /* initialize peer variables */
123 pp = peer->procptr;
125 pp->io.srcclock = peer;
131 peer->precision = PRECISION;
145 struct peer *pee
[all...]
H A Drefclock_heath.c189 static int heath_start (int, struct peer *);
190 static void heath_shutdown (int, struct peer *);
192 static void heath_poll (int, struct peer *);
214 struct peer *peer
225 fd = refclock_open(device, speed[peer->ttl & 0x3],
229 pp = peer->procptr;
231 pp->io.srcclock = peer;
243 peer->precision = PRECISION;
256 struct peer *pee
276 struct peer *peer; local
[all...]
H A Drefclock_hopfpci.c95 static int hopfpci_start (int, struct peer *);
96 static void hopfpci_shutdown (int, struct peer *);
97 static void hopfpci_poll (int unit, struct peer *);
118 struct peer *peer
141 pp = peer->procptr;
143 pp->io.srcclock = peer;
151 * Initialize miscellaneous peer variables
154 peer->precision = PRECISION;
168 struct peer *pee
[all...]
H A Drefclock_hopfser.c98 static int hopfserial_start (int, struct peer *);
99 static void hopfserial_shutdown (int, struct peer *);
101 static void hopfserial_poll (int, struct peer *);
122 struct peer *peer
150 pp = peer->procptr;
153 pp->io.srcclock = peer;
171 peer->precision = PRECISION;
187 struct peer *peer
215 struct peer *peer; local
[all...]
H A Drefclock_hpgps.c128 static int hpgps_start (int, struct peer *);
129 static void hpgps_shutdown (int, struct peer *);
131 static void hpgps_poll (int, struct peer *);
153 struct peer *peer
170 if (1 == peer->ttl) {
181 pp = peer->procptr;
183 pp->io.srcclock = peer;
197 peer->precision = PRECISION;
213 refclock_report(peer, CEVNT_FAUL
250 struct peer *peer; local
[all...]
H A Drefclock_irig.c274 static int irig_start (int, struct peer *);
275 static void irig_shutdown (int, struct peer *);
277 static void irig_poll (int, struct peer *);
282 static void irig_base (struct peer *, double);
283 static void irig_rf (struct peer *, double);
284 static void irig_baud (struct peer *, int);
285 static void irig_decode (struct peer *, int);
286 static void irig_gain (struct peer *);
308 struct peer *peer /* pee
410 struct peer *peer; local
506 irig_rf( struct peer *peer, double sample ) argument
585 irig_base( struct peer *peer, double sample ) argument
744 irig_baud( struct peer *peer, int bits ) argument
833 irig_decode( struct peer *peer, int bit ) argument
[all...]
H A Drefclock_leitch.c70 struct peer *peer; member in struct:leitchunit
95 static int leitch_start (int, struct peer *);
96 static void leitch_shutdown (int, struct peer *);
97 static void leitch_poll (int, struct peer *);
98 static void leitch_control (int, const struct refclockstat *, struct refclockstat *, struct peer *);
103 static void leitch_timeout (struct peer *);
144 struct peer *peer
167 struct peer *pee
215 struct peer *peer; local
[all...]

Completed in 295 milliseconds

12345678910