gxPL  1.0
Tools, Application and Framework for xPL
Hardware Layer

Detailed Description

Allows end-user to read information and to control the hardware layer.

Collaboration diagram for Hardware Layer:

Modules

 Hardware Abstract Layer
 

Functions

const char * gxPLIoBcastAddrGet (const gxPLApplication *app)
 Broadcast network address as a string. More...
 
const gxPLIoAddrgxPLIoInfoGet (const gxPLApplication *app)
 Local Network informations. More...
 
const char * gxPLIoInterfaceGet (const gxPLApplication *app)
 Name of the network interface on the system. More...
 
const char * gxPLIoLayerGet (const gxPLApplication *app)
 Name of the underlying layer of the network. More...
 
xVector * gxPLIoLayerList (void)
 Returns a list of io layers available on the system. More...
 
const char * gxPLIoLocalAddrGet (const gxPLApplication *app)
 Local network address as a string. More...
 
const xVector * gxPLIoLocalAddrList (const gxPLApplication *app)
 Local network address list as a vector of strings. More...
 

Function Documentation

const char* gxPLIoBcastAddrGet ( const gxPLApplication *  app)

Broadcast network address as a string.

Parameters
apppointer to a gxPLApplication object
Returns
the address as a string, NULL if an error occurs
Examples:
hub/gxpl-hub.c.
const gxPLIoAddr* gxPLIoInfoGet ( const gxPLApplication *  app)

Local Network informations.

Parameters
apppointer to a gxPLApplication object
Returns
network infos, NULL if an error occurs
Examples:
hub/gxpl-hub.c.
const char* gxPLIoInterfaceGet ( const gxPLApplication *  app)

Name of the network interface on the system.

Parameters
apppointer to a gxPLApplication object
Returns
the name, NULL if an error occurs
Examples:
hub/gxpl-hub.c.
const char* gxPLIoLayerGet ( const gxPLApplication *  app)

Name of the underlying layer of the network.

Parameters
apppointer to a gxPLApplication object
Returns
the name, NULL if an error occurs
xVector* gxPLIoLayerList ( void  )

Returns a list of io layers available on the system.

Returns
returned list of io layers as a pointeur on an vector of const string, NULL if error occurs
Warning
the list returned by the pointer must be freed with vVectorDestroy() after use.
const char* gxPLIoLocalAddrGet ( const gxPLApplication *  app)

Local network address as a string.

Parameters
apppointer to a gxPLApplication object
Returns
network address as a string, NULL if an error occurs
const xVector* gxPLIoLocalAddrList ( const gxPLApplication *  app)

Local network address list as a vector of strings.

Parameters
apppointer to a gxPLApplication object
Returns
the vector of strings, NULL if an error occurs
Examples:
hub/gxpl-hub.c.