Lines Matching +full:wire +full:- +full:config
5 /* \summary: Per-Packet Information (DLT_PPI) printer */
8 * Per-Packet Information Header Specification - Version 1.0.7
12 #include <config.h>
14 #include "netdissect-stdinc.h"
43 len = GET_LE_U_2(hdr->ppi_len);
44 dlt = GET_LE_U_4(hdr->ppi_dlt);
47 if (!ndo->ndo_qflag) {
48 ND_PRINT("V.%u DLT %s (%u) len %u", GET_U_1(hdr->ppi_ver),
60 * to the ether header of the packet, 'h->ts' is the timestamp,
61 * 'h->len' is the length of the packet off the wire, and 'h->caplen'
70 u_int caplen = h->caplen;
71 u_int length = h->len;
77 ndo->ndo_protocol = "ppi";
80 ndo->ndo_ll_hdr_len += caplen;
85 len = GET_LE_U_2(hdr->ppi_len);
91 ndo->ndo_ll_hdr_len += caplen;
100 ndo->ndo_ll_hdr_len += caplen;
103 dlt = GET_LE_U_4(hdr->ppi_dlt);
105 if (ndo->ndo_eflag)
108 length -= len;
109 caplen -= len;
118 hdrlen = ndo->ndo_ll_hdr_len;
120 if (!ndo->ndo_eflag)
123 if (!ndo->ndo_suppress_default_print)
127 ndo->ndo_ll_hdr_len += len + hdrlen;