/freebsd-10.3-release/tools/regression/net/if_tap/ |
H A D | test-tap.sh | 26 # $FreeBSD: releng/10.3/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-10.3-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_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 D | ieee80211_ht.c | 211 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 D | ieee80211_superg.c | 532 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 D | ieee80211_ddb.c | 208 _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.3-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-10.3-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-10.3-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-10.3-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-10.3-release/contrib/libpcap/ |
H A D | pcap-enet.c | 39 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.3-release/tests/etc/rc.d/ |
H A D | routing_test.sh | 108 # Creates a new tap(4) interface, registers it for cleanup, and returns the 113 while ! ifconfig tap${TAPN} create > /dev/null 2>&1; do 115 atf_skip "Could not create a tap(4) interface" 120 local TAPD=tap${TAPN}
|
/freebsd-10.3-release/sys/dev/ath/ |
H A D | if_ath_tx.h | 121 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 D | if_ath_tx.c | 2570 struct ieee80211_tx_ampdu *tap; local 2577 tap = ath_tx_get_tx_tid(an, tid->tid); 2583 tap->txa_start, tap->txa_wnd); 2591 tap->txa_start, tap->txa_wnd, tid->baw_head, 2598 if (! BAW_WITHIN(tap->txa_start, tap->txa_wnd, 2604 tap->txa_start, tap 2662 struct ieee80211_tx_ampdu *tap; local 2709 struct ieee80211_tx_ampdu *tap; local 2950 struct ieee80211_tx_ampdu *tap; local 3591 struct ieee80211_tx_ampdu *tap; local 3715 struct ieee80211_tx_ampdu *tap; local 3796 struct ieee80211_tx_ampdu *tap; local 4164 struct ieee80211_tx_ampdu *tap; local 4314 struct ieee80211_tx_ampdu *tap; local 4472 struct ieee80211_tx_ampdu *tap; local 4613 struct ieee80211_tx_ampdu *tap; local 5143 struct ieee80211_tx_ampdu *tap; local 5548 struct ieee80211_tx_ampdu *tap; local 5563 struct ieee80211_tx_ampdu *tap; local 5581 struct ieee80211_tx_ampdu *tap; local 5607 ath_addba_request(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int dialogtoken, int baparamset, int batimeout) argument 5685 ath_addba_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int status, int code, int batimeout) argument 5733 ath_addba_stop(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument 5847 ath_bar_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int status) argument 5896 ath_addba_response_timeout(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument [all...] |
H A D | if_ath_tx_ht.c | 698 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.3-release/share/mk/ |
H A D | tap.test.mk | 1 # $FreeBSD: releng/10.3/share/mk/tap.test.mk 292812 2015-12-28 00:05:31Z 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 | 56 FILES+= tap.test.mk
|
/freebsd-10.3-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-10.3-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-10.3-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-10.3-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-10.3-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-10.3-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-10.3-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-10.3-release/sys/dev/iwn/ |
H A D | if_iwn.c | 2568 struct iwn_rx_radiotap_header *tap = &sc->sc_rxtap; local 2570 tap->wr_flags = 0; 2572 tap->wr_flags |= IEEE80211_RADIOTAP_F_SHORTPRE; 2573 tap->wr_dbm_antsignal = (int8_t)rssi; 2574 tap->wr_dbm_antnoise = (int8_t)nf; 2575 tap->wr_tsft = stat->tstamp; 2578 case 10: tap->wr_rate = 2; break; 2579 case 20: tap->wr_rate = 4; break; 2580 case 55: tap->wr_rate = 11; break; 2581 case 110: tap 2626 struct ieee80211_tx_ampdu *tap; local 3010 struct ieee80211_tx_ampdu *tap; local 3585 struct ieee80211_tx_ampdu *tap = &ni->ni_tx_ampdu[ac]; local 3631 struct iwn_tx_radiotap_header *tap = &sc->sc_txtap; local 3919 struct iwn_tx_radiotap_header *tap = &sc->sc_txtap; local 5959 iwn_addba_request(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int dialogtoken, int baparamset, int batimeout) argument 5989 iwn_addba_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int code, int baparamset, int batimeout) argument 6020 struct ieee80211_tx_ampdu *tap = &ni->ni_tx_ampdu[tid]; local 6053 iwn_ampdu_tx_stop(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument [all...] |
/freebsd-10.3-release/sys/dev/usb/wlan/ |
H A D | if_rsu.c | 1406 struct rsu_rx_radiotap_header *tap = &sc->sc_rxtap; local 1409 tap->wr_flags = 2; 1413 case 0: tap->wr_rate = 2; break; 1414 case 1: tap->wr_rate = 4; break; 1415 case 2: tap->wr_rate = 11; break; 1416 case 3: tap->wr_rate = 22; break; 1418 case 4: tap->wr_rate = 12; break; 1419 case 5: tap->wr_rate = 18; break; 1420 case 6: tap->wr_rate = 24; break; 1421 case 7: tap 1766 struct rsu_tx_radiotap_header *tap = &sc->sc_txtap; local [all...] |