Code to access certain netif parameters regardless of lwip options settings. More...
#include "lwip/netif.h"
Enumerations | |
enum | netif_attrs { ee_next, ee_ip_addr, ee_netmask, ee_gw, ee_input, ee_output, ee_linkoutput, ee_status_callback, ee_link_callback, ee_state, ee_dhcp, ee_autoip, ee_hostname, ee_hwaddr_len, ee_hwaddr, ee_mtu, ee_flags, ee_name, ee_num, ee_link_type, ee_link_speed, ee_ts, ee_ifinoctets, ee_ifinucastpkts, ee_ifinnucastpkts, ee_ifindiscards, ee_ifoutoctets, ee_ifoutucastpkts, ee_ifoutnucastpkts, ee_ifoutdiscards, ee_igmp_mac_filter, ee_addr_hint } |
Functions | |
void * | netif_access (struct netif *apNetif, enum netif_attrs aeElem) |
Code to access certain netif parameters regardless of lwip options settings.
o 0 | / Copyright (c) 2009 (CL)---o Critical Link, LLC \ O
enum netif_attrs |
void* netif_access | ( | struct netif * | apNetif, | |
enum netif_attrs | aeElem | |||
) |
This function is used to access the netif structure in a manner that is independent of the lwipopts in effect when a dependent library is built. The main purpose is to allow more options to be modifyable without requiring that the MityDSP net library be recompiled.
[in] | apNetif | Pointer to the netif structure to access. |
[in] | aeElem | Enumeration representing element to access. |