The Pedigree Project 0.1
Public Member Functions | Public Attributes | List of all members
StationInfo Class Reference

#include <Network.h>

+ Collaboration diagram for StationInfo:

Public Member Functions

 StationInfo (const StationInfo &info)
 
StationInfo & operator= (const StationInfo &info)=delete
 Number of packets dropped because they were invalid.
 

Public Attributes

IpAddress ipv4
 
IpAddress * ipv6
 
size_t nIpv6Addresses
 
IpAddress subnetMask
 
IpAddress broadcast
 
IpAddress gateway
 Automatically calculated?
 
IpAddress gatewayIpv6
 
IpAddress * dnsServers
 
size_t nDnsServers
 Can contain IPv6 addresses.
 
MacAddress mac
 
size_t nPackets
 
size_t nDropped
 Number of packets passed through the interface.
 
size_t nBad
 Number of packets dropped by the filter.
 

Detailed Description

Station information - basically information about this station, per NIC

Definition at line 32 of file Network.h.

Constructor & Destructor Documentation

◆ StationInfo() [1/2]

StationInfo::StationInfo ( )

Definition at line 23 of file Network.cc.

◆ StationInfo() [2/2]

StationInfo::StationInfo ( const StationInfo &  info)

Definition at line 38 of file Network.cc.

◆ ~StationInfo()

StationInfo::~StationInfo ( )
virtual

Definition at line 53 of file Network.cc.

Member Data Documentation

◆ broadcast

IpAddress StationInfo::broadcast

Definition at line 46 of file Network.h.

◆ dnsServers

IpAddress* StationInfo::dnsServers

Definition at line 50 of file Network.h.

◆ gateway

IpAddress StationInfo::gateway

Automatically calculated?

Definition at line 47 of file Network.h.

Referenced by Nic3C90x::setStationInfo(), Dm9601::setStationInfo(), Ne2k::setStationInfo(), and VirtioNet::setStationInfo().

◆ gatewayIpv6

IpAddress StationInfo::gatewayIpv6

Definition at line 48 of file Network.h.

◆ ipv4

IpAddress StationInfo::ipv4

Definition at line 41 of file Network.h.

◆ ipv6

IpAddress* StationInfo::ipv6

Definition at line 42 of file Network.h.

◆ mac

MacAddress StationInfo::mac

Definition at line 53 of file Network.h.

◆ nBad

size_t StationInfo::nBad

Number of packets dropped by the filter.

Definition at line 57 of file Network.h.

Referenced by Network::badPacket().

◆ nDnsServers

size_t StationInfo::nDnsServers

Can contain IPv6 addresses.

Definition at line 51 of file Network.h.

Referenced by Nic3C90x::setStationInfo(), Dm9601::setStationInfo(), Ne2k::setStationInfo(), and VirtioNet::setStationInfo().

◆ nDropped

size_t StationInfo::nDropped

Number of packets passed through the interface.

Definition at line 56 of file Network.h.

Referenced by Network::droppedPacket().

◆ nIpv6Addresses

size_t StationInfo::nIpv6Addresses

Definition at line 43 of file Network.h.

◆ nPackets

size_t StationInfo::nPackets

Definition at line 55 of file Network.h.

◆ subnetMask

IpAddress StationInfo::subnetMask

Definition at line 45 of file Network.h.


The documentation for this class was generated from the following files: