FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
pcap2cinit.c File Reference

Functions to convert PCAP file format to a u8 ** initializer. More...

+ Include dependency graph for pcap2cinit.c:

Go to the source code of this file.

Functions

int pcap2cinit (pcap_main_t *pm, FILE *ofp)
 Conversion of PCAP file to u8 ** initializer stanzas. More...
 
int main (int argc, char **argv)
 pcap2pg. More...
 

Variables

pcap_main_t pcap_main
 

Detailed Description

Functions to convert PCAP file format to a u8 ** initializer.

Definition in file pcap2cinit.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

pcap2pg.

usage: pcap2pg -i <input-file> [-o <output-file>]

Definition at line 74 of file pcap2cinit.c.

+ Here is the call graph for this function:

◆ pcap2cinit()

int pcap2cinit ( pcap_main_t pm,
FILE *  ofp 
)

Conversion of PCAP file to u8 ** initializer stanzas.

Parameters
*pm- pcap_main_t
*ofp- FILE
Returns
rc - int

Definition at line 38 of file pcap2cinit.c.

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

Variable Documentation

◆ pcap_main

pcap_main_t pcap_main

Definition at line 26 of file pcap2cinit.c.