Lines Matching refs:ndo
53 fwaddr_string(netdissect_options *ndo, const u_char *addr)
55 return (linkaddr_string(ndo, addr, LINKADDR_IEEE1394, FIREWIRE_EUI64_LEN));
59 ap1394_hdr_print(netdissect_options *ndo, register const u_char *bp, u_int length)
66 ND_PRINT((ndo, "%s > %s",
67 fwaddr_string(ndo, fp->firewire_shost),
68 fwaddr_string(ndo, fp->firewire_dhost)));
71 if (!ndo->ndo_qflag) {
72 ND_PRINT((ndo, ", ethertype %s (0x%04x)",
76 ND_PRINT((ndo, ", %s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", firewire_type)));
79 ND_PRINT((ndo, ", length %u: ", length));
89 ap1394_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p)
98 ND_PRINT((ndo, "[|ap1394]"));
102 if (ndo->ndo_eflag)
103 ap1394_hdr_print(ndo, p, length);
115 if (ethertype_print(ndo, ether_type, p, length, caplen, &src, &dst) == 0) {
117 if (!ndo->ndo_eflag)
118 ap1394_hdr_print(ndo, (const u_char *)fp, length + FIREWIRE_HDRLEN);
120 if (!ndo->ndo_suppress_default_print)