Choco OS
V.0.16.9.0
Join to the chocolate world
|
Stores interface of netif manager module. More...
#include <oc_netif.h>
Go to the source code of this file.
Data Structures | |
struct | oC_NetifMan_RoutingTableEntry_t |
stores entry of the routing table More... | |
Typedefs | |
typedef bool(* | oC_NetifMan_PacketFilterFunction_t) (oC_Net_Packet_t *ReceivedPacket, const void *Parameter, oC_Netif_t Netif) |
stores pointer to the function to filter packets More... | |
Functions | |
oC_ErrorCode_t | oC_NetifMan_TurnOff (void) |
releases module resources More... | |
void | oC_NetifMan_ConfigureAll (void) |
configures all network interface More... | |
void | oC_NetifMan_UnconfigureAll (void) |
unconfigures all network interface More... | |
oC_Netif_t | oC_NetifMan_GetNetif (oC_Netif_FriendlyName_t FriendlyName) |
returns #Netif with the given name More... | |
oC_Netif_t | oC_NetifMan_GetNetifForAddress (const oC_Net_Address_t *Destination) |
returns network interface according to destination address More... | |
oC_ErrorCode_t | oC_NetifMan_AddNetifToList (oC_Netif_t Netif) |
adds new netif to the list More... | |
oC_ErrorCode_t | oC_NetifMan_RemoveNetifFromList (oC_Netif_t Netif) |
removes a Netif object from the list More... | |
oC_ErrorCode_t | oC_NetifMan_AddRoutingTableEntry (const oC_Net_Address_t *Destination, const oC_Net_Address_t *Netmask, oC_Net_Cost_t Cost, oC_Netif_t Netif) |
adds an entry to the routing table More... | |
oC_ErrorCode_t | oC_NetifMan_RemoveRoutingTableEntry (const oC_Net_Address_t *Destination, const oC_Net_Address_t *Netmask, oC_Netif_t Netif) |
removes entry from the Routing Table More... | |
oC_List (oC_Netif_t) oC_NetifMan_GetList(void) | |
returns list of network interfaces More... | |
oC_ErrorCode_t | oC_NetifMan_SendPacket (const oC_Net_Address_t *Address, oC_Net_Packet_t *Packet, oC_Time_t Timeout, oC_Netif_t *outNetif) |
sends packet via active network interface More... | |
oC_ErrorCode_t | oC_NetifMan_ReceivePacket (const oC_Net_Address_t *Address, oC_Net_Packet_t *outPacket, oC_Time_t Timeout, oC_Netif_t *outNetif, oC_NetifMan_PacketFilterFunction_t FilterFunction, const void *Parameter) |
receives packet from the network More... | |
void | oC_NetifMan_UpdateRoutingTable (void) |
updates active routing table More... | |
oC_ErrorCode_t | oC_NetifMan_StartDaemon (void) |
starts the NetifMan daemon More... | |
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Definition in file oc_netifman.h.