FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
unix-formats.c File Reference
+ Include dependency graph for unix-formats.c:

Go to the source code of this file.

Data Structures

struct  icmp4_t
 
struct  arp_ether_ip4_t
 

Macros

#define foreach_unix_arphrd_type
 
#define foreach_unix_interface_flag
 
#define MAX_NUMNODES   16
 

Functions

u8format_address_family (u8 *s, va_list *va)
 
u8format_network_protocol (u8 *s, va_list *args)
 
u8format_network_port (u8 *s, va_list *args)
 
u8format_network_address (u8 *s, va_list *args)
 
u8format_sockaddr (u8 *s, va_list *args)
 
u8format_tcp4_packet (u8 *s, va_list *args)
 
u8format_udp4_packet (u8 *s, va_list *args)
 
u8format_icmp4_type_and_code (u8 *s, va_list *args)
 
u8format_icmp4_packet (u8 *s, va_list *args)
 
u8format_ip4_tos_byte (u8 *s, va_list *args)
 
u8format_ip4_packet (u8 *s, va_list *args)
 
u8format_unix_arphrd (u8 *s, va_list *args)
 
u8format_unix_interface_flags (u8 *s, va_list *args)
 
u8format_arp_packet (u8 *s, va_list *args)
 
u8format_ethernet_proto (u8 *s, va_list *args)
 
u8format_ethernet_packet (u8 *s, va_list *args)
 
u8format_hostname (u8 *s, va_list *args)
 
u8format_timeval (u8 *s, va_list *args)
 
u8format_time_float (u8 *s, va_list *args)
 
u8format_signal (u8 *s, va_list *args)
 
u8format_ucontext_pc (u8 *s, va_list *args)
 
uword unformat_unix_gid (unformat_input_t *input, va_list *args)
 
u8format_page_map (u8 *s, va_list *args)
 

Variables

static char * unix_interface_flag_names []
 

Macro Definition Documentation

◆ foreach_unix_arphrd_type

#define foreach_unix_arphrd_type

Definition at line 485 of file unix-formats.c.

◆ foreach_unix_interface_flag

#define foreach_unix_interface_flag
Value:
_ (up) \
_ (broadcast) \
_ (debug) \
_ (loopback) \
_ (pointopoint) \
_ (notrailers) \
_ (running) \
_ (noarp) \
_ (promisc) \
_ (allmulti) \
_ (master) \
_ (slave) \
_ (multicast) \
_ (portsel) \
_ (automedia) \
_ (dynamic) \
_ (lower_up) \
_ (dormant) \
_ (echo)

Definition at line 565 of file unix-formats.c.

◆ MAX_NUMNODES

#define MAX_NUMNODES   16

Definition at line 967 of file unix-formats.c.

Function Documentation

◆ format_address_family()

u8* format_address_family ( u8 s,
va_list *  va 
)

Definition at line 102 of file unix-formats.c.

◆ format_arp_packet()

u8* format_arp_packet ( u8 s,
va_list *  args 
)

Definition at line 622 of file unix-formats.c.

+ Here is the caller graph for this function:

◆ format_ethernet_packet()

u8* format_ethernet_packet ( u8 s,
va_list *  args 
)

Definition at line 720 of file unix-formats.c.

+ Here is the call graph for this function:

◆ format_ethernet_proto()

u8* format_ethernet_proto ( u8 s,
va_list *  args 
)

Definition at line 650 of file unix-formats.c.

+ Here is the caller graph for this function:

◆ format_hostname()

u8* format_hostname ( u8 s,
va_list *  args 
)

Definition at line 760 of file unix-formats.c.

+ Here is the call graph for this function:

◆ format_icmp4_packet()

u8* format_icmp4_packet ( u8 s,
va_list *  args 
)

Definition at line 417 of file unix-formats.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_icmp4_type_and_code()

u8* format_icmp4_type_and_code ( u8 s,
va_list *  args 
)

Definition at line 329 of file unix-formats.c.

+ Here is the caller graph for this function:

◆ format_ip4_packet()

u8* format_ip4_packet ( u8 s,
va_list *  args 
)

Definition at line 460 of file unix-formats.c.

+ Here is the call graph for this function:

◆ format_ip4_tos_byte()

u8* format_ip4_tos_byte ( u8 s,
va_list *  args 
)

Definition at line 430 of file unix-formats.c.

+ Here is the call graph for this function:

◆ format_network_address()

u8* format_network_address ( u8 s,
va_list *  args 
)

Definition at line 215 of file unix-formats.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_network_port()

u8* format_network_port ( u8 s,
va_list *  args 
)

Definition at line 196 of file unix-formats.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_network_protocol()

u8* format_network_protocol ( u8 s,
va_list *  args 
)

Definition at line 178 of file unix-formats.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_page_map()

u8* format_page_map ( u8 s,
va_list *  args 
)

Definition at line 969 of file unix-formats.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_signal()

u8* format_signal ( u8 s,
va_list *  args 
)

Definition at line 858 of file unix-formats.c.

+ Here is the caller graph for this function:

◆ format_sockaddr()

u8* format_sockaddr ( u8 s,
va_list *  args 
)

Definition at line 239 of file unix-formats.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_tcp4_packet()

u8* format_tcp4_packet ( u8 s,
va_list *  args 
)

Definition at line 289 of file unix-formats.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_time_float()

u8* format_time_float ( u8 s,
va_list *  args 
)

Definition at line 846 of file unix-formats.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_timeval()

u8* format_timeval ( u8 s,
va_list *  args 
)

Definition at line 771 of file unix-formats.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_ucontext_pc()

u8* format_ucontext_pc ( u8 s,
va_list *  args 
)

Definition at line 909 of file unix-formats.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_udp4_packet()

u8* format_udp4_packet ( u8 s,
va_list *  args 
)

Definition at line 314 of file unix-formats.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_unix_arphrd()

u8* format_unix_arphrd ( u8 s,
va_list *  args 
)

Definition at line 542 of file unix-formats.c.

+ Here is the call graph for this function:

◆ format_unix_interface_flags()

u8* format_unix_interface_flags ( u8 s,
va_list *  args 
)

Definition at line 592 of file unix-formats.c.

+ Here is the call graph for this function:

◆ unformat_unix_gid()

uword unformat_unix_gid ( unformat_input_t input,
va_list *  args 
)

Definition at line 943 of file unix-formats.c.

+ Here is the call graph for this function:

Variable Documentation

◆ unix_interface_flag_names

char* unix_interface_flag_names[]
static
Initial value:
= {
#define _(f)
}
#define foreach_unix_interface_flag
Definition: unix-formats.c:565

Definition at line 586 of file unix-formats.c.