/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/os-Linux/drivers/ |
H A D | Makefile | 7 tuntap-objs := tuntap_kern.o tuntap_user.o 11 obj-$(CONFIG_UML_NET_TUNTAP) += tuntap.o
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/ |
H A D | tun.h | 126 struct tuntap struct 193 tuntap_defined (const struct tuntap *tt) 207 struct tuntap *tt); 209 void close_tun (struct tuntap *tt); 211 int write_tun (struct tuntap* tt, uint8_t *buf, int len); 213 int read_tun (struct tuntap* tt, uint8_t *buf, int len); 224 struct tuntap *init_tun (const char *dev, /* --dev option */ 237 void init_tun_post (struct tuntap *tt, 241 void do_ifconfig (struct tuntap *tt, 250 const char *ifconfig_options_string (const struct tuntap* t [all...] |
H A D | route.h | 223 void add_route_ipv6 (struct route_ipv6 *r, const struct tuntap *tt, unsigned int flags, const struct env_set *es); 224 void delete_route_ipv6 (const struct route_ipv6 *r, const struct tuntap *tt, unsigned int flags, const struct env_set *es); 227 const struct tuntap *tt, 262 const struct tuntap *tt, 268 const struct tuntap *tt, 303 bool test_routes (const struct route_list *rl, const struct tuntap *tt); 304 bool add_route_ipapi (const struct route *r, const struct tuntap *tt, DWORD adapter_index); 305 bool del_route_ipapi (const struct route *r, const struct tuntap *tt); 308 static inline bool test_routes (const struct route_list *rl, const struct tuntap *tt) { return true; }
|
H A D | forward.c | 166 tun_stat (c->c1.tuntap, EVENT_READ, gc), 167 tun_stat (c->c1.tuntap, EVENT_WRITE, gc), 443 c->c1.tuntap, c->plugins, c->c2.es); 453 if (test_routes (c->c1.route_list, c->c1.tuntap)) 464 if (c->c1.tuntap) 466 if (!tun_standby (c->c1.tuntap)) 1030 TUNNEL_TYPE (c->c1.tuntap), 1073 /* to_tun defined + unopened tuntap can cause deadlock */ 1074 if (!tuntap_defined (c->c1.tuntap)) 1102 read_tun_buffered (c->c1.tuntap, 1526 unsigned int tuntap = 0; local [all...] |
H A D | tun.c | 72 static void solaris_error_close (struct tuntap *tt, const struct env_set *es, const char *actual, bool unplumb_inet6); 76 static void clear_tuntap (struct tuntap *tuntap); 307 ifconfig_options_string (const struct tuntap* tt, bool remote, bool disable, struct gc_arena *gc) 343 tun_stat (const struct tuntap *tt, unsigned int rwflags, struct gc_arena *gc) 378 is_tun_p2p (const struct tuntap *tt) 395 * Set up tuntap structure for ifconfig, 398 struct tuntap * 413 struct tuntap *tt; 415 ALLOC_OBJ (tt, struct tuntap); 1231 clear_tuntap(struct tuntap *tuntap) argument [all...] |
H A D | error.h | 257 struct tuntap; 269 struct tuntap *tt); 272 check_status (int status, const char *description, struct link_socket *sock, struct tuntap *tt)
|
H A D | init.h | 67 const struct tuntap *tt,
|
H A D | init.c | 1284 fork_register_dns_action (c->c1.tuntap); 1294 if (c->c1.tuntap) 1295 tun_local = c->c1.tuntap->local; 1323 const struct tuntap *tt, 1387 c->c1.tuntap = init_tun (c->options.dev, 1401 c->c1.tuntap->ipv6 = c->options.tun_ipv6; 1403 init_tun_post (c->c1.tuntap, 1423 if (!c->c1.tuntap) 1447 do_ifconfig (c->c1.tuntap, guess, TUN_MTU_SIZE (&c->c2.frame), c->c2.es); 1452 c->c1.tuntap); [all...] |
H A D | multi.c | 367 ASSERT (t->c1.tuntap); 368 mroute_extract_in_addr_t (&m->local, t->c1.tuntap->local); 450 if (TUNNEL_TYPE (mi->context.c1.tuntap) == DEV_TYPE_TUN) 1150 if (TUNNEL_TYPE (mi->context.c1.tuntap) == DEV_TYPE_TUN) 1304 if ( mi->context.c1.tuntap->ipv6 && 1324 const int tunnel_type = TUNNEL_TYPE (mi->context.c1.tuntap); 1325 const int tunnel_topology = TUNNEL_TOPOLOGY (mi->context.c1.tuntap); 1339 mi->context.c2.push_ifconfig_remote_netmask = mi->context.c1.tuntap->remote_netmask; 1344 mi->context.c2.push_ifconfig_remote_netmask = mi->context.c1.tuntap->local; 1359 mi->context.c1.tuntap [all...] |
H A D | openvpn.h | 172 struct tuntap *tuntap; /**< Tun/tap virtual network interface. */ member in struct:context_1
|
H A D | sig.c | 279 if (tuntap_defined (c->c1.tuntap)) 281 tap_win_getinfo (c->c1.tuntap, &gc));
|
H A D | route.c | 52 static void delete_route (struct route *r, const struct tuntap *tt, unsigned int flags, const struct route_gateway_info *rgi, const struct env_set *es); 757 const struct tuntap *tt, 775 const struct tuntap *tt, 792 const struct tuntap *tt, 814 const struct tuntap *tt, 834 redirect_default_route_to_vpn (struct route_list *rl, const struct tuntap *tt, unsigned int flags, const struct env_set *es) 941 undo_redirect_default_route_to_vpn (struct route_list *rl, const struct tuntap *tt, unsigned int flags, const struct env_set *es) 1010 add_routes (struct route_list *rl, struct route_ipv6_list *rl6, const struct tuntap *tt, unsigned int flags, const struct env_set *es) 1055 const struct tuntap *tt, unsigned int flags, const struct env_set *es) 1291 const struct tuntap *t [all...] |
H A D | options.h | 696 struct tuntap *tt,
|
H A D | error.c | 599 struct tuntap *tt)
|
H A D | mtcp.c | 243 tun_set (c->c1.tuntap, mtcp->es, EVENT_READ, MTCP_TUN, &mtcp->tun_rwflags);
|
H A D | options.c | 2903 struct tuntap *tt,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/xtensa/platforms/iss/ |
H A D | network.c | 54 #define TRANSPORT_TUNTAP_NAME "tuntap" 91 struct tuntap_info tuntap; member in union:iss_net_private::__anon10685::__anon10686 219 char *dev_name = lp->tp.info.tuntap.dev_name; 225 if (!lp->tp.info.tuntap.fixed_config) 245 lp->tp.info.tuntap.fd = fd; 251 simc_close(lp->tp.info.tuntap.fd); 252 lp->tp.info.tuntap.fd = -1; 258 return simc_read(lp->tp.info.tuntap.fd, 264 return simc_write(lp->tp.info.tuntap.fd, (*skb)->data, (*skb)->len); 274 return simc_poll(lp->tp.info.tuntap [all...] |