Searched refs:tap (Results 1 - 25 of 49) sorted by relevance

12

/freebsd-10.0-release/tools/regression/net/if_tap/
H A Dtest-tap.sh41 tap=$(ifconfig tap create)
42 tap_exists $tap
43 ifconfig $tap destroy
44 ! tap_exists $tap
46 # kern/172075: INVARIANTS kernel panicked when destroying an in-use tap(4)
48 tap=$(ifconfig tap create)
49 tap_exists $tap
50 cat /dev/$tap > /de
[all...]
/freebsd-10.0-release/sys/net80211/
H A Dieee80211_ht.h65 #define IEEE80211_AMPDU_RUNNING(tap) \
66 (((tap)->txa_flags & IEEE80211_AGGR_RUNNING) != 0)
69 #define IEEE80211_AMPDU_REQUESTED(tap) \
70 (((tap)->txa_flags & \
87 ieee80211_txampdu_update_pps(struct ieee80211_tx_ampdu *tap) argument
90 tap->txa_avgpps = ((tap->txa_avgpps << 2) -
91 tap->txa_avgpps + tap->txa_pkts) >> 2;
98 ieee80211_txampdu_count_packet(struct ieee80211_tx_ampdu *tap) argument
120 ieee80211_txampdu_getpps(struct ieee80211_tx_ampdu *tap) argument
[all...]
H A Dieee80211_ht.c211 struct ieee80211_tx_ampdu *tap);
213 struct ieee80211_tx_ampdu *tap,
216 struct ieee80211_tx_ampdu *tap,
219 struct ieee80211_tx_ampdu *tap);
221 struct ieee80211_tx_ampdu *tap);
224 struct ieee80211_tx_ampdu *tap, int status);
225 static void ampdu_tx_stop(struct ieee80211_tx_ampdu *tap);
226 static void bar_stop_timer(struct ieee80211_tx_ampdu *tap);
1025 struct ieee80211_tx_ampdu *tap; local
1046 tap
1073 struct ieee80211_tx_ampdu *tap = &ni->ni_tx_ampdu[i]; local
1176 struct ieee80211_tx_ampdu *tap; local
1689 ampdu_tx_setup(struct ieee80211_tx_ampdu *tap) argument
1696 ampdu_tx_stop(struct ieee80211_tx_ampdu *tap) argument
1735 struct ieee80211_tx_ampdu *tap = arg; local
1746 addba_start_timeout(struct ieee80211_tx_ampdu *tap) argument
1756 addba_stop_timeout(struct ieee80211_tx_ampdu *tap) argument
1766 null_addba_response_timeout(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument
1777 ieee80211_addba_request(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int dialogtoken, int baparamset, int batimeout) argument
1799 ieee80211_addba_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int status, int baparamset, int batimeout) argument
1828 ieee80211_addba_stop(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument
1918 struct ieee80211_tx_ampdu *tap; local
1992 struct ieee80211_tx_ampdu *tap; local
2074 ieee80211_ampdu_enable(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument
2105 ieee80211_ampdu_request(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument
2159 ieee80211_ampdu_stop(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int reason) argument
2194 struct ieee80211_tx_ampdu *tap = arg; local
2244 bar_start_timer(struct ieee80211_tx_ampdu *tap) argument
2254 bar_stop_timer(struct ieee80211_tx_ampdu *tap) argument
2266 struct ieee80211_tx_ampdu *tap = arg; local
2287 ieee80211_bar_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int status) argument
2317 ieee80211_send_bar(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, ieee80211_seq seq) argument
[all...]
H A Dieee80211_superg.c532 struct ieee80211_tx_ampdu *tap; local
543 /* clear tap ref to frame */
545 tap = &ni->ni_tx_ampdu[tid];
546 KASSERT(tap->txa_private == m, ("staging queue empty"));
547 tap->txa_private = NULL;
645 struct ieee80211_tx_ampdu *tap; local
659 tap = &ni->ni_tx_ampdu[WME_AC_TO_TID(pri)];
660 mstaged = tap->txa_private; /* NB: we reuse AMPDU state */
661 ieee80211_txampdu_count_packet(tap);
679 ieee80211_txampdu_getpps(tap) < ieee80211_ffppsmi
771 struct ieee80211_tx_ampdu *tap; local
[all...]
H A Dieee80211_ddb.c208 _db_show_txampdu(const char *sep, int ix, const struct ieee80211_tx_ampdu *tap) argument
211 sep, ix, tap, tap->txa_flags, IEEE80211_AGGR_BITS,
212 ieee80211_wme_acnames[TID_TO_WME_AC(tap->txa_tid)]);
214 sep, tap->txa_token, tap->txa_lastsample, tap->txa_pkts,
215 tap->txa_avgpps, tap->txa_qbytes, tap
[all...]
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/vars/
H A Dtst.nullassign.d34 tap = ", SystemTap, ";
40 phrase = strjoin(die, tap);
54 this->phrase = strjoin(the, tap);
/freebsd-10.0-release/usr.sbin/bluetooth/btpand/
H A DMakefile6 SRCS= btpand.c bnep.c channel.c client.c event.c packet.c server.c sdp.c tap.c
/freebsd-10.0-release/contrib/libpcap/
H A Dpcap-enet.c39 struct tap_header tap; member in struct:packet_header
80 caplen = ph->tap.th_wirelen > snaplen ? snaplen : ph->tap
83 ph->tap.th_wirelen, caplen)) {
87 (struct timeval *)ph->tap.th_timestamp,
88 ph->tap.th_wirelen, caplen);
/freebsd-10.0-release/sys/dev/ath/
H A Dif_ath_tx.h121 struct ieee80211_tx_ampdu *tap, int dialogtoken,
124 struct ieee80211_tx_ampdu *tap, int dialogtoken,
127 struct ieee80211_tx_ampdu *tap);
129 struct ieee80211_tx_ampdu *tap, int status);
131 struct ieee80211_tx_ampdu *tap);
H A Dif_ath_tx.c2578 struct ieee80211_tx_ampdu *tap; local
2585 tap = ath_tx_get_tx_tid(an, tid->tid);
2592 tap->txa_start,
2593 tap->txa_wnd);
2601 tap->txa_start, tap->txa_wnd, tid->baw_head,
2608 if (! BAW_WITHIN(tap->txa_start, tap->txa_wnd,
2614 tap->txa_start, tap
2672 struct ieee80211_tx_ampdu *tap; local
2720 struct ieee80211_tx_ampdu *tap; local
2962 struct ieee80211_tx_ampdu *tap; local
3607 struct ieee80211_tx_ampdu *tap; local
3737 struct ieee80211_tx_ampdu *tap; local
3817 struct ieee80211_tx_ampdu *tap; local
4185 struct ieee80211_tx_ampdu *tap; local
4335 struct ieee80211_tx_ampdu *tap; local
4493 struct ieee80211_tx_ampdu *tap; local
4634 struct ieee80211_tx_ampdu *tap; local
5165 struct ieee80211_tx_ampdu *tap; local
5570 struct ieee80211_tx_ampdu *tap; local
5585 struct ieee80211_tx_ampdu *tap; local
5603 struct ieee80211_tx_ampdu *tap; local
5629 ath_addba_request(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int dialogtoken, int baparamset, int batimeout) argument
5707 ath_addba_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int status, int code, int batimeout) argument
5755 ath_addba_stop(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument
5869 ath_bar_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int status) argument
5918 ath_addba_response_timeout(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument
[all...]
H A Dif_ath_tx_ht.c698 struct ieee80211_tx_ampdu *tap; local
705 tap = ath_tx_get_tx_tid(an, tid->tid);
706 if (tap == NULL) {
711 h_baw = tap->txa_wnd / 2;
801 if (! BAW_WITHIN(tap->txa_start, tap->txa_wnd,
/freebsd-10.0-release/release/picobsd/bridge/
H A DPICOBSD113 device tap
/freebsd-10.0-release/tools/tools/net80211/w00t/assoc/
H A Dassoc.c61 int tap; member in struct:params
79 "-t\t<tap>\n"
409 /* send to tap */
410 rc = write(p->tap, ptr, len);
667 p->packet_len = read(p->tap, ptr, len);
714 char *tap = "tap0"; local
757 tap = optarg;
776 p.tap = open_tap(tap);
777 if (p.tap
[all...]
/freebsd-10.0-release/release/picobsd/qemu/
H A DPICOBSD118 device tap
/freebsd-10.0-release/tools/tools/nanobsd/pcengines/
H A Dtest.sh13 ARG="$ARG -net tap,ifname=tap0,script=no,downscript=no"
22 ARG="$ARG -net tap,ifname=tap0,script=no,downscript=no"
36 sysctl net.link.tap.up_on_open=1
/freebsd-10.0-release/lib/libjail/
H A Djail.c76 va_list ap, tap; local
83 va_copy(tap, ap);
84 for (njp = 0; va_arg(tap, char *) != NULL; njp++)
85 (void)va_arg(tap, char *);
86 va_end(tap);
113 va_list ap, tap; local
121 va_copy(tap, ap);
122 for (njp = 0; va_arg(tap, char *) != NULL; njp++)
123 (void)va_arg(tap, char *);
124 va_end(tap);
[all...]
/freebsd-10.0-release/tools/tools/net80211/w00t/expand/
H A Dexpand.c64 int tap; member in struct:params
416 "-t\t<tap>\n"
425 char *tap = "tap0"; local
436 tap = optarg;
458 if ((p.tap = open_tap(tap)) == -1)
460 if (set_iface_mac(tap, p.mac) == -1)
/freebsd-10.0-release/tools/tools/net80211/w00t/ap/
H A Dap.c51 int tap; member in struct:params
87 "-t\t<tap>\n"
538 /* send to tap */
539 rc = write(p->tap, ptr, len);
726 rd = read(p->tap, ptr, len);
836 FD_SET(p->tap, &fds);
837 max = p->rx > p->tap ? p->rx : p->tap;
841 if (FD_ISSET(p->tap, &fds))
850 char *tap local
[all...]
/freebsd-10.0-release/tools/tools/net80211/w00t/prga/
H A Dprga.c80 int tap; member in struct:params
88 "-t\t<tap>\n"
522 rc = read(p->tap, ptr, rc);
606 char *tap = "tap0"; local
626 tap = optarg;
642 if ((p.tap = open_tap(tap)) == -1)
644 if (set_iface_mac(tap, p.mac) == -1)
/freebsd-10.0-release/tools/tools/net80211/w00t/redir/
H A Dredir.c69 int tap; member in struct:params
517 /* tap */
530 rem = writev(p->tap, iov, sizeof(iov)/sizeof(struct iovec));
624 "-t\t<tap>\n"
635 char *tap = "tap0"; local
660 tap = optarg;
696 if ((p.tap = open_tap(tap)) == -1)
698 if (set_iface_mac(tap, p.mac) == -1)
/freebsd-10.0-release/sys/dev/iwn/
H A Dif_iwn.c2576 struct iwn_rx_radiotap_header *tap = &sc->sc_rxtap; local
2578 tap->wr_flags = 0;
2580 tap->wr_flags |= IEEE80211_RADIOTAP_F_SHORTPRE;
2581 tap->wr_dbm_antsignal = (int8_t)rssi;
2582 tap->wr_dbm_antnoise = (int8_t)nf;
2583 tap->wr_tsft = stat->tstamp;
2586 case 10: tap->wr_rate = 2; break;
2587 case 20: tap->wr_rate = 4; break;
2588 case 55: tap->wr_rate = 11; break;
2589 case 110: tap
2634 struct ieee80211_tx_ampdu *tap; local
3018 struct ieee80211_tx_ampdu *tap; local
3593 struct ieee80211_tx_ampdu *tap = &ni->ni_tx_ampdu[ac]; local
3639 struct iwn_tx_radiotap_header *tap = &sc->sc_txtap; local
3927 struct iwn_tx_radiotap_header *tap = &sc->sc_txtap; local
5967 iwn_addba_request(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int dialogtoken, int baparamset, int batimeout) argument
5997 iwn_addba_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int code, int baparamset, int batimeout) argument
6028 struct ieee80211_tx_ampdu *tap = &ni->ni_tx_ampdu[tid]; local
6061 iwn_ampdu_tx_stop(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument
[all...]
/freebsd-10.0-release/tools/regression/lib/libc/string/
H A Dtest-strerror.c36 #include <tap.h>
/freebsd-10.0-release/sys/dev/usb/wlan/
H A Dif_rsu.c1380 struct rsu_rx_radiotap_header *tap = &sc->sc_rxtap; local
1383 tap->wr_flags = 2;
1387 case 0: tap->wr_rate = 2; break;
1388 case 1: tap->wr_rate = 4; break;
1389 case 2: tap->wr_rate = 11; break;
1390 case 3: tap->wr_rate = 22; break;
1392 case 4: tap->wr_rate = 12; break;
1393 case 5: tap->wr_rate = 18; break;
1394 case 6: tap->wr_rate = 24; break;
1395 case 7: tap
1735 struct rsu_tx_radiotap_header *tap = &sc->sc_txtap; local
[all...]
/freebsd-10.0-release/usr.sbin/jail/
H A Djail.c560 va_list ap, tap; local
565 va_copy(tap, ap);
566 len = vsnprintf(NULL, 0, fmt, tap);
567 va_end(tap);
583 va_list ap, tap; local
588 va_copy(tap, ap);
589 len = vsnprintf(NULL, 0, fmt, tap);
590 va_end(tap);
/freebsd-10.0-release/sys/dev/ral/
H A Drt2860.c1197 struct rt2860_rx_radiotap_header *tap; local
1306 tap = &sc->sc_rxtap;
1307 tap->wr_flags = 0;
1308 tap->wr_antenna = ant;
1309 tap->wr_antsignal = nf + rssi;
1310 tap->wr_antnoise = nf;
1312 tap->wr_rate = 2;
1317 case 0: tap->wr_rate = 2; break;
1318 case 1: tap->wr_rate = 4; break;
1319 case 2: tap
1593 struct rt2860_tx_radiotap_header *tap = &sc->sc_txtap; local
1846 struct rt2860_tx_radiotap_header *tap = &sc->sc_txtap; local
[all...]

Completed in 187 milliseconds

12