Lines Matching defs:ifname
239 } catch (UnknownHostException e) {} /* cant happen if ifname is null */
246 Inet6Address (String hostName, byte addr[], String ifname) throws UnknownHostException {
247 initstr (hostName, addr, ifname);
315 private void initstr (String hostName, byte addr[], String ifname) throws UnknownHostException {
317 NetworkInterface nif = NetworkInterface.getByName (ifname);
319 throw new UnknownHostException ("no such interface " + ifname);
323 throw new UnknownHostException ("SocketException thrown" + ifname);
376 private int deriveNumericScope (String ifname) throws UnknownHostException {
385 if (ifc.getName().equals (ifname)) {
403 throw new UnknownHostException ("No matching address found for interface : " +ifname);
422 if (ifname != null && !"".equals (ifname)) {
424 scope_ifname = NetworkInterface.getByName(ifname);
443 /* if ifname was not supplied, then the numeric info is used */
764 private String ifname;
775 ifname = scope_ifname.getName();