Searched refs:tport (Results 1 - 13 of 13) sorted by relevance

/freebsd-11-stable/contrib/bsnmp/snmpd/
H A Dtrans_udp.h34 struct tport tport; /* must begin with this */ member in struct:udp_port
H A Dtrans_lsock.h48 struct tport tport; /* must begin with this */ member in struct:lsock_port
H A Dsnmpd.h168 struct tport { struct
170 TAILQ_ENTRY(tport) link; /* table link */
173 TAILQ_HEAD(tport_list, tport);
175 int snmpd_input(struct port_input *, struct tport *);
191 void (*close_port)(struct tport *);
192 int (*init_port)(struct tport *);
194 ssize_t (*send)(struct tport *, const u_char *, size_t,
196 ssize_t (*recv)(struct tport *, struct port_input *);
211 void trans_insert_port(struct transport *, struct tport *);
212 void trans_remove_port(struct tport *);
[all...]
H A Dtrans_udp.c55 static void udp_close_port(struct tport *);
56 static int udp_init_port(struct tport *);
57 static ssize_t udp_send(struct tport *, const u_char *, size_t,
59 static ssize_t udp_recv(struct tport *, struct port_input *);
98 snmpd_input(&p->input, &p->tport);
105 udp_init_port(struct tport *tp)
171 port->tport.index.len = 5;
172 port->tport.index.subs[0] = addr[0];
173 port->tport.index.subs[1] = addr[1];
174 port->tport
[all...]
H A Dtrans_lsock.c58 static void lsock_close_port(struct tport *);
59 static int lsock_init_port(struct tport *);
60 static ssize_t lsock_send(struct tport *, const u_char *, size_t,
62 static ssize_t lsock_recv(struct tport *, struct port_input *);
78 lsock_remove(struct tport *tp, intptr_t arg __unused)
171 port->tport.index.len = namelen + 1;
172 port->tport.index.subs[0] = namelen;
174 port->tport.index.subs[u + 1] = name[u];
188 trans_insert_port(my_trans, &port->tport);
191 (err = lsock_init_port(&port->tport)) !
[all...]
H A Dmain.c764 trans_insert_port(struct transport *t, struct tport *port)
766 struct tport *p;
782 trans_remove_port(struct tport *port)
791 struct tport *
801 struct tport *
811 struct tport *
821 struct tport *
822 trans_iter_port(struct transport *t, int (*func)(struct tport *, intptr_t),
825 struct tport *p;
1031 snmpd_input(struct port_input *pi, struct tport *tpor argument
[all...]
/freebsd-11-stable/sys/nfs/
H A Dkrpc_subr.c205 u_int16_t tport; local
259 tport = IPPORT_RESERVED;
261 tport--;
262 sin->sin_port = htons(tport);
265 tport > IPPORT_RESERVED / 2);
/freebsd-11-stable/sys/cam/ctl/
H A Dctl_frontend.c147 struct ctl_port *tport, *nport; local
208 for (tport = NULL, nport = STAILQ_FIRST(&softc->port_list);
210 tport = nport, nport = STAILQ_NEXT(tport, links)) {
212 if (tport)
213 STAILQ_INSERT_AFTER(&softc->port_list, tport, port, links);
/freebsd-11-stable/contrib/tnftp/src/
H A Dfetch.c326 const char *origurl, *tport; local
340 tport = NULL;
346 tport = httpport;
351 tport = ftpport;
446 tport = cp;
449 if (tport != NULL)
450 *port = ftp_strdup(tport);
/freebsd-11-stable/crypto/openssl/apps/
H A Docsp.c136 char *thost = NULL, *tport = NULL, *tpath = NULL; local
208 if (tport)
209 OPENSSL_free(tport);
212 thost = tport = tpath = NULL;
220 tport = port;
890 if (tport)
891 OPENSSL_free(tport);
/freebsd-11-stable/usr.sbin/ctld/
H A Dctld.c636 struct port *port, *tport; local
639 TAILQ_FOREACH_SAFE(port, &pg->pg_ports, p_pgs, tport)
1208 struct port *port, *tport; local
1210 TAILQ_FOREACH_SAFE(port, &pp->pp_ports, p_ts, tport)
1364 struct port *port, *tport; local
1366 TAILQ_FOREACH_SAFE(port, &targ->t_ports, p_ts, tport)
/freebsd-11-stable/sys/dev/bxe/
H A Dbxe_stats.h669 estats->s = le32toh(tport->s) + fwstats->s; \
H A Dbxe_stats.c987 struct tstorm_per_port_stats *tport = local

Completed in 242 milliseconds