Home
last modified time | relevance | path

Searched refs:fddip (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/tcpdump/
H A Dprint-fddi.c228 extract_fddi_addrs(const struct fddi_header *fddip, char *fsrc, char *fdst) in extract_fddi_addrs() argument
238 fdst[i] = fddi_bit_swap[fddip->fddi_dhost[i]]; in extract_fddi_addrs()
240 fsrc[i] = fddi_bit_swap[fddip->fddi_shost[i]]; in extract_fddi_addrs()
242 memcpy(fdst, (const char *)fddip->fddi_dhost, 6); in extract_fddi_addrs()
243 memcpy(fsrc, (const char *)fddip->fddi_shost, 6); in extract_fddi_addrs()
252 const struct fddi_header *fddip, u_int length, in fddi_hdr_print() argument
261 print_fddi_fc(ndo, GET_U_1(fddip->fddi_fc)); in fddi_hdr_print()
276 const struct fddi_header *fddip = (const struct fddi_header *)p; in fddi_print() local
288 fc = GET_U_1(fddip->fddi_fc); in fddi_print()
293 extract_fddi_addrs(fddip, (char *)srcmac, (char *)dstmac); in fddi_print()
[all …]