MityDSP Documentation Index

e:/hudson/workspace/MityDSP MDK Release/trunk/sw/inc/lwip_port/netif_access.h File Reference

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)

Detailed Description

Code to access certain netif parameters regardless of lwip options settings.

o 0 | / Copyright (c) 2009 (CL)---o Critical Link, LLC \ O


Enumeration Type Documentation

Enumerator:
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 

Function Documentation

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.

Parameters:
[in] apNetif Pointer to the netif structure to access.
[in] aeElem Enumeration representing element to access.
Returns:
Address of the element (NULL if not present)

  
Generated on Wed Mar 17 18:24:36 2010 for MityDSP lwIP Port by  Doxygen Version 1.6.1
Copyright © 2009, Critical Link LLC, All rights reserved.