113 if (--iphdr->
hoplim == 0) {
220 LWIP_ASSERT(
"Can't move over header in packet", 0);
330#if LWIP_NETIF_HWADDRHINT
356 struct ip_hdr *iphdr =
p->payload;
371 (
ntohl(iphdr->src.addr[0]) >> 16) & 0xffff,
372 ntohl(iphdr->src.addr[0]) & 0xffff));
374 (
ntohl(iphdr->src.addr[1]) >> 16) & 0xffff,
375 ntohl(iphdr->src.addr[1]) & 0xffff));
377 (
ntohl(iphdr->src.addr[2]) >> 16) & 0xffff,
378 ntohl(iphdr->src.addr[2]) & 0xffff));
380 (
ntohl(iphdr->src.addr[3]) >> 16) & 0xffff,
381 ntohl(iphdr->src.addr[3]) & 0xffff));
384 (
ntohl(iphdr->
dest.addr[0]) >> 16) & 0xffff,
387 (
ntohl(iphdr->
dest.addr[1]) >> 16) & 0xffff,
390 (
ntohl(iphdr->
dest.addr[2]) >> 16) & 0xffff,
393 (
ntohl(iphdr->
dest.addr[3]) >> 16) & 0xffff,
err_t ip_output(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, u8_t ttl, u8_t proto)
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)
static void ip_forward(struct pbuf *p, struct ip_hdr *iphdr)
struct netif * ip_route(struct ip_addr *dest)
void ip_input(struct pbuf *p, struct netif *inp)
#define ip_debug_print(p)
#define LWIP_DEBUGF(debug, message)
#define LWIP_ASSERT(message, assertion)
#define LWIP_NETIF_HWADDRHINT
#define ip_addr_cmp(addr1, addr2)
#define ip_addr_isany(addr1)
#define ip_addr_netcmp(addr1, addr2, mask)
#define ip_addr_set(dest, src)
#define ip_addr_debug_print(debug, ipaddr)
struct netif * netif_list
struct netif * netif_default
u8_t pbuf_header(struct pbuf *p, s16_t header_size_increment)
void pbuf_realloc(struct pbuf *p, u16_t new_len)
u8_t pbuf_free(struct pbuf *p)