iPXE
ipstat.h File Reference

IP statistics. More...

#include <ipxe/tables.h>

Go to the source code of this file.

Data Structures

struct  ip_statistics
 IP system statistics. More...
struct  ip_statistics_family
 An IP system statistics family. More...

Macros

#define IP_STATISTICS_FAMILIES    __table ( struct ip_statistics_family, "ip_statistics_families" )
 IP system statistics family table.
#define __ip_statistics_family(order)
 Declare an IP system statistics family.
#define IP_STATISTICS_IPV4   01
#define IP_STATISTICS_IPV6   02

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 FILE_SECBOOT (PERMITTED)

Detailed Description

IP statistics.

Definition in file ipstat.h.

Macro Definition Documentation

◆ IP_STATISTICS_FAMILIES

#define IP_STATISTICS_FAMILIES    __table ( struct ip_statistics_family, "ip_statistics_families" )

IP system statistics family table.

Definition at line 178 of file ipstat.h.

178#define IP_STATISTICS_FAMILIES \
179 __table ( struct ip_statistics_family, "ip_statistics_families" )

Referenced by ipstat().

◆ __ip_statistics_family

#define __ip_statistics_family ( order)
Value:
#define IP_STATISTICS_FAMILIES
IP system statistics family table.
Definition ipstat.h:178
#define __table_entry(table, idx)
Declare a linker table entry.
Definition tables.h:239

Declare an IP system statistics family.

Definition at line 182 of file ipstat.h.

182#define __ip_statistics_family( order ) \
183 __table_entry ( IP_STATISTICS_FAMILIES, order )

Referenced by __ip_statistics_family(), and __ip_statistics_family().

◆ IP_STATISTICS_IPV4

#define IP_STATISTICS_IPV4   01

Definition at line 185 of file ipstat.h.

Referenced by __ip_statistics_family().

◆ IP_STATISTICS_IPV6

#define IP_STATISTICS_IPV6   02

Definition at line 186 of file ipstat.h.

Referenced by __ip_statistics_family().

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )