TuyaOS
成员变量
ip_globals结构体 参考

#include <ip.h>

ip_globals 的协作图:
Collaboration graph
[图例]

成员变量

struct netifcurrent_input_netif
 
u16_t current_ip_header_tot_len
 
ip_addr_t current_iphdr_dest
 
ip_addr_t current_iphdr_src
 
struct netifcurrent_netif
 

详细描述

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

结构体成员变量说明

◆ 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_dest

ip_addr_t ip_globals::current_iphdr_dest

Destination IP address of current_header

◆ current_iphdr_src

ip_addr_t ip_globals::current_iphdr_src

Source IP address of current_header

◆ current_netif

struct netif* ip_globals::current_netif

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


该结构体的文档由以下文件生成: