an address for a packet socket
More...
#include <packet-socket-address.h>
List of all members.
Public Member Functions |
void | SetProtocol (uint16_t protocol) |
void | SetAllDevices (void) |
void | SetSingleDevice (uint32_t device) |
void | SetPhysicalAddress (const Address address) |
uint16_t | GetProtocol (void) const |
uint32_t | GetSingleDevice (void) const |
bool | IsSingleDevice (void) const |
Address | GetPhysicalAddress (void) const |
| operator Address () const |
Static Public Member Functions |
static PacketSocketAddress | ConvertFrom (const Address &address) |
static bool | IsMatchingType (const Address &address) |
Detailed Description
an address for a packet socket
Member Function Documentation
- Parameters:
-
| address | a polymorphic address |
Convert a polymorphic address to an Mac48Address instance. The conversion performs a type check.
static bool ns3::PacketSocketAddress::IsMatchingType |
( |
const Address & |
address |
) |
[static] |
- Parameters:
-
- Returns:
- true if the address matches, false otherwise.
ns3::PacketSocketAddress::operator Address |
( |
|
) |
const |
- Returns:
- a new Address instance
Convert an instance of this class to a polymorphic Address instance.
The documentation for this class was generated from the following file:
- src/node/packet-socket-address.h