Lines Matching refs:fddip
230 extract_fddi_addrs(const struct fddi_header *fddip, char *fsrc, char *fdst) in extract_fddi_addrs() argument
240 fdst[i] = fddi_bit_swap[fddip->fddi_dhost[i]]; in extract_fddi_addrs()
242 fsrc[i] = fddi_bit_swap[fddip->fddi_shost[i]]; in extract_fddi_addrs()
245 memcpy(fdst, (const char *)fddip->fddi_dhost, 6); in extract_fddi_addrs()
246 memcpy(fsrc, (const char *)fddip->fddi_shost, 6); in extract_fddi_addrs()
255 register const struct fddi_header *fddip, register u_int length, in fddi_hdr_print() argument
264 print_fddi_fc(ndo, fddip->fddi_fc); in fddi_hdr_print()
279 const struct fddi_header *fddip = (const struct fddi_header *)p; in fddi_print() local
292 extract_fddi_addrs(fddip, (char *)ESRC(&ehdr), (char *)EDST(&ehdr)); in fddi_print()
295 fddi_hdr_print(ndo, fddip, length, ESRC(&ehdr), EDST(&ehdr)); in fddi_print()
308 if ((fddip->fddi_fc & FDDIFC_CLFF) == FDDIFC_LLC_ASYNC) { in fddi_print()
320 } else if ((fddip->fddi_fc & FDDIFC_CLFF) == FDDIFC_SMT) { in fddi_print()
326 fddi_hdr_print(ndo, fddip, length + FDDI_HDRLEN, ESRC(&ehdr), in fddi_print()