Home
last modified time | relevance | path

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

/dragonfly/sys/netproto/802_11/wlan/
H A Dieee80211_input.c320 struct llc *llc; in ieee80211_decap() local
325 if (m->m_len < hdrlen + sizeof(*llc) && in ieee80211_decap()
332 llc = (struct llc *)(mtod(m, caddr_t) + hdrlen); in ieee80211_decap()
333 if (llc->llc_dsap == LLC_SNAP_LSAP && llc->llc_ssap == LLC_SNAP_LSAP && in ieee80211_decap()
334 llc->llc_control == LLC_UI && llc->llc_snap.org_code[0] == 0 && in ieee80211_decap()
335 llc->llc_snap.org_code[1] == 0 && llc->llc_snap.org_code[2] == 0 && in ieee80211_decap()
340 llc = NULL; in ieee80211_decap()
370 if (llc != NULL) { in ieee80211_decap()
385 struct llc *llc; in ieee80211_decap1() local
398 llc = (struct llc *)&eh[1]; /* 802.2 header follows */ in ieee80211_decap1()
[all …]
H A Dieee80211_superg.c264 struct llc *llc; in ieee80211_ff_decap() local
285 llc = (struct llc *)(mtod(m, uint8_t *) + in ieee80211_ff_decap()
356 struct llc *llc; in ieee80211_ff_encap() local
445 M_PREPEND(m1, sizeof(struct llc), M_NOWAIT); in ieee80211_ff_encap()
452 llc = mtod(m1, struct llc *); in ieee80211_ff_encap()
453 llc->llc_dsap = llc->llc_ssap = LLC_SNAP_LSAP; in ieee80211_ff_encap()
454 llc->llc_control = LLC_UI; in ieee80211_ff_encap()
455 llc->llc_snap.org_code[0] = ATH_FF_SNAP_ORGCODE_0; in ieee80211_ff_encap()
456 llc->llc_snap.org_code[1] = ATH_FF_SNAP_ORGCODE_1; in ieee80211_ff_encap()
457 llc->llc_snap.org_code[2] = ATH_FF_SNAP_ORGCODE_2; in ieee80211_ff_encap()
[all …]
H A Dieee80211_output.c1353 struct llc *llc; local
1503 llc = mtod(m, struct llc *);
1504 llc->llc_dsap = llc->llc_ssap = LLC_SNAP_LSAP;
1505 llc->llc_control = LLC_UI;
1506 llc->llc_snap.org_code[0] = 0;
1507 llc->llc_snap.org_code[1] = 0;
1508 llc->llc_snap.org_code[2] = 0;
3597 struct llc *llc; local
3602 llc = mtod(m, struct llc *);
3603 llc->llc_dsap = llc->llc_ssap = LLC_SNAP_LSAP;
[all …]
H A Dieee80211_mesh.c1286 struct llc *llc; in mesh_decap() local
1289 if (m->m_len < hdrlen + sizeof(*llc) && in mesh_decap()
1290 (m = m_pullup(m, hdrlen + sizeof(*llc))) == NULL) { in mesh_decap()
1303 llc = (struct llc *)(mtod(m, caddr_t) + hdrlen); in mesh_decap()
1304 if (llc->llc_dsap == LLC_SNAP_LSAP && llc->llc_ssap == LLC_SNAP_LSAP && in mesh_decap()
1305 llc->llc_control == LLC_UI && llc->llc_snap.org_code[0] == 0 && in mesh_decap()
1306 llc->llc_snap.org_code[1] == 0 && llc->llc_snap.org_code[2] == 0 && in mesh_decap()
1310 m_adj(m, hdrlen + sizeof(struct llc) - sizeof(*eh)); in mesh_decap()
1311 llc = NULL; in mesh_decap()
1355 if (llc != NULL) { in mesh_decap()
[all …]
/dragonfly/lib/libutil/
H A Dlogin_class.c322 login_cap_t *llc = NULL; in setusercontext() local
327 llc = lc; /* free this when we're done */ in setusercontext()
369 login_close(llc); in setusercontext()
375 login_close(llc); in setusercontext()
383 login_close(llc); in setusercontext()
389 login_close(llc); in setusercontext()
/dragonfly/sys/net/
H A Dif_ethersubr.c904 struct llc *llc = (struct llc *)(eh + 1); in altq_etherclassify() local
908 llc->llc_dsap != LLC_SNAP_LSAP || in altq_etherclassify()
909 llc->llc_ssap != LLC_SNAP_LSAP || in altq_etherclassify()
910 llc->llc_control != LLC_UI) in altq_etherclassify()
913 ether_type = ntohs(llc->llc_un.type_snap.ether_type); in altq_etherclassify()
H A Dif_llc.h49 struct llc { struct
/dragonfly/sys/net/bridge/
H A Dif_bridge.c469 struct ether_header *, int, struct llc *);
3977 struct llc llc1; in bridge_pfil()
4002 struct llc *llc2 = (struct llc *)(eh1 + 1); in bridge_pfil()
4049 m_copydata(*mp, 0, sizeof(struct llc), &llc1); in bridge_pfil()
4050 m_adj(*mp, sizeof(struct llc)); in bridge_pfil()
4180 M_PREPEND(*mp, sizeof(struct llc), M_NOWAIT); in bridge_pfil()
4183 bcopy(&llc1, mtod(*mp, caddr_t), sizeof(struct llc)); in bridge_pfil()
4369 int snap, struct llc *llc) in bridge_fragment() argument
4389 M_PREPEND(m0, sizeof(struct llc), M_NOWAIT); in bridge_fragment()
4394 bcopy(llc, mtod(m0, caddr_t), in bridge_fragment()
[all …]
/dragonfly/usr.sbin/tcpdump/
H A DMakefile37 print-l2tp.c print-lane.c print-ldp.c print-lisp.c print-llc.c \
/dragonfly/sys/dev/netif/wi/
H A Dif_wi.c956 const struct llc *llc; in wi_start() local
992 llc = (const struct llc *)( in wi_start()
994 frmhdr.wi_ehdr.ether_type = llc->llc_snap.ether_type; in wi_start()
/dragonfly/sys/dev/netif/ath/ath/
H A Dif_ath_tdma.c238 + sizeof(struct llc) \
/dragonfly/contrib/libpcap/
H A Dscanner.l349 llc return LLC;
/dragonfly/tools/tools/net80211/wesside/wesside/
H A Dwesside.c777 struct llc* h = (struct llc*) buf; in do_llc()
/dragonfly/contrib/tcpdump/
H A DCHANGES868 print-llc.c - strings for LLC names added.