38 #include "lwip/ip_addr.h" 48 #define IP_PROTO_ICMP 58 49 #define IP_PROTO_UDP 17 50 #define IP_PROTO_UDPLITE 136 51 #define IP_PROTO_TCP 6 59 #define IP_HDRINCL NULL 61 #if LWIP_NETIF_HWADDRHINT 62 #define IP_PCB_ADDRHINT ;u8_t addr_hint 64 #define IP_PCB_ADDRHINT 71 #define IP_PCB struct ip_addr local_ip; \ 72 struct ip_addr remote_ip; \ 85 #if BYTE_ORDER == LITTLE_ENDIAN 99 #define IPH_PROTO(hdr) (iphdr->nexthdr) 117 #define ip_current_netif() NULL 118 #define ip_current_header() NULL
err_t ip_output_if(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif)
err_t ip_output(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto)
struct netif * ip_route(ip_addr_t *dest)
err_t ip_input(struct pbuf *p, struct netif *inp)
#define ip_debug_print(p)