FD.io VPP  v18.11-rc0-18-g2a3fb1a
Vector Packet Processing
icmp_proto.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  icmpr_flow_mode_t { ICMPR_FLOW_MODE_ETH = 0, ICMPR_FLOW_MODE_IP }
 

Functions

int resolve_packet (void *in_pck, ssize_t in_size, void *out_pck, uint32_t *out_size, uint8_t ip_addr[4])
 
int resolve_packet2 (void *pck, uint32_t *size, uint8_t ip_addr[4])
 
int resolve_packet3 (void **pck, uint32_t *size, uint8_t ip_addr[4])
 
int generate_packet (void *pck, uint32_t *size, uint8_t saddr[4], uint8_t daddr[4], uint8_t hw_daddr[6], uint32_t seq)
 
int generate_packet2 (void *pck, uint32_t *size, uint8_t saddr[4], uint8_t daddr[4], uint8_t hw_daddr[6], uint32_t seq, icmpr_flow_mode_t)
 
int print_packet (void *pck)
 

Enumeration Type Documentation

Enumerator
ICMPR_FLOW_MODE_ETH 
ICMPR_FLOW_MODE_IP 

Definition at line 21 of file icmp_proto.h.

Function Documentation

int generate_packet ( void *  pck,
uint32_t *  size,
uint8_t  saddr[4],
uint8_t  daddr[4],
uint8_t  hw_daddr[6],
uint32_t  seq 
)

Definition at line 314 of file icmp_proto.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int generate_packet2 ( void *  pck,
uint32_t *  size,
uint8_t  saddr[4],
uint8_t  daddr[4],
uint8_t  hw_daddr[6],
uint32_t  seq,
icmpr_flow_mode_t   
)

Definition at line 343 of file icmp_proto.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int print_packet ( void *  pck)

Definition at line 73 of file icmp_proto.c.

+ Here is the caller graph for this function:

int resolve_packet ( void *  in_pck,
ssize_t  in_size,
void *  out_pck,
uint32_t *  out_size,
uint8_t  ip_addr[4] 
)

Definition at line 208 of file icmp_proto.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int resolve_packet2 ( void *  pck,
uint32_t *  size,
uint8_t  ip_addr[4] 
)

Definition at line 381 of file icmp_proto.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int resolve_packet3 ( void **  pck,
uint32_t *  size,
uint8_t  ip_addr[4] 
)

Definition at line 458 of file icmp_proto.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: