Added netifapi_netif_set_addr()

This commit is contained in:
goldsimon
2009-10-27 20:29:16 +00:00
parent 2ff0ce2d0a
commit e2de2c6bb2
3 changed files with 44 additions and 0 deletions

View File

@@ -78,6 +78,11 @@ err_t netifapi_netif_add ( struct netif *netif,
err_t (* init)(struct netif *netif),
err_t (* input)(struct pbuf *p, struct netif *netif) );
err_t netifapi_netif_set_addr ( struct netif *netif,
struct ip_addr *ipaddr,
struct ip_addr *netmask,
struct ip_addr *gw );
err_t netifapi_netif_common ( struct netif *netif,
void (* voidfunc)(struct netif *netif),
err_t (* errtfunc)(struct netif *netif) );