/freebsd-11.0-release/contrib/bsnmp/snmpd/ |
H A D | trans_udp.h | 34 struct tport tport; /* must begin with this */ member in struct:udp_port
|
H A D | trans_lsock.h | 48 struct tport tport; /* must begin with this */ member in struct:lsock_port
|
H A D | trans_udp.c | 53 static void udp_close_port(struct tport *); 54 static int udp_init_port(struct tport *); 55 static ssize_t udp_send(struct tport *, const u_char *, size_t, 94 snmpd_input(&p->input, &p->tport); 101 udp_init_port(struct tport *tp) 165 port->tport.index.len = 5; 166 port->tport.index.subs[0] = addr[0]; 167 port->tport.index.subs[1] = addr[1]; 168 port->tport.index.subs[2] = addr[2]; 169 port->tport [all...] |
H A D | snmpd.h | 168 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, 210 void trans_insert_port(struct transport *, struct tport *); 211 void trans_remove_port(struct tport *); 212 struct tport *trans_find_por [all...] |
H A D | trans_lsock.c | 57 static void lsock_close_port(struct tport *); 58 static int lsock_init_port(struct tport *); 59 static ssize_t lsock_send(struct tport *, const u_char *, size_t, 75 lsock_remove(struct tport *tp, intptr_t arg __unused) 170 port->tport.index.len = namelen + 1; 171 port->tport.index.subs[0] = namelen; 173 port->tport.index.subs[u + 1] = name[u]; 187 trans_insert_port(my_trans, &port->tport); 190 (err = lsock_init_port(&port->tport)) != SNMP_ERR_NOERROR) { 191 lsock_close_port(&port->tport); [all...] |
H A D | main.c | 770 trans_insert_port(struct transport *t, struct tport *port) 772 struct tport *p; 788 trans_remove_port(struct tport *port) 797 struct tport * 807 struct tport * 817 struct tport * 827 struct tport * 828 trans_iter_port(struct transport *t, int (*func)(struct tport *, intptr_t), 831 struct tport *p; 1185 snmpd_input(struct port_input *pi, struct tport *tpor argument [all...] |
/freebsd-11.0-release/sys/nfs/ |
H A D | krpc_subr.c | 205 u_int16_t tport; local 259 tport = IPPORT_RESERVED; 261 tport--; 262 sin->sin_port = htons(tport); 265 tport > IPPORT_RESERVED / 2);
|
/freebsd-11.0-release/sys/cam/ctl/ |
H A D | ctl_frontend.c | 143 struct ctl_port *tport, *nport; local 203 for (tport = NULL, nport = STAILQ_FIRST(&softc->port_list); 205 tport = nport, nport = STAILQ_NEXT(tport, links)) { 207 if (tport) 208 STAILQ_INSERT_AFTER(&softc->port_list, tport, port, links);
|
/freebsd-11.0-release/contrib/tnftp/src/ |
H A D | fetch.c | 326 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.0-release/crypto/openssl/apps/ |
H A D | ocsp.c | 136 char *thost = NULL, *tport = NULL, *tpath = NULL; local 208 if (tport) 209 OPENSSL_free(tport); 212 thost = tport = tpath = NULL; 220 tport = port; 891 if (tport) 892 OPENSSL_free(tport);
|
/freebsd-11.0-release/usr.sbin/ctld/ |
H A D | ctld.c | 633 struct port *port, *tport; local 636 TAILQ_FOREACH_SAFE(port, &pg->pg_ports, p_pgs, tport) 1203 struct port *port, *tport; local 1205 TAILQ_FOREACH_SAFE(port, &pp->pp_ports, p_ts, tport) 1347 struct port *port, *tport; local 1349 TAILQ_FOREACH_SAFE(port, &targ->t_ports, p_ts, tport)
|
/freebsd-11.0-release/sys/dev/bxe/ |
H A D | bxe_stats.h | 652 estats->s = le32toh(tport->s) + fwstats->s; \
|
H A D | bxe_stats.c | 985 struct tstorm_per_port_stats *tport = local
|