Home
last modified time | relevance | path

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

/f-stack/freebsd/net80211/
H A Dieee80211_input.c301 struct llc *llc; in ieee80211_decap() local
306 if (m->m_len < hdrlen + sizeof(*llc) && in ieee80211_decap()
313 llc = (struct llc *)(mtod(m, caddr_t) + hdrlen); in ieee80211_decap()
314 if (llc->llc_dsap == LLC_SNAP_LSAP && llc->llc_ssap == LLC_SNAP_LSAP && in ieee80211_decap()
315 llc->llc_control == LLC_UI && llc->llc_snap.org_code[0] == 0 && in ieee80211_decap()
316 llc->llc_snap.org_code[1] == 0 && llc->llc_snap.org_code[2] == 0 && in ieee80211_decap()
321 llc = NULL; in ieee80211_decap()
351 if (llc != NULL) { in ieee80211_decap()
366 struct llc *llc; in ieee80211_decap1() local
379 llc = (struct llc *)&eh[1]; /* 802.2 header follows */ in ieee80211_decap1()
[all …]
H A Dieee80211_superg.c277 struct llc *llc; in ieee80211_ff_decap() local
298 llc = (struct llc *)(mtod(m, uint8_t *) + in ieee80211_ff_decap()
368 struct llc *llc; in ieee80211_ff_encap() local
457 M_PREPEND(m1, sizeof(struct llc), M_NOWAIT); in ieee80211_ff_encap()
464 llc = mtod(m1, struct llc *); in ieee80211_ff_encap()
465 llc->llc_dsap = llc->llc_ssap = LLC_SNAP_LSAP; in ieee80211_ff_encap()
466 llc->llc_control = LLC_UI; in ieee80211_ff_encap()
467 llc->llc_snap.org_code[0] = ATH_FF_SNAP_ORGCODE_0; in ieee80211_ff_encap()
468 llc->llc_snap.org_code[1] = ATH_FF_SNAP_ORGCODE_1; in ieee80211_ff_encap()
469 llc->llc_snap.org_code[2] = ATH_FF_SNAP_ORGCODE_2; in ieee80211_ff_encap()
[all …]
H A Dieee80211_output.c1202 struct llc *llc; in ieee80211_classify() local
1215 llc = (struct llc *)mtodo(m, hdrlen); in ieee80211_classify()
1473 struct llc *llc; in ieee80211_encap() local
1650 llc = mtod(m, struct llc *); in ieee80211_encap()
1651 llc->llc_dsap = llc->llc_ssap = LLC_SNAP_LSAP; in ieee80211_encap()
1652 llc->llc_control = LLC_UI; in ieee80211_encap()
1653 llc->llc_snap.org_code[0] = 0; in ieee80211_encap()
4049 struct llc *llc; in ieee80211_ff_encap1() local
4054 llc = mtod(m, struct llc *); in ieee80211_ff_encap1()
4055 llc->llc_dsap = llc->llc_ssap = LLC_SNAP_LSAP; in ieee80211_ff_encap1()
[all …]
H A Dieee80211_mesh.c1262 struct llc *llc; in mesh_decap() local
1265 if (m->m_len < hdrlen + sizeof(*llc) && in mesh_decap()
1266 (m = m_pullup(m, hdrlen + sizeof(*llc))) == NULL) { in mesh_decap()
1279 llc = (struct llc *)(mtod(m, caddr_t) + hdrlen); in mesh_decap()
1280 if (llc->llc_dsap == LLC_SNAP_LSAP && llc->llc_ssap == LLC_SNAP_LSAP && in mesh_decap()
1281 llc->llc_control == LLC_UI && llc->llc_snap.org_code[0] == 0 && in mesh_decap()
1282 llc->llc_snap.org_code[1] == 0 && llc->llc_snap.org_code[2] == 0 && in mesh_decap()
1286 m_adj(m, hdrlen + sizeof(struct llc) - sizeof(*eh)); in mesh_decap()
1287 llc = NULL; in mesh_decap()
1331 if (llc != NULL) { in mesh_decap()
[all …]
/f-stack/tools/libutil/
H A Dlogin_class.c430 login_cap_t *llc = NULL; in setusercontext() local
436 llc = lc; /* free this when we're done */ in setusercontext()
478 login_close(llc); in setusercontext()
484 login_close(llc); in setusercontext()
517 login_close(llc); in setusercontext()
527 login_close(llc); in setusercontext()
535 login_close(llc); in setusercontext()
/f-stack/freebsd/net/
H A Dif_fwsubr.c742 firewire_ifattach(struct ifnet *ifp, struct fw_hwaddr *llc) in firewire_ifattach() argument
752 fc->fc_speed = llc->sspd; in firewire_ifattach()
768 bcopy(llc, LLADDR(sdl), ifp->if_addrlen); in firewire_ifattach()
774 (uint8_t *) &llc->sender_unique_ID_hi, ":", in firewire_ifattach()
775 ntohs(llc->sender_unicast_FIFO_hi), in firewire_ifattach()
776 ntohl(llc->sender_unicast_FIFO_lo), in firewire_ifattach()
777 speeds[llc->sspd], in firewire_ifattach()
778 (2 << llc->sender_max_rec)); in firewire_ifattach()
H A Dif_llc.h48 struct llc { struct
120 CTASSERT(sizeof (struct llc) == LLC_SNAPFRAMELEN);
H A Dif_bridge.c388 struct ether_header *, int, struct llc *);
3173 struct llc llc1; in bridge_pfil()
3204 struct llc *llc2 = (struct llc *)(eh1 + 1); in bridge_pfil()
3263 m_copydata(*mp, 0, sizeof(struct llc), (caddr_t) &llc1); in bridge_pfil()
3264 m_adj(*mp, sizeof(struct llc)); in bridge_pfil()
3383 M_PREPEND(*mp, sizeof(struct llc), M_NOWAIT); in bridge_pfil()
3386 bcopy(&llc1, mtod(*mp, caddr_t), sizeof(struct llc)); in bridge_pfil()
3564 int snap, struct llc *llc) in bridge_fragment() argument
3588 M_PREPEND(mcur, sizeof(struct llc), M_NOWAIT); in bridge_fragment()
3595 bcopy(llc, mtod(mcur, caddr_t),sizeof(struct llc)); in bridge_fragment()
/f-stack/dpdk/doc/guides/nics/
H A Dtap.rst255 clang -O2 -emit-llvm -c tap_bpf_program.c -o - | llc -march=bpf \
/f-stack/freebsd/kern/
H A Dsched_ule.c1275 goto llc; in sched_pickcpu()
1304 llc: in sched_pickcpu()