from ip.h:107
struct ip_globals
{
struct netif *current_netif;
struct netif *current_input_netif;
#if LWIP_IPV4
const struct ip_hdr *current_ip4_header;
#endif
#if LWIP_IPV6
struct ip6_hdr *current_ip6_header;
#endif
u16_t current_ip_header_tot_len;
ip_addr_t current_iphdr_src;
ip_addr_t current_iphdr_dest;
};