Lines Matching +full:wire +full:- +full:config
22 /* \summary: Apple IP-over-IEEE 1394 printer */
24 #include <config.h>
26 #include "netdissect-stdinc.h"
35 * Structure of a header for Apple's IP-over-IEEE 1384 BPF header.
66 fwaddr_string(ndo, fp->firewire_shost), in ap1394_hdr_print()
67 fwaddr_string(ndo, fp->firewire_dhost)); in ap1394_hdr_print()
69 firewire_type = GET_BE_U_2(fp->firewire_type); in ap1394_hdr_print()
70 if (!ndo->ndo_qflag) { in ap1394_hdr_print()
83 * to the ether header of the packet, 'h->ts' is the timestamp,
84 * 'h->len' is the length of the packet off the wire, and 'h->caplen'
90 u_int length = h->len; in ap1394_if_print()
91 u_int caplen = h->caplen; in ap1394_if_print()
96 ndo->ndo_protocol = "ap1394"; in ap1394_if_print()
98 ndo->ndo_ll_hdr_len += FIREWIRE_HDRLEN; in ap1394_if_print()
100 if (ndo->ndo_eflag) in ap1394_if_print()
103 length -= FIREWIRE_HDRLEN; in ap1394_if_print()
104 caplen -= FIREWIRE_HDRLEN; in ap1394_if_print()
108 ether_type = GET_BE_U_2(fp->firewire_type); in ap1394_if_print()
109 src.addr = fp->firewire_shost; in ap1394_if_print()
111 dst.addr = fp->firewire_dhost; in ap1394_if_print()
115 if (!ndo->ndo_eflag) in ap1394_if_print()
118 if (!ndo->ndo_suppress_default_print) in ap1394_if_print()