public void Start(IpAddress address) { if (address.Valid) { m_address = address; if (Engine.Instance.NetworkLockManager != null) Engine.Instance.NetworkLockManager.AllowIP(m_address); } }
public void ReadXML(XmlElement node) { Address = node.GetAttribute("address"); Mask = node.GetAttribute("mask"); Gateway = node.GetAttribute("gateway"); Interface = node.GetAttribute("interface"); Metrics = node.GetAttribute("metrics"); Flags = node.GetAttribute("flags"); Mss = node.GetAttribute("mss"); Window = node.GetAttribute("window"); Irtt = node.GetAttribute("irtt"); RefCount = 1; }
public virtual void DeallowIP(IpAddress ip) { }
public RouteScope(IpAddress address) { Start(address); }
public void DeallowIP(IpAddress ip) { if (m_current != null) m_current.DeallowIP(ip); }
public static string ToKey(IpAddress address, IpAddress mask) { return address.Value + "-" + mask.Value; }
public override void DeallowIP(IpAddress ip) { base.DeallowIP(ip); }
public override void AllowIP(IpAddress ip) { base.AllowIP(ip); }