Home
last modified time | relevance | path

Searched refs:portstring (Results 1 – 6 of 6) sorted by relevance

/external/dropbear/
Dtcp-accept.c51 char ipstring[NI_MAXHOST], portstring[NI_MAXSERV]; in tcp_acceptor() local
62 portstring, sizeof(portstring), in tcp_acceptor()
90 buf_putint(ses.writepayload, atol(portstring)); in tcp_acceptor()
102 char portstring[NI_MAXSERV]; in listen_tcpfwd() local
113 snprintf(portstring, sizeof(portstring), "%d", tcpinfo->listenport); in listen_tcpfwd()
121 nsocks = dropbear_listen(listen_spec, portstring, socks, in listen_tcpfwd()
Dcli-tcpfwd.c169 char portstring[NI_MAXSERV]; in newtcpforwarded() local
195 snprintf(portstring, sizeof(portstring), "%d", iter->connectport); in newtcpforwarded()
196 sock = connect_remote(iter->connectaddr, portstring, 1, NULL); in newtcpforwarded()
Dsvr-tcpfwd.c234 char portstring[NI_MAXSERV]; in newtcpdirect() local
266 snprintf(portstring, sizeof(portstring), "%d", destport); in newtcpdirect()
267 sock = connect_remote(desthost, portstring, 1, NULL); in newtcpdirect()
/external/iptables/extensions/
Dlibxt_multiport.c85 parse_multi_ports(const char *portstring, uint16_t *ports, const char *proto) in parse_multi_ports() argument
90 buffer = strdup(portstring); in parse_multi_ports()
105 parse_multi_ports_v1(const char *portstring, in parse_multi_ports_v1() argument
113 buffer = strdup(portstring); in parse_multi_ports_v1()
Dlibxt_sctp.c66 parse_sctp_ports(const char *portstring, in parse_sctp_ports() argument
72 buffer = strdup(portstring); in parse_sctp_ports()
73 DEBUGP("%s\n", portstring); in parse_sctp_ports()
Dlibxt_tcp.c41 parse_tcp_ports(const char *portstring, uint16_t *ports) in parse_tcp_ports() argument
46 buffer = strdup(portstring); in parse_tcp_ports()