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.
Fork of mbed-os by
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 116 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 121 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 124 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 128 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 131 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/ip.h.
Destination IP address of current_header.
Definition at line 135 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/ip.h.
Source IP address of current_header.
Definition at line 133 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 119 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/ip.h.
Generated on Tue Jul 12 2022 13:16:52 by
