/freebsd-current/contrib/bsnmp/snmpd/ |
H A D | trans_lsock.h | 48 struct tport tport; /* must begin with this */ member in struct:lsock_port
|
H A D | trans_udp.h | 34 struct tport tport; /* must begin with this */ member in struct:udp_port
|
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, 196 ssize_t (*recv)(struct tport *, struct port_input *); 199 ssize_t (*send2)(struct tport *, const u_char *, size_t, 215 void trans_insert_port(struct transport *, struct tport *); [all...] |
H A D | trans_udp.c | 55 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 *); 99 snmpd_input(&p->input, &p->tport); 106 udp_init_port(struct tport *tp) 172 port->tport.index.len = 5; 173 port->tport.index.subs[0] = addr[0]; 174 port->tport.index.subs[1] = addr[1]; 175 port->tport [all...] |
H A D | trans_lsock.c | 58 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 *); 79 lsock_remove(struct tport *tp, intptr_t arg __unused) 172 port->tport.index.len = namelen + 1; 173 port->tport.index.subs[0] = namelen; 175 port->tport.index.subs[u + 1] = name[u]; 189 trans_insert_port(my_trans, &port->tport); 192 (err = lsock_init_port(&port->tport)) ! [all...] |
H A D | trans_inet.c | 142 struct tport tport; member in struct:inet_port 168 static_assert(offsetof(struct inet_port, tport) == 0, 169 "tport not first in inet_port"); 246 inet_activate(struct tport *tp) 259 inet_destroy_port(struct tport *tp) 351 inet_recv(struct tport *tp, struct port_input *pi) 353 struct inet_port *port = __containerof(tp, struct inet_port, tport); 384 inet_send2(struct tport *tp, const u_char *buf, size_t len, 387 struct inet_port *p = __containerof(tp, struct inet_port, tport); [all...] |
H A D | main.c | 766 trans_insert_port(struct transport *t, struct tport *port) 768 struct tport *p; 784 trans_remove_port(struct tport *port) 793 struct tport * 803 struct tport * 813 struct tport * 823 struct tport * 824 trans_iter_port(struct transport *t, int (*func)(struct tport *, intptr_t), 827 struct tport *p; 1033 snmpd_input(struct port_input *pi, struct tport *tpor argument [all...] |
/freebsd-current/usr.sbin/pnfsdsfile/ |
H A D | pnfsdsfile.c | 74 in_port_t tport; local 285 tport = sin->sin_port; 287 tport = sin6->sin6_port; 303 sin->sin_port = tport; 308 sin6->sin6_port = tport;
|
/freebsd-current/sys/nfs/ |
H A D | krpc_subr.c | 203 u_int16_t tport; local 257 tport = IPPORT_RESERVED; 259 tport--; 260 sin->sin_port = htons(tport); 263 tport > IPPORT_RESERVED / 2);
|
/freebsd-current/sys/cam/ctl/ |
H A D | ctl_frontend.c | 148 struct ctl_port *tport, *nport; local 209 for (tport = NULL, nport = STAILQ_FIRST(&softc->port_list); 211 tport = nport, nport = STAILQ_NEXT(tport, links)) { 213 if (tport) 214 STAILQ_INSERT_AFTER(&softc->port_list, tport, port, links);
|
/freebsd-current/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-current/crypto/openssh/ |
H A D | scp.c | 1040 int sport = -1, tport = -1; local 1051 r = parse_scp_uri(argv[argc - 1], &tuser, &thost, &tport, &targ); 1089 tport, sftp_direct, 1134 if (do_cmd2(thost, tuser, tport, bp, 1152 if (tport != -1 && tport != SSH_DEFAULT_PORT) { 1195 tport, sftp_direct, 1211 if (do_cmd(ssh_program, thost, tuser, tport, 0,
|
H A D | ssh.c | 1113 int tport; local 1115 switch (parse_ssh_uri(*av, &tuser, &host, &tport)) { 1125 if (options.port == -1 && tport != -1) 1126 options.port = tport;
|
/freebsd-current/crypto/openssl/apps/ |
H A D | ocsp.c | 249 char *thost = NULL, *tport = NULL, *tpath = NULL; local 286 OPENSSL_free(tport); 288 thost = tport = tpath = NULL; 296 tport = port; 877 OPENSSL_free(tport);
|
H A D | s_client.c | 806 char *thost = NULL, *tport = NULL; local 1547 tport = OPENSSL_strdup(port); 1548 if (thost == NULL || tport == NULL) { 2160 if (!OSSL_HTTP_proxy_connect(sbio, thost, tport, proxyuser, proxypass, 3112 OPENSSL_free(tport);
|
/freebsd-current/usr.sbin/ctld/ |
H A D | ctld.c | 641 struct port *port, *tport; local 644 TAILQ_FOREACH_SAFE(port, &pg->pg_ports, p_pgs, tport) 1219 struct port *port, *tport; local 1221 TAILQ_FOREACH_SAFE(port, &pp->pp_ports, p_ts, tport) 1421 struct port *port, *tport; local 1423 TAILQ_FOREACH_SAFE(port, &targ->t_ports, p_ts, tport)
|
/freebsd-current/sys/dev/bxe/ |
H A D | bxe_stats.h | 668 estats->s = le32toh(tport->s) + fwstats->s; \
|
H A D | bxe_stats.c | 987 struct tstorm_per_port_stats *tport = local
|