Network Services API
2.50.00.07
|
Go to the source code of this file.
Data Structures | |
struct | SlNetIf_Config_t |
SlNetIf_Config_t structure contains all the function callbacks that are expected to be filled by the relevant network stack interface Each interface has different capabilities, so not all the API's must be supported therefore an API's can be defined as: More... | |
struct | SlNetIf_t |
The SlNetIf_t structure holds the configuration of the interface Its ID, name, flags and the configuration list - SlNetIf_Config_t. More... | |
Typedefs | |
typedef struct SlNetIf_Config_t | SlNetIf_Config_t |
SlNetIf_Config_t structure contains all the function callbacks that are expected to be filled by the relevant network stack interface Each interface has different capabilities, so not all the API's must be supported therefore an API's can be defined as: More... | |
typedef struct SlNetIf_t | SlNetIf_t |
The SlNetIf_t structure holds the configuration of the interface Its ID, name, flags and the configuration list - SlNetIf_Config_t. More... | |
Enumerations | |
enum | SlNetIfState_e { SLNETIF_STATE_DISABLE = 0, SLNETIF_STATE_ENABLE = 1 } |
Interface state bit pool to be used in set interface state function. More... | |
enum | SlNetIfAddressType_e { SLNETIF_IPV4_ADDR = 0, SLNETIF_IPV6_ADDR_LOCAL = 1, SLNETIF_IPV6_ADDR_GLOBAL = 2 } |
Address type enum to be used in get ip address function. More... | |
Functions | |
int32_t | SlNetIf_init (int32_t flags) |
Initialize the SlNetIf module. More... | |
int32_t | SlNetIf_add (uint16_t ifID, char *ifName, const SlNetIf_Config_t *ifConf, uint8_t priority) |
Add a new SlNetIf-compatible interface to the system. More... | |
SlNetIf_t * | SlNetIf_getIfByID (uint16_t ifID) |
Get interface configuration from interface ID. More... | |
SlNetIf_t * | SlNetIf_queryIf (uint32_t ifBitmap, uint32_t queryBitmap) |
Query for the highest priority interface, given a list of interfaces and properties. More... | |
const char * | SlNetIf_getNameByID (uint16_t ifID) |
Get interface Name from interface ID. More... | |
int32_t | SlNetIf_getIDByName (char *ifName) |
Get interface ID from interface name. More... | |
int32_t | SlNetIf_getPriority (uint16_t ifID) |
Get interface priority. More... | |
int32_t | SlNetIf_setPriority (uint16_t ifID, uint8_t priority) |
Set interface priority. More... | |
int32_t | SlNetIf_setState (uint16_t ifID, SlNetIfState_e ifState) |
Set interface state. More... | |
int32_t | SlNetIf_getState (uint16_t ifID) |
Get interface state. More... | |
int32_t | SlNetIf_getConnectionStatus (uint16_t ifID) |
Get the connection status of an interface. More... | |
int32_t | SlNetIf_getIPAddr (uint16_t ifID, SlNetIfAddressType_e addrType, uint16_t *addrConfig, uint32_t *ipAddr) |
Get IP Address of specific interface. More... | |
int32_t | SlNetIf_loadSecObj (uint16_t objType, char *objName, int16_t objNameLen, uint8_t *objBuff, int16_t objBuffLen, uint32_t ifBitmap) |
Load secured buffer to the network stack. More... | |