/external/ppp/pppd/plugins/radius/ |
ip_util.c | 151 char *bindaddr; local 154 if ((bindaddr = rc_conf_str("bindaddr")) == NULL || 155 strcmp(rc_conf_str("bindaddr"), "*") == 0) { 158 if ((rval = rc_get_ipaddr(bindaddr)) == 0) { 159 error("rc_own_bind_ipaddress: couldn't get IP address from bindaddr");
|
options.h | 58 {"bindaddr", OT_STR, ST_UNDEF, NULL},
|
/system/core/libnetutils/ |
packet.c | 46 struct sockaddr_ll bindaddr; local 52 memset(&bindaddr, 0, sizeof(bindaddr)); 53 bindaddr.sll_family = AF_PACKET; 54 bindaddr.sll_protocol = htons(ETH_P_IP); 55 bindaddr.sll_halen = ETH_ALEN; 56 memcpy(bindaddr.sll_addr, hwaddr, ETH_ALEN); 57 bindaddr.sll_ifindex = if_index; 59 if (bind(s, (struct sockaddr *)&bindaddr, sizeof(bindaddr)) < 0) [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
SocketChannelTest.java | 181 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); 182 sc.socket().bind(bindAddr); 186 assertEquals(bindAddr.getHostName(), actualAddr.getHostName()); 205 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); 206 sc.socket().bind(bindAddr); 212 assertEquals(bindAddr.getHostName(), actualAddr.getHostName());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
ServerSocketChannelTest.java | 188 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); 189 ssc.socket().bind(bindAddr); 193 assertEquals(bindAddr.getHostName(), actualAddr.getHostName()); 207 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); 208 ssc.socket().bind(bindAddr); 214 assertEquals(bindAddr.getHostName(), actualAddr.getHostName()); 232 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); 233 ssc.socket().bind(bindAddr);
|
DatagramChannelTest.java | [all...] |
SocketChannelTest.java | 214 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); 215 sc.socket().bind(bindAddr); [all...] |
/libcore/ojluni/src/main/java/java/net/ |
MulticastSocket.java | 154 * @param bindaddr Socket address to bind to, or <code>null</code> for 165 public MulticastSocket(SocketAddress bindaddr) throws IOException { 171 if (bindaddr != null) { 172 bind(bindaddr);
|
ServerSocket.java | 186 * local IP address to bind to. The <i>bindAddr</i> argument 189 * If <i>bindAddr</i> is null, it will default accepting 214 * @param bindAddr the local InetAddress the server will bind to 229 public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { 237 bind(new InetSocketAddress(bindAddr, port), backlog); [all...] |
DatagramSocket.java | 227 * @param bindaddr local socket address to bind, or <code>null</code> 238 public DatagramSocket(SocketAddress bindaddr) throws SocketException { 241 if (bindaddr != null) { 242 bind(bindaddr); [all...] |
/frameworks/base/libs/common_time/ |
common_time_server.cpp | 463 struct sockaddr_in bindAddr; 465 memcpy(&bindAddr, ipv4_addr, sizeof(bindAddr)); 466 bindAddr.sin_addr.s_addr = INADDR_ANY; 468 reinterpret_cast<const sockaddr *>(&bindAddr), 469 sizeof(bindAddr)); 473 ntohs(bindAddr.sin_port), errno); [all...] |
/external/mdnsresponder/mDNSPosix/ |
mDNSPosix.c | 664 struct sockaddr_in bindAddr; 730 bindAddr.sin_family = AF_INET; 731 bindAddr.sin_port = port.NotAnInteger; 732 bindAddr.sin_addr.s_addr = INADDR_ANY; // Want to receive multicasts AND unicasts on this socket 733 err = bind(*sktPtr, (struct sockaddr *) &bindAddr, sizeof(bindAddr)); [all...] |
/external/robolectric/v1/lib/main/ |
sqlite-jdbc-3.7.2.jar | |