net.h File Reference

Networking subsystem central module. More...

#include <net/device.h>
#include <adt/char_map.h>
#include <adt/generic_char_map.h>
#include <adt/measured_strings.h>
#include <adt/module_map.h>
#include <net/packet.h>

Go to the source code of this file.

Data Structures

struct  net_globals_t
 Networking module global data. More...
struct  netif_t
 Present network interface device. More...

Configuration setting names definitions

#define CONF_IL   "IL"
 Internet protocol module name configuration label.
#define CONF_IO   "IO"
 Device input/output address configuration label.
#define CONF_IRQ   "IRQ"
 Interrupt number configuration label.
#define CONF_MTU   "MTU"
 Maximum transmission unit configuration label.
#define CONF_NAME   "NAME"
 Network interface name configuration label.
#define CONF_NETIF   "NETIF"
 Network interface module name configuration label.
#define CONF_NIL   "NIL"
 Network interface layer module name configuration label.

Modules definitions

#define ETHERNET_FILENAME   "/srv/eth"
#define ETHERNET_NAME   "eth"
#define IP_FILENAME   "/srv/ip"
#define IP_NAME   "ip"
#define LO_FILENAME   "/srv/lo"
#define LO_NAME   "lo"
#define NE2000_FILENAME   "/srv/ne2000"
#define NE2000_NAME   "ne2000"
#define NILDUMMY_FILENAME   "/srv/nildummy"
#define NILDUMMY_NAME   "nildummy"

Defines

#define CONF_DIR   "/cfg/net"
 Configuration directory.
#define CONF_GENERAL_FILE   "general"
 General configuration file.

Functions

int add_configuration (measured_strings_t *configuration, const uint8_t *name, const uint8_t *value)
 Add the configured setting to the configuration map.
 DEVICE_MAP_DECLARE (netifs, netif_t)
 Present network interfaces.
 GENERIC_CHAR_MAP_DECLARE (measured_strings, measured_string_t)
 Configuration settings.
int net_initialize_build (async_client_conn_t client_connection)
 Initialize the networking module for the chosen subsystem build type.
int net_message (ipc_callid_t callid, ipc_call_t *call, ipc_call_t *answer, size_t *answer_count)
 Process the networking message.
int net_module_message (ipc_callid_t callid, ipc_call_t *call, ipc_call_t *answer, size_t *count)
 Process the module message.


Detailed Description

Networking subsystem central module.

Definition in file net.h.


Generated on Thu Jun 2 07:45:53 2011 for HelenOS/USB by  doxygen 1.4.7