Prusa MINI Firmware overview
ip_globals Struct Reference

#include <ip.h>

Collaboration diagram for ip_globals:

Public Attributes

struct netifcurrent_netif
 
struct netifcurrent_input_netif
 
u16_t current_ip_header_tot_len
 
ip_addr_t current_iphdr_src
 
ip_addr_t current_iphdr_dest
 

Detailed Description

Global variables of this module, kept in a struct for efficient access using base+index.

Member Data Documentation

◆ current_netif

struct netif* ip_globals::current_netif

The interface that accepted the packet for the current callback invocation.

◆ current_input_netif

struct netif* ip_globals::current_input_netif

The interface that received the packet for the current callback invocation.

◆ current_ip_header_tot_len

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)

◆ current_iphdr_src

ip_addr_t ip_globals::current_iphdr_src

Source IP address of current_header

◆ current_iphdr_dest

ip_addr_t ip_globals::current_iphdr_dest

Destination IP address of current_header