gPTP Documentation
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LinuxNetworkInterfaceFactory Class Reference

#include <linux_hal_common.hpp>

Inheritance diagram for LinuxNetworkInterfaceFactory:
Inheritance graph
Collaboration diagram for LinuxNetworkInterfaceFactory:
Collaboration graph

Public Member Functions

virtual bool createInterface (OSNetworkInterface **net_iface, InterfaceLabel *label, HWTimestamper *timestamper)
 Creates a new interface. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from OSNetworkInterfaceFactory
static bool registerFactory (factory_name_t id, OSNetworkInterfaceFactory *factory)
 Registers network factory. More...
 
static bool buildInterface (OSNetworkInterface **iface, factory_name_t id, InterfaceLabel *iflabel, HWTimestamper *timestamper)
 Builds the network interface. More...
 

Detailed Description

Member Function Documentation

virtual bool LinuxNetworkInterfaceFactory::createInterface ( OSNetworkInterface **  net_iface,
InterfaceLabel label,
HWTimestamper timestamper 
)
virtual

Creates a new interface.

Parameters
net_iface[out] Network interface. Created internally.
label[in] Label to be cast to the interface's name internally
timestamper[in] Pointer to a hardware timestamp object
Returns
TRUE if no error during interface creation, FALSE otherwise

Implements OSNetworkInterfaceFactory.


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