Home
last modified time | relevance | path

Searched refs:tun (Results 1 – 25 of 103) sorted by relevance

12345

/external/openssh/openbsd-compat/
Dport-net.c143 sys_tun_open(int tun, int mode, char **ifname) in sys_tun_open() argument
168 if (tun != SSH_TUNID_ANY) { in sys_tun_open()
169 if (tun > SSH_TUNID_MAX) { in sys_tun_open()
171 tun, strerror(errno)); in sys_tun_open()
174 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), name, tun); in sys_tun_open()
183 if (tun == SSH_TUNID_ANY) in sys_tun_open()
208 sys_tun_open(int tun, int mode, char **ifname) in sys_tun_open() argument
228 if (tun <= SSH_TUNID_MAX) { in sys_tun_open()
229 snprintf(name, sizeof(name), "/dev/%s%d", tunbase, tun); in sys_tun_open()
231 } else if (tun == SSH_TUNID_ANY) { in sys_tun_open()
[all …]
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Dmirror_gre_scale.sh58 local tun=gt6-$i
68 tunnel_create $tun ip6gretap \
83 action mirred egress mirror dev $tun
97 local tun=gt6-$i
106 tunnel_destroy $tun
/external/scapy/test/
Dsendsniff.uts89 + Test bridge_and_sniff() using tun sockets
91 ~ tun linux not_pcapdnet
93 = Create two tun interfaces
98 tun0, tun1 = [TunTapInterface("tun%d" % i) for i in range(2)]
102 assert subprocess.check_call(["ip", "link", "set", "tun%d" % i, "up"]) == 0
105 assert subprocess.check_call(["ifconfig", "tun%d" % i, "up"]) == 0
168 = Delete the tun interfaces
/external/autotest/client/deps/lansim/src/py/
Dtuntap_unittest.py30 tun = tuntap.TunTap(tuntap.IFF_TUN, name="faketun%d")
31 self.assertEqual(tun.mode, tuntap.IFF_TUN)
/external/wpa_supplicant_8/src/radius/
Dradius.c1455 struct radius_tunnel_attrs tunnel[RADIUS_TUNNEL_TAGS], *tun; in radius_msg_get_vlanid() local
1477 tun = &tunnel[0]; in radius_msg_get_vlanid()
1479 tun = &tunnel[data[0]]; in radius_msg_get_vlanid()
1485 tun->tag_used++; in radius_msg_get_vlanid()
1486 tun->type = WPA_GET_BE24(data + 1); in radius_msg_get_vlanid()
1491 tun->tag_used++; in radius_msg_get_vlanid()
1492 tun->medium_type = WPA_GET_BE24(data + 1); in radius_msg_get_vlanid()
1506 tun->tag_used++; in radius_msg_get_vlanid()
1507 tun->vlanid = vlan_id; in radius_msg_get_vlanid()
1526 tun = &tunnel[i]; in radius_msg_get_vlanid()
[all …]
/external/openssh/
Dmisc.c440 int tun; in a2tun() local
451 tun = a2tun(sp, NULL); in a2tun()
453 return (*remote == SSH_TUNID_ERR ? *remote : tun); in a2tun()
459 tun = strtonum(s, 0, SSH_TUNID_MAX, &errstr); in a2tun()
463 return (tun); in a2tun()
1128 tun_open(int tun, int mode, char **ifname) in tun_open() argument
1131 return (sys_tun_open(tun, mode, ifname)); in tun_open()
1145 if (tun <= SSH_TUNID_MAX) { in tun_open()
1146 snprintf(name, sizeof(name), "/dev/%s%d", tunbase, tun); in tun_open()
1148 } else if (tun == SSH_TUNID_ANY) { in tun_open()
[all …]
Dserverloop.c575 u_int mode, tun; in server_request_tun() local
595 if ((r = sshpkt_get_u32(ssh, &tun)) != 0) in server_request_tun()
597 if (tun > INT_MAX) { in server_request_tun()
602 if (tun != SSH_TUNID_ANY && in server_request_tun()
603 auth_opts->force_tun_device != (int)tun) in server_request_tun()
605 tun = auth_opts->force_tun_device; in server_request_tun()
607 sock = tun_open(tun, mode, &ifname); in server_request_tun()
DREADME.tun4 OpenSSH contains support for VPN tunneling using the tun(4) network
40 OpenBSD also supports layer 2 tunneling over the tun device by adding
132 $OpenBSD: README.tun,v 1.4 2006/03/28 00:12:31 deraadt Exp $
DPROTOCOL174 2.3. connection: Tunnel forward extension "tun@openssh.com"
176 OpenSSH supports layer 2 and layer 3 tunnelling via the "tun@openssh.com"
179 interfaces like the BSD tun(4) device. Tunnel forwarding channels are
183 string "tun@openssh.com"
DREADME.platform52 Darwin does not provide a tun(4) driver required for OpenSSH-based
/external/ipsec-tools/
Dmain.c106 int tun = open("/dev/tun", 0); in android_hook() local
116 if (ioctl(tun, TUNSETIFF, &ifr)) { in android_hook()
/external/openssh/contrib/cygwin/
DMakefile52 -$(INSTALL) -m 644 $(srcdir)/README.tun $(DESTDIR)$(sshdocdir)/README.tun
/external/iptables/extensions/
Dlibxt_bpf.man50 such as a tun device:
52 ip tuntap add tun0 mode tun
/external/icu/icu4c/source/data/curr/
Dksf.txt196 "mɔni mǝ á tunɛsí",
Dhu.txt920 "tunéziai dínár",
2013 one{"tunéziai dínár"}
2014 other{"tunéziai dínár"}
/external/icu/icu4c/source/data/locales/
Duz.txt581 midnight{"yarim tun"}
589 midnight{"yarim tun"}
597 midnight{"yarim tun"}
608 midnight{"yarim tun"}
618 midnight{"yarim tun"}
628 midnight{"yarim tun"}
/external/cldr/common/testData/transforms/
Dru-t-zh-Latn-pinyin.txt347 tun тунь
Dblt-fonipa-t-blt.txt184 ꪕꪴꪙ tun˥
/external/icu/icu4c/source/data/region/
Dksf.txt203 TN{"tunɛsí"}
Dbas.txt219 WF{"Wàlîs nì Fùtunà"}
/external/libnl/doc/
Droute.txt29 tun devices, bridging devices, ...)
957 if ((err = rtnl_link_set_name(link, "ipip-tun")) < 0)
1035 if ((err = rtnl_link_set_name(link, "ipgre-tun")) < 0)
1113 if ((err = rtnl_link_set_name(link, "sit-tun")) < 0)
1177 if ((err = rtnl_link_set_name(link, "ipvti-tun")) < 0)
1245 rtnl_link_set_name(link, "ip6tnl-tun");
/external/icu/icu4c/source/data/translit/
Des_FONIPA_zh.txt439 tun } $not_vowel → 通 ;
DLatn_Bopo.txt353 tun }$pTone ↔ ㄊㄨㄣ }$zTone;
354 tun → ㄊㄨㄣ˙;
/external/icu/icu4c/source/data/lang/
Ddsb.txt191 ps{"paštunšćina"}
Dhsb.txt191 ps{"paštunšćina"}

12345