|
lwIP
2.1.3
Lightweight IP stack
|
#include <ip.h>
Data Fields | |
| struct netif * | current_netif |
| struct netif * | current_input_netif |
| const struct ip_hdr * | current_ip4_header |
| struct ip6_hdr * | current_ip6_header |
| u16_t | current_ip_header_tot_len |
| ip_addr_t | current_iphdr_src |
| ip_addr_t | current_iphdr_dest |
Global variables of this module, kept in a struct for efficient access using base+index.
| struct netif* ip_globals::current_input_netif |
The interface that received the packet for the current callback invocation.
| const struct ip_hdr* ip_globals::current_ip4_header |
Header of the input packet currently being processed.
| struct ip6_hdr* ip_globals::current_ip6_header |
Header of the input IPv6 packet currently being processed.
| u16_t ip_globals::current_ip_header_tot_len |
Total header length of current_ip4/6_header (i.e. after this, the UDP/TCP header starts)
| ip_addr_t ip_globals::current_iphdr_dest |
Destination IP address of current_header
| ip_addr_t ip_globals::current_iphdr_src |
Source IP address of current_header
| struct netif* ip_globals::current_netif |
The interface that accepted the packet for the current callback invocation.