/freebsd-11.0-release/tools/regression/net/if_tap/ |
H A D | test-tap.sh | 26 # $FreeBSD: releng/11.0/tools/regression/net/if_tap/test-tap.sh 240944 2012-09-26 00:25:09Z emaste $ 41 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 [all...] |
/freebsd-11.0-release/sys/net80211/ |
H A D | ieee80211_ht.h | 65 #define IEEE80211_AMPDU_RUNNING(tap) \ 66 (((tap)->txa_flags & IEEE80211_AGGR_RUNNING) != 0) 69 #define IEEE80211_AMPDU_NACKED(tap)\ 70 (!! ((tap)->txa_flags & IEEE80211_AGGR_NAK)) 73 #define IEEE80211_AMPDU_REQUESTED(tap) \ 74 (((tap)->txa_flags & \ 91 ieee80211_txampdu_init_pps(struct ieee80211_tx_ampdu *tap) argument 96 tap->txa_lastsample = ticks; 97 tap->txa_avgpps = 0; 101 ieee80211_txampdu_update_pps(struct ieee80211_tx_ampdu *tap) argument 113 ieee80211_txampdu_count_packet(struct ieee80211_tx_ampdu *tap) argument 136 ieee80211_txampdu_getpps(struct ieee80211_tx_ampdu *tap) argument [all...] |
H A D | ieee80211_ht.c | 209 struct ieee80211_tx_ampdu *tap); 211 struct ieee80211_tx_ampdu *tap, 214 struct ieee80211_tx_ampdu *tap, 217 struct ieee80211_tx_ampdu *tap); 219 struct ieee80211_tx_ampdu *tap); 222 struct ieee80211_tx_ampdu *tap, int status); 223 static void ampdu_tx_stop(struct ieee80211_tx_ampdu *tap); 224 static void bar_stop_timer(struct ieee80211_tx_ampdu *tap); 1060 struct ieee80211_tx_ampdu *tap; local 1082 tap 1110 struct ieee80211_tx_ampdu *tap = &ni->ni_tx_ampdu[i]; local 1209 struct ieee80211_tx_ampdu *tap; local 1717 ampdu_tx_setup(struct ieee80211_tx_ampdu *tap) argument 1725 ampdu_tx_stop(struct ieee80211_tx_ampdu *tap) argument 1767 struct ieee80211_tx_ampdu *tap = arg; local 1778 addba_start_timeout(struct ieee80211_tx_ampdu *tap) argument 1788 addba_stop_timeout(struct ieee80211_tx_ampdu *tap) argument 1798 null_addba_response_timeout(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument 1809 ieee80211_addba_request(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int dialogtoken, int baparamset, int batimeout) argument 1832 struct ieee80211_tx_ampdu *tap; local 1856 struct ieee80211_tx_ampdu *tap; local 1880 ieee80211_addba_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int status, int baparamset, int batimeout) argument 1909 ieee80211_addba_stop(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument 1999 struct ieee80211_tx_ampdu *tap; local 2073 struct ieee80211_tx_ampdu *tap; local 2155 ieee80211_ampdu_enable(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument 2186 ieee80211_ampdu_request(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument 2240 ieee80211_ampdu_stop(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int reason) argument 2277 struct ieee80211_tx_ampdu *tap = arg; local 2327 bar_start_timer(struct ieee80211_tx_ampdu *tap) argument 2337 bar_stop_timer(struct ieee80211_tx_ampdu *tap) argument 2349 struct ieee80211_tx_ampdu *tap = arg; local 2370 ieee80211_bar_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int status) argument 2400 ieee80211_send_bar(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, ieee80211_seq seq) argument [all...] |
H A D | ieee80211_ddb.c | 193 _db_show_txampdu(const char *sep, int ix, const struct ieee80211_tx_ampdu *tap) argument 196 sep, ix, tap, tap->txa_flags, IEEE80211_AGGR_BITS, 197 ieee80211_wme_acnames[TID_TO_WME_AC(tap->txa_tid)]); 199 sep, tap->txa_token, tap->txa_lastsample, tap->txa_pkts, 200 tap->txa_avgpps, tap->txa_qbytes, tap [all...] |
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/vars/ |
H A D | tst.nullassign.d | 34 tap = ", SystemTap, "; 40 phrase = strjoin(die, tap); 54 this->phrase = strjoin(the, tap);
|
/freebsd-11.0-release/contrib/ntp/lib/isc/include/isc/ |
H A D | lfsr.h | 48 isc_uint32_t tap; /*%< bit taps */ member in struct:isc_lfsr 59 isc_uint32_t tap, unsigned int count, 75 *\li tap != 0
|
/freebsd-11.0-release/usr.sbin/bluetooth/btpand/ |
H A D | Makefile | 6 SRCS= btpand.c bnep.c channel.c client.c event.c packet.c server.c sdp.c tap.c
|
/freebsd-11.0-release/contrib/ntp/lib/isc/ |
H A D | lfsr.c | 35 isc_uint32_t tap, unsigned int count, 40 REQUIRE(tap != 0); 44 lfsr->tap = tap; 77 lfsr->state = (lfsr->state >> 1) ^ lfsr->tap; 34 isc_lfsr_init(isc_lfsr_t *lfsr, isc_uint32_t state, unsigned int bits, isc_uint32_t tap, unsigned int count, isc_lfsrreseed_t reseed, void *arg) argument
|
/freebsd-11.0-release/contrib/libpcap/ |
H A D | pcap-enet.c | 35 struct tap_header tap; member in struct:packet_header 76 caplen = ph->tap.th_wirelen > snaplen ? snaplen : ph->tap 79 ph->tap.th_wirelen, caplen)) { 83 (struct timeval *)ph->tap.th_timestamp, 84 ph->tap.th_wirelen, caplen);
|
/freebsd-11.0-release/sys/dev/ath/ |
H A D | if_ath_tx.h | 120 struct ieee80211_tx_ampdu *tap, int dialogtoken, 123 struct ieee80211_tx_ampdu *tap, int dialogtoken, 126 struct ieee80211_tx_ampdu *tap); 128 struct ieee80211_tx_ampdu *tap, int status); 130 struct ieee80211_tx_ampdu *tap);
|
H A D | if_ath_tx.c | 2573 struct ieee80211_tx_ampdu *tap; local 2580 tap = ath_tx_get_tx_tid(an, tid->tid); 2586 tap->txa_start, tap->txa_wnd); 2594 tap->txa_start, tap->txa_wnd, tid->baw_head, 2601 if (! BAW_WITHIN(tap->txa_start, tap->txa_wnd, 2607 tap->txa_start, tap 2665 struct ieee80211_tx_ampdu *tap; local 2712 struct ieee80211_tx_ampdu *tap; local 2953 struct ieee80211_tx_ampdu *tap; local 3616 struct ieee80211_tx_ampdu *tap; local 3740 struct ieee80211_tx_ampdu *tap; local 3821 struct ieee80211_tx_ampdu *tap; local 4409 struct ieee80211_tx_ampdu *tap; local 4567 struct ieee80211_tx_ampdu *tap; local 4719 struct ieee80211_tx_ampdu *tap; local 5252 struct ieee80211_tx_ampdu *tap; local 5657 struct ieee80211_tx_ampdu *tap; local 5672 struct ieee80211_tx_ampdu *tap; local 5690 struct ieee80211_tx_ampdu *tap; local 5716 ath_addba_request(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int dialogtoken, int baparamset, int batimeout) argument 5794 ath_addba_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int status, int code, int batimeout) argument 5842 ath_addba_stop(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument 5976 ath_bar_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int status) argument 6049 ath_addba_response_timeout(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument [all...] |
H A D | if_ath_tx_ht.c | 741 struct ieee80211_tx_ampdu *tap; local 748 tap = ath_tx_get_tx_tid(an, tid->tid); 749 if (tap == NULL) { 754 h_baw = tap->txa_wnd / 2; 844 if (! BAW_WITHIN(tap->txa_start, tap->txa_wnd,
|
/freebsd-11.0-release/share/mk/ |
H A D | tap.test.mk | 1 # $FreeBSD: releng/11.0/share/mk/tap.test.mk 292507 2015-12-20 06:26:15Z ngie $ 12 .error tap.test.mk cannot be included directly. 38 TEST_INTERFACE.${_T}= tap 49 TEST_INTERFACE.${_T}= tap 58 TEST_INTERFACE.${_T}= tap 81 TEST_INTERFACE.${_T}= tap
|
H A D | Makefile | 73 FILES+= tap.test.mk
|
/freebsd-11.0-release/tools/tools/net80211/w00t/assoc/ |
H A D | assoc.c | 61 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-11.0-release/tools/tools/nanobsd/pcengines/ |
H A D | test.sh | 13 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-11.0-release/lib/libjail/ |
H A D | jail.c | 76 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-11.0-release/tools/tools/net80211/w00t/expand/ |
H A D | expand.c | 64 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-11.0-release/sys/dev/usb/wlan/ |
H A D | if_rsu.c | 357 rsu_ampdu_enable(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument 364 if (IEEE80211_AMPDU_REQUESTED(tap)) 366 if (IEEE80211_AMPDU_RUNNING(tap)) 370 req.tid = htole32(tap->txa_tid); 373 if (ieee80211_ampdu_tx_request_ext(ni, tap->txa_tid) != 1) 379 tap->txa_tid); 385 (void) ieee80211_ampdu_tx_request_active_ext(ni, tap->txa_tid, 0); 391 (void) ieee80211_ampdu_tx_request_active_ext(ni, tap->txa_tid, 1); 1795 struct rsu_rx_radiotap_header *tap = &sc->sc_rxtap; local 1798 tap 2221 struct rsu_tx_radiotap_header *tap = &sc->sc_txtap; local [all...] |
/freebsd-11.0-release/tools/tools/net80211/w00t/ap/ |
H A D | ap.c | 51 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-11.0-release/tools/tools/net80211/w00t/prga/ |
H A D | prga.c | 80 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-11.0-release/tools/tools/net80211/w00t/redir/ |
H A D | redir.c | 69 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-11.0-release/sys/dev/ral/ |
H A D | rt2560.c | 1182 struct rt2560_rx_radiotap_header *tap = &sc->sc_rxtap; local 1189 tap->wr_tsf = 1191 tap->wr_flags = 0; 1192 tap->wr_rate = ieee80211_plcp2rate(desc->rate, 1195 tap->wr_antenna = sc->rx_ant; 1196 tap->wr_antsignal = nf + rssi; 1197 tap->wr_antnoise = nf; 1479 struct rt2560_tx_radiotap_header *tap = &sc->sc_txtap; local 1481 tap->wt_flags = 0; 1482 tap 1546 struct rt2560_tx_radiotap_header *tap = &sc->sc_txtap; local 1711 struct rt2560_tx_radiotap_header *tap = &sc->sc_txtap; local 1838 struct rt2560_tx_radiotap_header *tap = &sc->sc_txtap; local [all...] |
/freebsd-11.0-release/usr.sbin/jail/ |
H A D | jail.c | 562 va_list ap, tap; local 567 va_copy(tap, ap); 568 len = vsnprintf(NULL, 0, fmt, tap); 569 va_end(tap); 585 va_list ap, tap; local 590 va_copy(tap, ap); 591 len = vsnprintf(NULL, 0, fmt, tap); 592 va_end(tap);
|
/freebsd-11.0-release/sys/dev/iwn/ |
H A D | if_iwn.c | 3073 struct iwn_rx_radiotap_header *tap = &sc->sc_rxtap; local 3075 tap->wr_flags = 0; 3077 tap->wr_flags |= IEEE80211_RADIOTAP_F_SHORTPRE; 3078 tap->wr_dbm_antsignal = (int8_t)rssi; 3079 tap->wr_dbm_antnoise = (int8_t)nf; 3080 tap->wr_tsft = stat->tstamp; 3083 case 10: tap->wr_rate = 2; break; 3084 case 20: tap->wr_rate = 4; break; 3085 case 55: tap->wr_rate = 11; break; 3086 case 110: tap 3156 struct ieee80211_tx_ampdu *tap; local 3651 struct ieee80211_tx_ampdu *tap; local 4377 struct ieee80211_tx_ampdu *tap = &ni->ni_tx_ampdu[ac]; local 4439 struct iwn_tx_radiotap_header *tap = &sc->sc_txtap; local 4725 struct iwn_tx_radiotap_header *tap = &sc->sc_txtap; local 7266 iwn_addba_request(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int dialogtoken, int baparamset, int batimeout) argument 7296 iwn_addba_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int code, int baparamset, int batimeout) argument 7327 struct ieee80211_tx_ampdu *tap = &ni->ni_tx_ampdu[tid]; local 7360 iwn_ampdu_tx_stop(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument [all...] |