tcpdump  4.99.1
About: tcpdump is a tool for network monitoring and data acquisition.
  Fossies Dox: tcpdump-4.99.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

print-arista.c File Reference
#include "netdissect-stdinc.h"
#include "netdissect.h"
#include "extract.h"
#include "addrtoname.h"
Include dependency graph for print-arista.c:

Go to the source code of this file.


#define ARISTA_TIMESTAMP_64_TAI   0x0010
#define ARISTA_TIMESTAMP_64_UTC   0x0110
#define ARISTA_TIMESTAMP_48_TAI   0x0020
#define ARISTA_TIMESTAMP_48_UTC   0x0120


static void arista_print_date_hms_time (netdissect_options *ndo, uint32_t seconds, uint32_t nanoseconds)
int arista_ethertype_print (netdissect_options *ndo, const u_char *bp, u_int len)


static const struct tok ts_version_name []

Macro Definition Documentation



Definition at line 15 of file print-arista.c.


#define ARISTA_TIMESTAMP_48_TAI   0x0020

Definition at line 19 of file print-arista.c.


#define ARISTA_TIMESTAMP_48_UTC   0x0120

Definition at line 20 of file print-arista.c.


#define ARISTA_TIMESTAMP_64_TAI   0x0010

Definition at line 17 of file print-arista.c.


#define ARISTA_TIMESTAMP_64_UTC   0x0110

Definition at line 18 of file print-arista.c.

Function Documentation

◆ arista_ethertype_print()

◆ arista_print_date_hms_time()

static void arista_print_date_hms_time ( netdissect_options ndo,
uint32_t  seconds,
uint32_t  nanoseconds 

Definition at line 31 of file print-arista.c.

References BUFSIZE, ND_PRINT, and strftime().

Referenced by arista_ethertype_print().

Variable Documentation

◆ ts_version_name

const struct tok ts_version_name[]
Initial value:
= {
{ 0x0010 , "TAI(64-bit)" },
{ 0x0110 , "UTC(64-bit)" },
{ 0x0020 , "TAI(48-bit)" },
{ 0x0120 , "UTC(48-bit)" },
{ 0, NULL }

Definition at line 1 of file print-arista.c.

Referenced by arista_ethertype_print().