Networking subsystem central module. More...
#include <ipc/ipc.h>#include "../include/device.h"#include "../structures/char_map.h"#include "../structures/generic_char_map.h"#include "../structures/measured_strings.h"#include "../structures/module_map.h"#include "../structures/packet/packet.h"

Data Structures | |
| struct | net_globals |
| Configuration settings. More... | |
| struct | netif |
| Present network interface device. More... | |
Defines | |
| #define | CONF_DIR "/cfg/net" |
| Configuration directory. | |
| #define | CONF_GENERAL_FILE "general" |
| General configuration file. | |
Modules definitions | |
| #define | DP8390_FILENAME "/srv/dp8390" |
| DP8390 network interface module full path filename. | |
| #define | DP8390_NAME "dp8390" |
| DP8390 network interface module name. | |
| #define | ETHERNET_FILENAME "/srv/eth" |
| Ethernet module full path filename. | |
| #define | ETHERNET_NAME "ethernet" |
| Ethernet module name. | |
| #define | IP_FILENAME "/srv/ip" |
| IP module full path filename. | |
| #define | IP_NAME "ip" |
| IP module name. | |
| #define | LO_FILENAME "/srv/lo" |
| Loopback network interface module full path filename. | |
| #define | LO_NAME "lo" |
| Loopback network interface module name. | |
| #define | NILDUMMY_FILENAME "/srv/nildummy" |
| Ethernet module full path filename. | |
| #define | NILDUMMY_NAME "nildummy" |
| Ethernet module name. | |
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. | |
Typedefs | |
| typedef struct net_globals | net_globals_t |
| Type definition of the networking module global data. | |
| typedef struct netif | netif_t |
| Type definition of the network interface specific data. | |
| typedef netif_t * | netif_ref |
| Type definition of the network interface specific data pointer. | |
Functions | |
| int | add_configuration (measured_strings_ref configuration, const char *name, const char *value) |
| Adds the configured setting to the configuration map. | |
| int | net_initialize_build (async_client_conn_t client_connection) |
| Initializes the networking module for the chosen subsystem build type. | |
| int | net_message (ipc_callid_t callid, ipc_call_t *call, ipc_call_t *answer, int *answer_count) |
| Processes the networking message. | |
External module functions. | |
| int | module_message (ipc_callid_t callid, ipc_call_t *call, ipc_call_t *answer, int *answer_count) |
| External message processing function. | |
Networking subsystem central module.
1.6.1