/freebsd/sys/net80211/ |
H A D | ieee80211_input.c | 319 struct llc *llc; in ieee80211_decap() local 324 if (m->m_len < hdrlen + sizeof(*llc) && in ieee80211_decap() 325 (m = m_pullup(m, hdrlen + sizeof(*llc))) == NULL) { in ieee80211_decap() 331 llc = (struct llc *)(mtod(m, caddr_t) + hdrlen); in ieee80211_decap() 332 if (llc->llc_dsap == LLC_SNAP_LSAP && llc->llc_ssap == LLC_SNAP_LSAP && in ieee80211_decap() 333 llc->llc_control == LLC_UI && llc->llc_snap.org_code[0] == 0 && in ieee80211_decap() 334 llc->llc_snap.org_code[1] == 0 && llc->llc_snap.org_code[2] == 0 && in ieee80211_decap() 336 !(llc->llc_snap.ether_type == htons(ETHERTYPE_AARP) || in ieee80211_decap() 337 llc->llc_snap.ether_type == htons(ETHERTYPE_IPX)) && in ieee80211_decap() 340 m_adj(m, hdrlen + sizeof(struct llc) - sizeof(*eh)); in ieee80211_decap() [all …]
|
H A D | ieee80211_superg.c | 273 #define FF_LLC_SIZE (sizeof(struct ether_header) + sizeof(struct llc)) in ieee80211_ff_decap() 275 struct llc *llc; in ieee80211_ff_decap() local 296 llc = (struct llc *)(mtod(m, uint8_t *) + in ieee80211_ff_decap() 298 if (llc->llc_snap.ether_type != htons(ATH_FF_ETH_TYPE)) in ieee80211_ff_decap() 366 struct llc *llc; in ieee80211_ff_encap() local 455 M_PREPEND(m1, sizeof(struct llc), IEEE80211_M_NOWAIT); in ieee80211_ff_encap() 462 llc = mtod(m1, struct llc *); in ieee80211_ff_encap() 463 llc->llc_dsap = llc->llc_ssap = LLC_SNAP_LSAP; in ieee80211_ff_encap() 464 llc->llc_control = LLC_UI; in ieee80211_ff_encap() 465 llc->llc_snap.org_code[0] = ATH_FF_SNAP_ORGCODE_0; in ieee80211_ff_encap() [all …]
|
H A D | ieee80211_output.c | 1206 struct llc *llc; in ieee80211_classify() local 1216 if (m->m_pkthdr.len < hdrlen + sizeof(*llc)) in ieee80211_classify() 1219 llc = (struct llc *)mtodo(m, hdrlen); in ieee80211_classify() 1220 if (llc->llc_dsap != LLC_SNAP_LSAP || in ieee80211_classify() 1221 llc->llc_ssap != LLC_SNAP_LSAP || in ieee80211_classify() 1222 llc->llc_control != LLC_UI || in ieee80211_classify() 1223 llc->llc_snap.org_code[0] != 0 || in ieee80211_classify() 1224 llc->llc_snap.org_code[1] != 0 || in ieee80211_classify() 1225 llc->llc_snap.org_code[2] != 0) in ieee80211_classify() 1228 ether_type = llc->llc_snap.ether_type; in ieee80211_classify() [all …]
|
H A D | ieee80211_mesh.c | 1258 struct llc *llc; in mesh_decap() local 1261 if (m->m_len < hdrlen + sizeof(*llc) && in mesh_decap() 1262 (m = m_pullup(m, hdrlen + sizeof(*llc))) == NULL) { in mesh_decap() 1275 llc = (struct llc *)(mtod(m, caddr_t) + hdrlen); in mesh_decap() 1276 if (llc->llc_dsap == LLC_SNAP_LSAP && llc->llc_ssap == LLC_SNAP_LSAP && in mesh_decap() 1277 llc->llc_control == LLC_UI && llc->llc_snap.org_code[0] == 0 && in mesh_decap() 1278 llc->llc_snap.org_code[1] == 0 && llc->llc_snap.org_code[2] == 0 && in mesh_decap() 1280 !(llc->llc_snap.ether_type == htons(ETHERTYPE_AARP) || in mesh_decap() 1281 llc->llc_snap.ether_type == htons(ETHERTYPE_IPX))) { in mesh_decap() 1282 m_adj(m, hdrlen + sizeof(struct llc) - sizeof(*eh)); in mesh_decap() [all …]
|
/freebsd/tests/sys/net/ |
H A D | stp.py | 59 llc = sp.Ether(src="00:0c:29:0b:91:0a", dst="01:80:C2:00:00:00") \ 63 stp = llc / sp.STP(proto=0, rootid=32768, rootmac="00:0c:29:01:01:01", \ 67 stp = llc / sp.STP(proto=0, rootid=32768, rootmac="00:0c:29:01:01:01", \ 73 stp = llc / sp.STP(proto=0, rootid=32768, rootmac="00:0c:29:01:01:01", \ 77 stp = llc / sp.STP(proto=0, rootid=32768, rootmac="00:0c:29:01:01:01", \ 83 stp = llc / sp.STP(proto=0, rootid=32768, rootmac="00:0c:29:01:01:01", \ 87 stp = llc / sp.STP(proto=0, rootid=32768, rootmac="00:0c:29:01:01:01", \
|
/freebsd/contrib/wpa/wpa_supplicant/examples/ |
H A D | wps-nfc.py | 139 def __init__(self, llc): argument 140 super(HandoverServer, self).__init__(llc) 203 def wps_handover_init(llc): argument 224 client = nfc.handover.HandoverClient(llc) 392 def llcp_worker(llc): argument 395 wps_handover_init(llc) 405 def llcp_startup(clf, llc): argument 410 srv = HandoverServer(llc) 417 return llc 419 def llcp_connected(llc): argument [all …]
|
H A D | p2p-nfc.py | 153 def p2p_handover_client(llc): argument 188 client = nfc.handover.HandoverClient(llc) 260 def __init__(self, llc): argument 261 super(HandoverServer, self).__init__(llc) 475 def llcp_worker(llc): argument 479 p2p_handover_client(llc) 510 p2p_handover_client(llc) 516 def llcp_startup(clf, llc): argument 519 srv = HandoverServer(llc) 520 return llc [all …]
|
H A D | dpp-nfc.py | 283 def __init__(self, handover, llc): argument 284 super(HandoverClient, self).__init__(llc) 369 client = HandoverClient(handover, handover.llc) 527 def __init__(self, handover, llc): argument 528 super(HandoverServer, self).__init__(llc) 532 self.llc = llc 726 args=(self.llc, True)) 868 def llcp_worker(llc, try_alt): argument 949 def start_handover_server(self, llc): argument 951 self.llc = llc [all …]
|
/freebsd/usr.bin/clang/llc/ |
H A D | Makefile | 1 PROG_CXX= llc 3 SRCDIR= llvm/tools/llc 5 SRCS+= llc.cpp
|
/freebsd/contrib/wpa/hostapd/ |
H A D | wps-ap-nfc.py | 111 def __init__(self, llc): argument 112 super(HandoverServer, self).__init__(llc) 252 def llcp_startup(clf, llc): argument 255 srv = HandoverServer(llc) 256 return llc 258 def llcp_connected(llc): argument
|
/freebsd/sbin/ipf/libipf/ |
H A D | ipft_pc.c | 13 struct llc { struct 25 static struct llc llcs[] = { argument 57 static struct llc *llcp = NULL; 203 struct llc *l; in ipcap_readip()
|
/freebsd/lib/libutil/ |
H A D | login_class.c | 533 login_cap_t *llc = NULL; in setusercontext() local 538 llc = lc; /* free this when we're done */ in setusercontext() 556 login_close(llc); in setusercontext() 562 login_close(llc); in setusercontext() 595 login_close(llc); in setusercontext() 605 login_close(llc); in setusercontext() 612 login_close(llc); in setusercontext()
|
/freebsd/sys/net/ |
H A D | if_fwsubr.c | 761 firewire_ifattach(struct ifnet *ifp, struct fw_hwaddr *llc) in firewire_ifattach() argument 771 fc->fc_speed = llc->sspd; in firewire_ifattach() 787 bcopy(llc, LLADDR(sdl), ifp->if_addrlen); in firewire_ifattach() 793 (uint8_t *) &llc->sender_unique_ID_hi, ":", in firewire_ifattach() 794 ntohs(llc->sender_unicast_FIFO_hi), in firewire_ifattach() 795 ntohl(llc->sender_unicast_FIFO_lo), in firewire_ifattach() 796 speeds[llc->sspd], in firewire_ifattach() 797 (2 << llc->sender_max_rec)); in firewire_ifattach()
|
H A D | if_llc.h | 45 struct llc { struct 117 CTASSERT(sizeof (struct llc) == LLC_SNAPFRAMELEN);
|
H A D | if_bridge.c | 409 struct ether_header *, int, struct llc *); 3393 struct llc llc1; in bridge_pfil() 3428 struct llc *llc2 = (struct llc *)(eh1 + 1); in bridge_pfil() 3492 m_copydata(*mp, 0, sizeof(struct llc), (caddr_t) &llc1); in bridge_pfil() 3493 m_adj(*mp, sizeof(struct llc)); in bridge_pfil() 3622 M_PREPEND(*mp, sizeof(struct llc), M_NOWAIT); in bridge_pfil() 3625 bcopy(&llc1, mtod(*mp, caddr_t), sizeof(struct llc)); in bridge_pfil() 3806 int snap, struct llc *llc) in bridge_fragment() argument 3830 M_PREPEND(mcur, sizeof(struct llc), M_NOWAIT); in bridge_fragment() 3837 bcopy(llc, mtod(mcur, caddr_t),sizeof(struct llc)); in bridge_fragment()
|
/freebsd/usr.bin/clang/ |
H A D | Makefile | 28 SUBDIR+= llc
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | td.1 | 16 llc Z/l25S2gaFn7U 41 1 m1650,m324 /usr/guest 90 llc Z/l25S2gaFn7U 41 1 m1650,m324 /usr/guest 164 llc Z/l25S2gaFn7U 41 1 m1650,m324 /usr/guest 238 llc Z/l25S2gaFn7U 41 1 m1650,m324 /usr/guest 312 llc Z/l25S2gaFn7U:41:1:m1650,m324:/usr/guest: 386 llc Z/l25S2gaFn7U:41:1:m1650,m324:/usr/guest: 460 llc Z/l25S2gaFn7U:41:1:m1650,m324:/usr/guest: 534 llc Z/l25S2gaFn7U:41:1:m1650,m324:/usr/guest: 608 llc Z/l25S2gaFn7U:41:1:m1650,m324:/usr/guest: 682 llc Z/l25S2gaFn7U:41:1:m1650,m324:/usr/guest: [all …]
|
H A D | test.data | 18 8252 llc
|
/freebsd/contrib/libpcap/msdos/ |
H A D | makefile | 128 ethertype.h nlpid.h llc.h gencode.h atmuni31.h sunatmpos.h ppp.h sll.h \ 166 ethertype.h nlpid.h llc.h gencode.h atmuni31.h sunatmpos.h ppp.h sll.h \
|
H A D | makefile.wc | 118 ethertyp.h nlpid.h llc.h gencode.h atmuni31.h sunatmpo.h ppp.h sll.h &
|
/freebsd/targets/pseudo/clang/ |
H A D | Makefile.depend | 44 usr.bin/clang/llc \
|
/freebsd/usr.sbin/tcpdump/tcpdump/ |
H A D | Makefile | 94 print-llc.c \
|
/freebsd/contrib/tcpdump/ |
H A D | Makefile.in | 168 print-llc.c \ 293 llc.h \
|
H A D | INSTALL.md | 106 llc.h - LLC definitions
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_tdma.c | 235 + sizeof(struct llc) \
|