Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
ip_globals Struct Reference
Global variables of this module, kept in a struct for efficient access using base+index. More...
#include <ip.h>
Data Fields | |
struct netif * | current_netif |
The interface that accepted the packet for the current callback invocation. | |
struct netif * | current_input_netif |
The interface that received the packet for the current callback invocation. | |
struct ip_hdr * | current_ip4_header |
Header of the input packet currently being processed. | |
struct ip6_hdr * | current_ip6_header |
Header of the input IPv6 packet currently being processed. | |
u16_t | current_ip_header_tot_len |
Total header length of current_ip4/6_header (i.e. | |
ip_addr_t | current_iphdr_src |
Source IP address of current_header. | |
ip_addr_t | current_iphdr_dest |
Destination IP address of current_header. |
Detailed Description
Global variables of this module, kept in a struct for efficient access using base+index.
Definition at line 105 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/ip.h.
Field Documentation
struct netif* current_input_netif |
The interface that received the packet for the current callback invocation.
Definition at line 110 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/ip.h.
struct ip_hdr* current_ip4_header |
Header of the input packet currently being processed.
Definition at line 113 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/ip.h.
struct ip6_hdr* current_ip6_header |
Header of the input IPv6 packet currently being processed.
Definition at line 117 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/ip.h.
Total header length of current_ip4/6_header (i.e.
after this, the UDP/TCP header starts)
Definition at line 120 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/ip.h.
Destination IP address of current_header.
Definition at line 124 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/ip.h.
Source IP address of current_header.
Definition at line 122 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/ip.h.
struct netif* current_netif |
The interface that accepted the packet for the current callback invocation.
Definition at line 108 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/ip.h.
Generated on Tue Jul 12 2022 12:22:44 by
