/src/sys/modules/tap/ |
Makefile | 5 KMOD= tap 6 SRCS= tap.c
|
tap.c | 1 /* $NetBSD: tap.c,v 1.1 2019/03/24 11:20:26 pgoyette Exp $ */ 33 __KERNEL_RCSID(0, "$NetBSD: tap.c,v 1.1 2019/03/24 11:20:26 pgoyette Exp $"); 38 MODULE(MODULE_CLASS_DRIVER, tap, "if_tap");
|
/src/tests/sbin/ifconfig/ |
t_tap.sh | 35 atf_set "descr" "Test creating many, many tap(4)'s (PR kern/55417)" 43 while read tap; do 45 ifconfig "tap$tap" 48 echo "Skipping existing tap$tap" 52 ifconfig "tap$tap" create 53 echo "Created tap$tap" [all...] |
/src/sys/modules/if_tap/ |
Makefile | 8 IOCONF= tap.ioconf
|
/src/usr.sbin/btpand/ |
Makefile | 6 SRCS= btpand.c bnep.c channel.c client.c packet.c server.c tap.c 11 COPTS.tap.c+= ${CC_WNO_STRINGOP_TRUNCATION}
|
/src/sys/rump/net/lib/libtap/ |
Makefile | 7 COMMENT=/dev/tap Ethernet tunnel software network interface 9 IOCONF= TAP.ioconf
|
/src/tests/net/if_tap/ |
Makefile | 14 .for name in tap
|
t_tap.sh | 46 atf_set "descr" "tests of creation and deletion of tap interface" 53 rump_server_fs_start $SOCK_LOCAL netinet6 tap 69 atf_set "descr" "tests of alone tap interface" 76 rump_server_fs_start $SOCK_LOCAL netinet6 tap 77 rump_server_fs_start $SOCK_REMOTE netinet6 tap 108 # Cannot reach to an alone tap 128 atf_set "descr" "tests of alone tap interface" 136 rump_server_fs_start $SOCK_LOCAL netinet6 tap bridge 137 rump_server_fs_start $SOCK_REMOTE netinet6 tap 172 # The tap is not open, we expect this to fai [all...] |
/src/sys/dev/ic/ |
anvar.h | 152 struct an_rx_radiotap_header tap; member in union:an_softc::__anona0b5df32020a 156 struct an_tx_radiotap_header tap; member in union:an_softc::__anona0b5df32030a 162 #define sc_rxtap sc_rxtapu.tap 163 #define sc_txtap sc_txtapu.tap
|
wivar.h | 163 struct wi_rx_radiotap_header tap; member in union:wi_softc::__anon328d4ca3020a 167 struct wi_tx_radiotap_header tap; member in union:wi_softc::__anon328d4ca3030a 183 #define sc_rxtap sc_rxtapu.tap 184 #define sc_txtap sc_txtapu.tap
|
atwvar.h | 285 struct atw_rx_radiotap_header tap; member in union:atw_softc::__anon891824ef010a 289 struct atw_tx_radiotap_header tap; member in union:atw_softc::__anon891824ef020a 295 #define sc_rxtap sc_rxtapu.tap 296 #define sc_txtap sc_txtapu.tap
|
rtwvar.h | 520 struct rtw_rx_radiotap_header tap; member in union:rtw_softc::__anon397747e0040a 524 struct rtw_tx_radiotap_header tap; member in union:rtw_softc::__anon397747e0050a 534 #define sc_rxtap sc_rxtapu.tap 535 #define sc_txtap sc_txtapu.tap
|
an.c | 806 struct an_tx_radiotap_header *tap = &sc->sc_txtap; local in function:an_start 807 tap->at_rate = ic->ic_bss->ni_rates.rs_rates[ic->ic_bss->ni_txrate]; 808 tap->at_chan_freq = htole16(ic->ic_bss->ni_chan->ic_freq); 809 tap->at_chan_flags = htole16(ic->ic_bss->ni_chan->ic_flags); 810 /* TBD tap->wt_flags */ 811 bpf_mtap2(sc->sc_drvbpf, tap, tap->at_ihdr.it_len, m, 1497 struct an_rx_radiotap_header *tap = &sc->sc_rxtap; local in function:an_rx_intr 1499 tap->ar_rate = frmhdr.an_rx_rate; 1500 tap->ar_chan_flags = htole16(ic->ic_bss->ni_chan->ic_flags) [all...] |
arn5008.c | 727 struct athn_rx_radiotap_header *tap = &sc->sc_rxtap; local in function:ar5008_rx_radiotap 741 tap->wr_flags = IEEE80211_RADIOTAP_F_FCS; 742 tap->wr_tsft = htole64(tsf); 743 tap->wr_chan_freq = htole16(ic->ic_curchan->ic_freq); 744 tap->wr_chan_flags = htole16(ic->ic_curchan->ic_flags); 745 tap->wr_dbm_antsignal = MS(ds->ds_status4, AR_RXS4_RSSI_COMBINED); 747 tap->wr_antenna = MS(ds->ds_status3, AR_RXS3_ANTENNA); 748 tap->wr_rate = 0; /* In case it can't be found below. */ 755 tap->wr_rate = rate; 757 tap->wr_flags |= IEEE80211_RADIOTAP_F_SHORTGI 1409 struct athn_tx_radiotap_header *tap = &sc->sc_txtap; local in function:ar5008_tx [all...] |
arn9003.c | 878 struct athn_rx_radiotap_header *tap = &sc->sc_rxtap; local in function:ar9003_rx_radiotap 892 tap->wr_flags = IEEE80211_RADIOTAP_F_FCS; 893 tap->wr_tsft = htole64(tsf); 894 tap->wr_chan_freq = htole16(ic->ic_curchan->ic_freq); 895 tap->wr_chan_flags = htole16(ic->ic_curchan->ic_flags); 896 tap->wr_dbm_antsignal = MS(ds->ds_status5, AR_RXS5_RSSI_COMBINED); 898 tap->wr_antenna = MS(ds->ds_status4, AR_RXS4_ANTENNA); 899 tap->wr_rate = 0; /* In case it can't be found below. */ 903 tap->wr_rate = rate; 905 tap->wr_flags |= IEEE80211_RADIOTAP_F_SHORTGI 1562 struct athn_tx_radiotap_header *tap = &sc->sc_txtap; local in function:ar9003_tx [all...] |
/src/distrib/utils/embedded/ |
usermode | 52 sudo chmod 664 /dev/tap*
|
/src/sys/arch/alpha/tlsb/ |
tlsb.c | 89 struct tlsb_dev_attach_args *tap = aux; local in function:tlsbprint 94 tlsb_node_type_str(tap->ta_dtype, buf, sizeof(buf)), 95 pnp, tap->ta_node); 97 aprint_normal(" node %d: %s", tap->ta_node, 98 tlsb_node_type_str(tap->ta_dtype, buf, sizeof(buf)));
|
/src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/amd/ |
amd-seattle-xgbe-b.dtsi | 52 amd,serdes-dfe-tap-config = <3>, <3>, <3>; 53 amd,serdes-dfe-tap-enable = <0>, <0>, <7>; 78 amd,serdes-dfe-tap-config = <3>, <3>, <3>; 79 amd,serdes-dfe-tap-enable = <0>, <0>, <7>;
|
/src/sys/arch/usermode/usermode/ |
machdep.c | 160 char *tap = argv[i] + strlen("net="); local in function:main 161 char *mac = strchr(tap, ','); 169 if (*tap != '/') { 173 for (; *tap != ','; p++, tap++) 174 *p = *tap;
|
/src/sys/arch/alpha/mcbus/ |
mcbus.c | 93 struct mcbus_dev_attach_args *tap = aux; local in function:mcbusprint 94 aprint_normal(" mid %d: %s", tap->ma_mid, 95 mcbus_node_type_str(tap->ma_type));
|
/src/sys/dev/usb/ |
if_ural.c | 964 struct ural_rx_radiotap_header *tap = &sc->sc_rxtap; local in function:ural_rxeof 966 tap->wr_flags = IEEE80211_RADIOTAP_F_FCS; 967 tap->wr_rate = ural_rxrate(desc); 968 tap->wr_chan_freq = htole16(ic->ic_curchan->ic_freq); 969 tap->wr_chan_flags = htole16(ic->ic_curchan->ic_flags); 970 tap->wr_antenna = sc->rx_ant; 971 tap->wr_antsignal = desc->rssi; 973 bpf_mtap2(sc->sc_drvbpf, tap, sc->sc_rxtap_len, m, BPF_D_IN); 1222 struct ural_tx_radiotap_header *tap = &sc->sc_txtap; local in function:ural_tx_mgt 1224 tap->wt_flags = 0 1312 struct ural_tx_radiotap_header *tap = &sc->sc_txtap; local in function:ural_tx_data [all...] |
if_athn_usb.c | 2178 struct athn_rx_radiotap_header *tap = &sc->sc_rxtap; local in function:athn_usb_rx_radiotap 2184 tap->wr_flags = IEEE80211_RADIOTAP_F_FCS; 2185 tap->wr_tsft = htole64(be64toh(rs->rs_tstamp)); 2186 tap->wr_chan_freq = htole16(ic->ic_curchan->ic_freq); 2187 tap->wr_chan_flags = htole16(ic->ic_curchan->ic_flags); 2188 tap->wr_dbm_antsignal = rs->rs_rssi; 2190 tap->wr_antenna = rs->rs_antenna; 2194 tap->wr_rate = rate; 2196 tap->wr_flags |= IEEE80211_RADIOTAP_F_SHORTGI; 2199 tap->wr_flags |= IEEE80211_RADIOTAP_F_SHORTPRE 2497 struct athn_tx_radiotap_header *tap = &sc->sc_txtap; local in function:athn_usb_tx [all...] |
if_zyd.c | 1963 struct zyd_rx_radiotap_header *tap = &sc->sc_rxtap; local in function:zyd_rx_data 1970 tap->wr_flags = IEEE80211_RADIOTAP_F_FCS; 1971 tap->wr_chan_freq = htole16(ic->ic_curchan->ic_freq); 1972 tap->wr_chan_flags = htole16(ic->ic_curchan->ic_flags); 1973 tap->wr_rssi = stat->rssi; 1974 tap->wr_rate = rates[plcp->signal & 0xf]; 1976 bpf_mtap2(sc->sc_drvbpf, tap, sc->sc_rxtap_len, m, BPF_D_IN); 2129 struct zyd_tx_radiotap_header *tap = &sc->sc_txtap; local in function:zyd_tx_mgt 2131 tap->wt_flags = 0; 2132 tap->wt_rate = rate 2286 struct zyd_tx_radiotap_header *tap = &sc->sc_txtap; local in function:zyd_tx_data [all...] |
/src/sys/arch/evbarm/conf/ |
GENERIC.common | 166 pseudo-device tap # virtual Ethernet
|
/src/sys/dev/pci/ |
if_wpi.c | 1581 struct wpi_rx_radiotap_header *tap = &sc->sc_rxtap; local in function:wpi_rx_intr 1583 tap->wr_flags = 0; 1584 tap->wr_chan_freq = 1586 tap->wr_chan_flags = 1588 tap->wr_dbm_antsignal = (int8_t)(stat->rssi - WPI_RSSI_OFFSET); 1589 tap->wr_dbm_antnoise = (int8_t)le16toh(stat->noise); 1590 tap->wr_tsft = tail->tstamp; 1591 tap->wr_antenna = (le16toh(head->flags) >> 4) & 0xf; 1594 case 10: tap->wr_rate = 2; break; 1595 case 20: tap->wr_rate = 4; break 1951 struct wpi_tx_radiotap_header *tap = &sc->sc_txtap; local in function:wpi_tx_data [all...] |