public void RemoveIPv4Datagram(IPv4Datagram datagram) { this.m_IPv4Table.Remove(datagram.GetHashString()); }
public void RemoveIPv4Datagram(IPv4Datagram datagram) { Debug.Assert(IPv4Table_.Contains(datagram.GetHashString()), "Datagram not in the table"); IPv4Table_.Remove(datagram.GetHashString()); }
public void AddIPv4Datagram(IPv4Datagram datagram) { this.m_IPv4Table.Add(datagram.GetHashString(), datagram); }
public void AddIPv4Datagram(IPv4Datagram datagram) { Debug.Assert(!IPv4Table_.Contains(datagram.GetHashString()), "Datagram already in hashtable"); IPv4Table_.Add(datagram.GetHashString(), datagram); }