| /freebsd/sys/netpfil/ipfw/ |
| H A D | ip_fw_bpf.c | 78 struct ipfw_tap *tap, key = { .rule = rule }; in ipfw_tap_alloc() local 84 tap = RB_FIND(tap_tree, &ch->taps, &key); in ipfw_tap_alloc() 85 if (tap != NULL) { in ipfw_tap_alloc() 86 MPASS(tap->rule == rule); in ipfw_tap_alloc() 87 tap->refs++; in ipfw_tap_alloc() 90 tap = malloc(sizeof(*tap), M_IPFW, M_WAITOK); in ipfw_tap_alloc() 91 tap->rule = rule; in ipfw_tap_alloc() 92 tap->refs = 1; in ipfw_tap_alloc() 93 n = snprintf(tap->name, sizeof(tap->name), "ipfw%u", rule); in ipfw_tap_alloc() 95 tap->bpf = bpf_attach(tap->name, DLT_EN10MB, PFLOG_HDRLEN, in ipfw_tap_alloc() [all …]
|
| /freebsd/sys/net80211/ |
| H A D | ieee80211_ht.h | 69 #define IEEE80211_AMPDU_RUNNING(tap) \ argument 70 (((tap)->txa_flags & IEEE80211_AGGR_RUNNING) != 0) 76 #define IEEE80211_AMPDU_RUNNING_AMSDU(tap) \ argument 77 (((tap)->txa_flags & (IEEE80211_AGGR_RUNNING | IEEE80211_AGGR_AMSDU)) \ 81 #define IEEE80211_AMPDU_NACKED(tap)\ argument 82 (!! ((tap)->txa_flags & IEEE80211_AGGR_NAK)) 85 #define IEEE80211_AMPDU_REQUESTED(tap) \ argument 86 (((tap)->txa_flags & \ 104 ieee80211_txampdu_init_pps(struct ieee80211_tx_ampdu *tap) in ieee80211_txampdu_init_pps() argument 109 tap->txa_lastsample = ticks; in ieee80211_txampdu_init_pps() [all …]
|
| H A D | ieee80211_ht.c | 205 struct ieee80211_tx_ampdu *tap); 207 struct ieee80211_tx_ampdu *tap, 210 struct ieee80211_tx_ampdu *tap, 213 struct ieee80211_tx_ampdu *tap); 215 struct ieee80211_tx_ampdu *tap); 218 struct ieee80211_tx_ampdu *tap, int status); 219 static void ampdu_tx_stop(struct ieee80211_tx_ampdu *tap); 220 static void bar_stop_timer(struct ieee80211_tx_ampdu *tap); 1308 struct ieee80211_tx_ampdu *tap; in ieee80211_ht_node_init() local 1330 tap = &ni->ni_tx_ampdu[tid]; in ieee80211_ht_node_init() [all …]
|
| H A D | ieee80211_ddb.c | 197 _db_show_txampdu(const char *sep, int ix, const struct ieee80211_tx_ampdu *tap) in _db_show_txampdu() argument 200 sep, ix, tap, tap->txa_flags, IEEE80211_AGGR_BITS, in _db_show_txampdu() 201 ieee80211_wme_acnames[TID_TO_WME_AC(tap->txa_tid)]); in _db_show_txampdu() 203 sep, tap->txa_token, tap->txa_lastsample, tap->txa_pkts, in _db_show_txampdu() 204 tap->txa_avgpps, tap->txa_qbytes, tap->txa_qframes); in _db_show_txampdu() 206 sep, tap->txa_start, tap->txa_seqpending, tap->txa_wnd, in _db_show_txampdu() 207 tap->txa_attempts, tap->txa_nextrequest); in _db_show_txampdu()
|
| /freebsd/tools/regression/net/if_tap/ |
| H A D | test-tap.sh | 40 tap=$(ifconfig tap create) 41 tap_exists $tap 42 ifconfig $tap destroy 43 ! tap_exists $tap 47 tap=$(ifconfig tap create) 48 tap_exists $tap 49 cat /dev/$tap > /dev/null & 52 ifconfig $tap destroy & 55 ! tap_exists $tap
|
| /freebsd/contrib/pam-krb5/ |
| H A D | Makefile.am | 26 tests/docs/spdx-license-t tests/fakepam/README tests/tap/libtap.sh \ 27 tests/tap/perl/Test/RRA.pm tests/tap/perl/Test/RRA/Automake.pm \ 28 tests/tap/perl/Test/RRA/Config.pm tests/style/obsolete-strings-t \ 101 check_LIBRARIES = tests/fakepam/libfakepam.a tests/tap/libtap.a 108 tests_tap_libtap_a_SOURCES = tests/tap/basic.c tests/tap/basic.h \ 109 tests/tap/kadmin.c tests/tap/kadmin.h tests/tap/kerberos.c \ 110 tests/tap/kerberos.h tests/tap/macros.h tests/tap/process.c \ 111 tests/tap/process.h tests/tap/string.c tests/tap/string.h 122 tests_module_alt_auth_t_LDADD = $(MODULE_OBJECTS) tests/tap/libtap.a \ 124 tests_module_bad_authtok_t_LDADD = $(MODULE_OBJECTS) tests/tap/libtap.a \ [all …]
|
| H A D | LICENSE | 96 tests/style/obsolete-strings-t tests/tap/basic.c tests/tap/basic.h 97 tests/tap/kadmin.c tests/tap/kadmin.h tests/tap/kerberos.c 98 tests/tap/kerberos.h tests/tap/libtap.sh tests/tap/macros.h 99 tests/tap/perl/Test/RRA.pm tests/tap/perl/Test/RRA/Automake.pm 100 tests/tap/perl/Test/RRA/Config.pm tests/tap/process.c tests/tap/process.h 101 tests/tap/string.c tests/tap/string.h tests/valgrind/logs-t
|
| /freebsd/sys/contrib/device-tree/Bindings/spi/ |
| H A D | nvidia,tegra114-spi.txt | 27 - nvidia,tx-clk-tap-delay: Delays the clock going out to the external device 28 with this tap value. This property is used to tune the outgoing data from 31 to corresponding slave devices. Valid tap values are from 0 thru 63. 32 - nvidia,rx-clk-tap-delay: Delays the clock coming in from the external device 33 with this tap value. This property is used to adjust the Tegra SPI master 36 to corresponding slave devices. Valid tap values are from 0 thru 63. 56 nvidia,rx-clk-tap-delay = <0>; 57 nvidia,tx-clk-tap-delay = <16>;
|
| /freebsd/share/mk/ |
| H A D | tap.test.mk | 11 .error tap.test.mk cannot be included directly. 37 TEST_INTERFACE.${_T}= tap 48 TEST_INTERFACE.${_T}= tap 57 TEST_INTERFACE.${_T}= tap 80 TEST_INTERFACE.${_T}= tap
|
| /freebsd/contrib/libpcap/ |
| H A D | pcap-enet.c | 33 struct tap_header tap; member 74 caplen = ph->tap.th_wirelen > snaplen ? snaplen : ph->tap in readloop() 77 ph->tap.th_wirelen, caplen)) { in readloop() 81 (struct timeval *)ph->tap.th_timestamp, in readloop() 82 ph->tap.th_wirelen, caplen); in readloop()
|
| /freebsd/sys/dev/ath/ |
| H A D | if_ath_tx.c | 2655 struct ieee80211_tx_ampdu *tap; in ath_tx_addto_baw() local 2662 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_addto_baw() 2668 tap->txa_start, tap->txa_wnd); in ath_tx_addto_baw() 2676 tap->txa_start, tap->txa_wnd, tid->baw_head, in ath_tx_addto_baw() 2683 if (! BAW_WITHIN(tap->txa_start, tap->txa_wnd, in ath_tx_addto_baw() 2689 tap->txa_start, tap->txa_wnd, tid->baw_head, in ath_tx_addto_baw() 2697 index = ATH_BA_INDEX(tap->txa_start, SEQNO(bf->bf_state.bfs_seqno)); in ath_tx_addto_baw() 2703 tap->txa_start, tap->txa_wnd, index, cindex, tid->baw_head, in ath_tx_addto_baw() 2746 struct ieee80211_tx_ampdu *tap; in ath_tx_switch_baw_buf() local 2751 tap = ath_tx_get_tx_tid(an, tid->tid); in ath_tx_switch_baw_buf() [all …]
|
| H A D | if_ath_tx.h | 119 struct ieee80211_tx_ampdu *tap, int dialogtoken, 122 struct ieee80211_tx_ampdu *tap, int dialogtoken, 125 struct ieee80211_tx_ampdu *tap); 127 struct ieee80211_tx_ampdu *tap, int status); 129 struct ieee80211_tx_ampdu *tap);
|
| /freebsd/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/tools/tools/net80211/w00t/assoc/ |
| H A D | assoc.c | 59 int tap; member 408 rc = write(p->tap, ptr, len); in generic_process() 665 p->packet_len = read(p->tap, ptr, len); in read_tap() 712 char *tap = "tap0"; in main() local 755 tap = optarg; in main() 774 p.tap = open_tap(tap); in main() 775 if (p.tap == -1) in main() 777 if (set_iface_mac(tap, mac) == -1) in main() 894 FD_SET(p.tap, &fds); in main() 895 max = (p.rx > p.tap) ? p.rx : p.tap; in main() [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/amd/ |
| H A D | amd-seattle-xgbe-b.dtsi | 24 amd,serdes-dfe-tap-config = <3>, <3>, <3>; 25 amd,serdes-dfe-tap-enable = <0>, <0>, <7>; 50 amd,serdes-dfe-tap-config = <3>, <3>, <3>; 51 amd,serdes-dfe-tap-enable = <0>, <0>, <7>;
|
| /freebsd/contrib/netbsd-tests/net/if_tap/ |
| H A D | t_tap.sh | 52 rump_server_start $SOCK_LOCAL netinet6 tap 91 rump_server_start $SOCK_LOCAL netinet6 tap 92 rump_server_start $SOCK_REMOTE netinet6 tap 145 rump_server_start $SOCK_LOCAL netinet6 tap bridge 146 rump_server_start $SOCK_REMOTE netinet6 tap
|
| /freebsd/tools/tools/net80211/w00t/ap/ |
| H A D | ap.c | 49 int tap; member 537 rc = write(p->tap, ptr, len); in read_real_data() 724 rd = read(p->tap, ptr, len); in read_tap() 834 FD_SET(p->tap, &fds); in next_event() 835 max = p->rx > p->tap ? p->rx : p->tap; in next_event() 839 if (FD_ISSET(p->tap, &fds)) in next_event() 848 char *tap = "tap0"; in main() local 868 tap = optarg; in main() 904 if ((p.tap = open_tap(tap)) == -1) in main() 906 if (set_iface_mac(tap, p.mac) == -1) in main()
|
| /freebsd/sys/dev/rtwn/ |
| H A D | if_rtwn_tx.c | 213 struct rtwn_tx_radiotap_header *tap = &sc->sc_txtap; in rtwn_tx_data() local 215 tap->wt_flags = rtwn_tx_radiotap_flags(sc, txd); in rtwn_tx_data() 217 tap->wt_flags |= IEEE80211_RADIOTAP_F_WEP; in rtwn_tx_data() 265 struct rtwn_tx_radiotap_header *tap = &sc->sc_txtap; in rtwn_tx_raw() local 267 tap->wt_flags = rtwn_tx_radiotap_flags(sc, txd); in rtwn_tx_raw() 269 tap->wt_flags |= IEEE80211_RADIOTAP_F_WEP; in rtwn_tx_raw()
|
| H A D | if_rtwn_rx.c | 376 struct rtwn_rx_radiotap_header *tap = &sc->sc_rxtap; in rtwn_rx_common() local 378 tap->wr_flags = rtwn_rx_radiotap_flags(sc, desc); in rtwn_rx_common() 379 tap->wr_tsft = htole64(rxs.c_rx_tsf); in rtwn_rx_common() 380 tap->wr_rate = rxs.c_rate; in rtwn_rx_common() 381 tap->wr_dbm_antsignal = rssi; in rtwn_rx_common() 382 tap->wr_dbm_antnoise = rxs.c_nf; in rtwn_rx_common()
|
| /freebsd/tools/tools/net80211/w00t/expand/ |
| H A D | expand.c | 62 int tap; member 423 char *tap = "tap0"; in main() local 434 tap = optarg; in main() 456 if ((p.tap = open_tap(tap)) == -1) in main() 458 if (set_iface_mac(tap, p.mac) == -1) in main()
|
| /freebsd/tools/tools/net80211/w00t/ |
| H A D | README | 27 tap interface to it. The interface may be used like a standard eth 50 to a tap interface which may be used to TX packets on that network. 61 This data is then fed back into a tap interface. This way, data 72 decrypt it. The clear-text packet is sent to a tap interface.
|
| /freebsd/sys/contrib/device-tree/Bindings/net/ |
| H A D | amd-xgbe.txt | 49 - amd,serdes-dfe-tap-config: DFE taps available to run 50 - amd,serdes-dfe-tap-enable: DFE taps to enable 74 amd,serdes-dfe-tap-config = <3>, <3>, <1>; 75 amd,serdes-dfe-tap-enable = <0>, <0>, <127>;
|
| /freebsd/tools/tools/net80211/w00t/prga/ |
| H A D | prga.c | 78 int tap; member 520 rc = read(p->tap, ptr, rc); in read_tap() 604 char *tap = "tap0"; in main() local 624 tap = optarg; in main() 640 if ((p.tap = open_tap(tap)) == -1) in main() 642 if (set_iface_mac(tap, p.mac) == -1) in main()
|
| /freebsd/contrib/pam-krb5/tests/ |
| H A D | README | 122 #include <tap/basic.h> 156 <https://www.eyrie.org/~eagle/software/c-tap-harness/> 162 programs with one library. Rather than editing tap/basic.c and 163 tap/basic.h to add those additional functions, add additional *.c and 164 *.h files into the tap directory with the function implementations and 166 That way, you can update tap/basic.c and tap/basic.h from subsequent 191 The libtap.sh file should be installed in a directory named tap in 195 . "$C_TAP_SOURCE"/tap/libtap.sh 202 . "$C_TAP_SOURCE"/tap/libtap.sh 243 found at <https://www.eyrie.org/~eagle/software/c-tap-harness/>.
|
| /freebsd/tools/tools/net80211/w00t/redir/ |
| H A D | redir.c | 67 int tap; member 528 rem = writev(p->tap, iov, sizeof(iov)/sizeof(struct iovec)); in read_buddy_data() 633 char *tap = "tap0"; in main() local 658 tap = optarg; in main() 694 if ((p.tap = open_tap(tap)) == -1) in main() 696 if (set_iface_mac(tap, p.mac) == -1) in main()
|