Lines Matching defs:llc
335 * llc header.
338 struct llc llc;
340 M_PREPEND(m, sizeof(struct llc), M_DONTWAIT);
347 llc.llc_dsap = llc.llc_ssap = LLC_SNAP_LSAP;
348 llc.llc_control = LLC_UI;
349 memcpy(llc.llc_snap_org_code, at_org_code,
350 sizeof(llc.llc_snap_org_code));
351 llc.llc_snap_ether_type = htons(ETHERTYPE_ATALK);
352 memcpy(mtod(m, void *), &llc, sizeof(struct llc));
476 * is indeed contiguous, then to read the LLC and so on.
495 /* LLC/SNAP */
496 struct llc *llc = (struct llc *)(eh + 1);
500 llc->llc_dsap != LLC_SNAP_LSAP ||
501 llc->llc_ssap != LLC_SNAP_LSAP ||
502 llc->llc_control != LLC_UI) {
507 ether_type = htons(llc->llc_un.type_snap.ether_type);
571 #if defined (LLC) || defined (NETATALK)
576 struct llc *l;
578 if (m->m_len < sizeof(*eh) + sizeof(struct llc))
581 l = (struct llc *)(eh+1);
596 + sizeof(struct llc));
606 + sizeof(struct llc));
635 #endif /* defined (LLC) || defined (NETATALK) */
879 #if defined (LLC) || defined (NETATALK)