Added ip_current_netif() & ip_current_header() to receive extended info about the currently received packet.

This commit is contained in:
goldsimon
2009-05-05 17:50:39 +00:00
parent 99d82c4980
commit 14dba4ae2b
4 changed files with 54 additions and 0 deletions

View File

@@ -114,6 +114,9 @@ err_t ip_output_if(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest,
u8_t ttl, u8_t proto,
struct netif *netif);
#define ip_current_netif() NULL
#define ip_current_header() NULL
#if IP_DEBUG
void ip_debug_print(struct pbuf *p);
#endif /* IP_DEBUG */