/external/openssh/openbsd-compat/ |
H A D | port-tun.c | 44 * SSH_TUN_LINUX Use the (newer) Linux tun/tap device 45 * SSH_TUN_FREEBSD Use the FreeBSD tun/tap device 59 sys_tun_open(int tun, int mode) argument 65 if ((fd = open("/dev/net/tun", O_RDWR)) == -1) { 78 name = "tun%d"; 82 if (tun != SSH_TUNID_ANY) { 83 if (tun > SSH_TUNID_MAX) { 85 tun, strerror(errno)); 88 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), name, tun); 97 if (tun 119 sys_tun_open(int tun, int mode) argument [all...] |
/external/android-clat/ |
H A D | Android.mk | 4 LOCAL_SRC_FILES:=clatd.c dump.c checksum.c translate.c icmp.c ipv4.c ipv6.c config.c dns64.c logging.c getaddr.c netlink_callbacks.c netlink_msg.c setif.c mtu.c tun.c ring.c 33 LOCAL_SRC_FILES := clatd_test.cpp checksum.c translate.c icmp.c ipv4.c ipv6.c logging.c config.c tun.c 45 LOCAL_SRC_FILES := clatd_microbenchmark.c checksum.c tun.c
|
H A D | clatd_microbenchmark.c | 16 * clatd_microbenchmark.c - micro-benchmark for clatd tun send path 45 #include "tun.h" 88 struct tun_pi tun = { 0, htons(ETH_P_IP) }; local 106 { &tun, sizeof(tun) }, // tun header
|
/external/autotest/client/deps/lansim/src/py/ |
H A D | tuntap_unittest.py | 30 tun = tuntap.TunTap(tuntap.IFF_TUN, name="faketun%d") 31 self.assertEqual(tun.mode, tuntap.IFF_TUN)
|
/external/openssh/ |
H A D | misc.c | 252 int tun; local 263 tun = a2tun(sp, NULL); 265 return (*remote == SSH_TUNID_ERR ? *remote : tun); 271 tun = strtonum(s, 0, SSH_TUNID_MAX, &errstr); 275 return (tun); 648 tun_open(int tun, int mode) argument 651 return (sys_tun_open(tun, mode)); 658 if (tun <= SSH_TUNID_MAX) { 659 snprintf(name, sizeof(name), "/dev/tun%d", tun); [all...] |
H A D | auth-options.c | 365 char *tun = NULL; local 367 tun = xmalloc(strlen(opts) + 1); 372 tun[i++] = *opts++; 379 free(tun); 383 tun[i] = '\0'; 384 forced_tun_device = a2tun(tun, NULL); 385 free(tun); 387 debug("%.100s, line %lu: invalid tun device", 389 auth_debug_add("%.100s, line %lu: invalid tun device", 394 auth_debug_add("Forced tun devic [all...] |
H A D | serverloop.c | 1027 int mode, tun; local 1045 tun = packet_get_int(); 1047 if (tun != SSH_TUNID_ANY && forced_tun_device != tun) 1049 tun = forced_tun_device; 1051 sock = tun_open(tun, mode); 1054 c = channel_new("tun", SSH_CHANNEL_OPEN, sock, sock, -1, 1055 CHAN_TCP_WINDOW_DEFAULT, CHAN_TCP_PACKET_DEFAULT, 0, "tun", 1); 1122 } else if (strcmp(ctype, "tun@openssh.com") == 0) {
|
H A D | Android.mk | 79 openbsd-compat/port-tun.c \
|
/external/wpa_supplicant_8/hostapd/src/radius/ |
H A D | radius.c | 1441 struct radius_tunnel_attrs tunnel[RADIUS_TUNNEL_TAGS], *tun; local 1463 tun = &tunnel[0]; 1465 tun = &tunnel[data[0]]; 1471 tun->tag_used++; 1472 tun->type = WPA_GET_BE24(data + 1); 1477 tun->tag_used++; 1478 tun->medium_type = WPA_GET_BE24(data + 1); 1492 tun->tag_used++; 1493 tun->vlanid = vlan_id; 1512 tun [all...] |
/external/wpa_supplicant_8/src/radius/ |
H A D | radius.c | 1441 struct radius_tunnel_attrs tunnel[RADIUS_TUNNEL_TAGS], *tun; local 1463 tun = &tunnel[0]; 1465 tun = &tunnel[data[0]]; 1471 tun->tag_used++; 1472 tun->type = WPA_GET_BE24(data + 1); 1477 tun->tag_used++; 1478 tun->medium_type = WPA_GET_BE24(data + 1); 1492 tun->tag_used++; 1493 tun->vlanid = vlan_id; 1512 tun [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/radius/ |
H A D | radius.c | 1441 struct radius_tunnel_attrs tunnel[RADIUS_TUNNEL_TAGS], *tun; local 1463 tun = &tunnel[0]; 1465 tun = &tunnel[data[0]]; 1471 tun->tag_used++; 1472 tun->type = WPA_GET_BE24(data + 1); 1477 tun->tag_used++; 1478 tun->medium_type = WPA_GET_BE24(data + 1); 1492 tun->tag_used++; 1493 tun->vlanid = vlan_id; 1512 tun [all...] |
/external/ipsec-tools/ |
H A D | main.c | 108 int tun = open("/dev/tun", 0); local 118 if (ioctl(tun, TUNSETIFF, &ifr)) {
|
/external/openssh/contrib/cygwin/ |
H A D | Makefile | 51 -$(INSTALL) -m 644 $(srcdir)/README.tun $(DESTDIR)$(sshdocdir)/README.tun
|
/external/selinux/libsepol/cil/src/ |
H A D | cil_resolve_ast.c | 3154 struct cil_tunable *tun = curr->data; local 3155 return tun->value;
|
/external/robolectric/v3/runtime/ |
H A D | android-all-4.1.2_r1-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.2.2_r1.2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.3_r2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.4_r1-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.0.0_r2-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.1.1_r9-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |