Searched refs:tuntap (Results 1 - 17 of 17) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/os-Linux/drivers/
H A DMakefile7 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 Dtun.h126 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 Droute.h223 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 Dforward.c166 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 Dtun.c72 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 Derror.h257 struct tuntap;
269 struct tuntap *tt);
272 check_status (int status, const char *description, struct link_socket *sock, struct tuntap *tt)
H A Dinit.h67 const struct tuntap *tt,
H A Dinit.c1284 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 Dmulti.c367 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 Dopenvpn.h172 struct tuntap *tuntap; /**< Tun/tap virtual network interface. */ member in struct:context_1
H A Dsig.c279 if (tuntap_defined (c->c1.tuntap))
281 tap_win_getinfo (c->c1.tuntap, &gc));
H A Droute.c52 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 Doptions.h696 struct tuntap *tt,
H A Derror.c599 struct tuntap *tt)
H A Dmtcp.c243 tun_set (c->c1.tuntap, mtcp->es, EVENT_READ, MTCP_TUN, &mtcp->tun_rwflags);
H A Doptions.c2903 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 Dnetwork.c54 #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...]

Completed in 275 milliseconds