Beispiel #1
0
		public void Start(IpAddress address)
		{
			if (address.Valid)
			{
				m_address = address;
				if (Engine.Instance.NetworkLockManager != null)
					Engine.Instance.NetworkLockManager.AllowIP(m_address);				
			}
		}
Beispiel #2
0
		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)
		{
		}
Beispiel #4
0
		public RouteScope(IpAddress address)
		{
			Start(address);
		}
		public void DeallowIP(IpAddress ip)
		{
			if (m_current != null)
				m_current.DeallowIP(ip);
		}
Beispiel #6
0
		public static string ToKey(IpAddress address, IpAddress mask)
		{
			return address.Value + "-" + mask.Value;
		}
 public virtual void DeallowIP(IpAddress ip)
 {
 }
		public override void DeallowIP(IpAddress ip)
		{
			base.DeallowIP(ip);
		}
		public override void AllowIP(IpAddress ip)
		{
			base.AllowIP(ip);
		}