Home
last modified time | relevance | path

Searched refs:remoteaddr (Results 1 – 4 of 4) sorted by relevance

/external/dropbear/
Dsvr-main.c81 struct sockaddr_storage remoteaddr; in main_inetd() local
88 remoteaddrlen = sizeof(remoteaddr); in main_inetd()
89 if (getpeername(0, (struct sockaddr*)&remoteaddr, &remoteaddrlen) < 0) { in main_inetd()
94 addrstring = getaddrstring(&remoteaddr, 1); in main_inetd()
105 svr_session(0, -1, getaddrhostname(&remoteaddr), addrstring); in main_inetd()
226 struct sockaddr_storage remoteaddr; in main_noinetd() local
237 remoteaddrlen = sizeof(remoteaddr); in main_noinetd()
239 (struct sockaddr*)&remoteaddr, &remoteaddrlen); in main_noinetd()
247 remote_addr_str = getaddrstring(&remoteaddr, 0); in main_noinetd()
296 addrstring = getaddrstring(&remoteaddr, 1); in main_noinetd()
[all …]
Dcli-tcpfwd.c48 static int cli_localtcp(unsigned int listenport, const char* remoteaddr,
88 static int cli_localtcp(unsigned int listenport, const char* remoteaddr, in cli_localtcp() argument
94 TRACE(("enter cli_localtcp: %d %s %d", listenport, remoteaddr, in cli_localtcp()
99 tcpinfo->sendaddr = m_strdup(remoteaddr); in cli_localtcp()
/external/libppp/src/
Dnat_cmd.c116 struct in_addr remoteaddr; in nat_RedirectPort() local
148 error = StrToAddrAndPort(arg->argv[arg->argn+3], &remoteaddr, in nat_RedirectPort()
156 remoteaddr.s_addr = INADDR_ANY; in nat_RedirectPort()
178 remoteaddr, htons(lremoteport), in nat_RedirectPort()
/external/iputils/
Drdisc.c73 struct in_addr remoteaddr; member
1187 interfaces[i].remoteaddr = sin->sin_addr; in initifs()
1194 interfaces[i].remoteaddr = interfaces[i].address; in initifs()
1291 (interfaces[i].remoteaddr.s_addr & interfaces[i].netmask.s_addr)) in is_directly_connected()