Home | History | Annotate | Download | only in net

Lines Matching refs:addrs

64     private InetAddress addrs[];
107 NetworkInterface(String name, int index, InetAddress[] addrs) {
110 this.addrs = addrs;
143 local_addrs = new InetAddress[addrs.length];
154 for (int j=0; j<addrs.length; j++) {
157 sec.checkConnect(addrs[j].getHostAddress(), -1);
159 local_addrs[count++] = addrs[j];
429 List<InetAddress> addrs = new ArrayList<>();
434 addrs.add(ifa.ifa_addr);
444 ni.addrs = addrs.toArray(new InetAddress[addrs.size()]);
543 for (InetAddress addr : addrs) {
632 * NetworkInterface if both name and addrs are the same for both.
654 if (this.addrs == null) {
655 return that.addrs == null;
656 } else if (that.addrs == null) {
660 /* Both addrs not null. Compare number of addresses */
662 if (this.addrs.length != that.addrs.length) {
666 InetAddress[] thatAddrs = that.addrs;
672 if (addrs[i].equals(thatAddrs[j])) {