| ArpPacket Class |
Namespace: Network.Sim.Network.Ip.Arp
public class ArpPacket : Serializable
The ArpPacket type exposes the following members.
| Name | Description | |
|---|---|---|
| ArpPacket(MacAddress, IpAddress, IpAddress) |
Initializes a new instance of the ArpPacket class creating an ARP
request message.
| |
| ArpPacket(MacAddress, IpAddress, MacAddress, IpAddress) |
Initializes a new instance of the ArpPacket class creating an ARP
response message.
|
| Name | Description | |
|---|---|---|
| IpAddressSender |
The IPv4 address of the sender of this ARP packet.
| |
| IpAddressTarget |
The IPv4 address of the target of this ARP packet.
| |
| IsRequest |
Determines whether this ARP packet is a request message.
| |
| IsResponse |
Determines whether this ARP packet is a response message.
| |
| MacAddressSender |
The MAC-48 address of the sender of this ARP packet.
| |
| MacAddressTarget |
The MAC-48 address of the target of this ARP packet. This
field is ignored in requests.
|
| Name | Description | |
|---|---|---|
| Deserialize |
Deserializes an ArpPacket instance from the specified sequence of
bytes.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Serialize |
Serializes this instance of the ArpPacket class into a sequence of
bytes.
| |
| ToString |
Returns a textual description of the ArpPacket instance.
(Overrides ObjectToString.) |