public FilterSpecIPv6(){ classNum = 10; cType = 2; length = 24; bytes = new byte[length]; try{ srcAddress = (Inet6Address) Inet6Address.getLocalHost(); }catch(UnknownHostException e){ } srcPort = 0; }
public ErrorSpecIPv6(){ classNum = 6; cType = 2; length = 24; bytes = new byte[length]; try{ errorNodeAddress = (Inet6Address) Inet6Address.getLocalHost(); }catch(UnknownHostException e){ } flags = 0; errorCode = 0; errorValue = 0; }
public RSVPHopIPv6(){ classNum = 3; cType = 2; length = 24; bytes = new byte[length]; try{ next_previousHopAddress = (Inet6Address) Inet6Address.getLocalHost(); }catch(UnknownHostException e){ } logicalInterfaceHandle = 0; }
public ResvConfirmIPv6(){ classNum = 15; cType = 2; length = 20; bytes = new byte[length]; try{ receiverAddress = (Inet6Address) Inet6Address.getLocalHost(); }catch(UnknownHostException e){ } }
public FlowLabelFilterSpecIPv6(){ classNum = 10; cType = 3; length = 24; bytes = new byte[length]; try{ srcAddress = (Inet6Address) Inet6Address.getLocalHost(); }catch(UnknownHostException e){ } flowLabel = 0; }
/** * */ public SessionIPv6(){ classNum = 1; cType = 2; length = 24; bytes = new byte[length]; try{ destAddress = (Inet6Address) Inet6Address.getLocalHost(); }catch(UnknownHostException e){ } protocolId = 0; flags = 0; destPort = 0; }
private boolean isHost() { try { return (mGateway.equals(Inet4Address.getLocalHost()) || mGateway.equals(Inet6Address.getLocalHost())); } catch (UnknownHostException e) { // TODO Auto-generated catch block return false; } }
destination = new LinkAddress(Inet6Address.getLocalHost(), 0); } catch (UnknownHostException e) { gateway = Inet6Address.getLocalHost(); } catch (UnknownHostException e) {