Searched refs:tunnel (Results 1 - 25 of 32) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/l2tpd-0.69/
H A Davp.h29 int (*handler) (struct tunnel *, struct call *, void *, int);
31 taking a tunnel, call, the data,
38 extern int handle_avps (struct buffer *buf, struct tunnel *t, struct call *c);
85 extern void encrypt_avp (struct buffer *, _u16, struct tunnel *);
86 extern int decrypt_avp (char *, struct tunnel *);
87 extern int message_type_avp (struct tunnel *, struct call *, void *, int);
88 extern int protocol_version_avp (struct tunnel *, struct call *, void *, int);
89 extern int framing_caps_avp (struct tunnel *, struct call *, void *, int);
90 extern int bearer_caps_avp (struct tunnel *, struct call *, void *, int);
91 extern int firmware_rev_avp (struct tunnel *, struc
[all...]
H A Dcontrol.h55 extern int handle_packet (struct buffer *, struct tunnel *, struct call *);
56 extern struct buffer *new_outgoing (struct tunnel *);
57 extern void add_control_hdr (struct tunnel *t, struct call *c,
59 extern int control_finish (struct tunnel *t, struct call *c);
60 extern void control_zlb (struct buffer *, struct tunnel *, struct call *);
H A Daaa.h48 extern struct lns *get_lns (struct tunnel *);
54 extern int handle_challenge (struct tunnel *, struct challenge *);
H A Dmisc.h18 struct tunnel;
33 struct tunnel *tunnel; /* Who owns this packet, if it's a control */ member in struct:buffer
H A Dl2tp.h116 struct tunnel struct
119 struct tunnel *next; /* Allows us to be linked easily */
129 int tid; /* Peer's tunnel identifier */
130 int ourtid; /* Our tunnel identifier */
142 int state; /* State of tunnel */
163 struct tunnel *head;
192 extern void tunnel_close (struct tunnel *t);
202 extern struct tunnel *new_tunnel ();
204 extern void destroy_tunnel (struct tunnel *);
207 extern void add_payload_hdr (struct tunnel *, struc
[all...]
H A Dnetwork.c113 inline void extract (void *buf, int *tunnel, int *call) argument
116 * Extract the tunnel and call #'s, and fix the order of the
123 *tunnel = p->tid;
128 *tunnel = p->length;
178 struct tunnel *t;
188 t = buf->tunnel;
205 * Too many retries. Either kill the tunnel, or
206 * if there is no tunnel, just stop retransmitting.
213 "%s: Unable to deliver closing message for tunnel %d. Destroying anyway.\n",
225 "%s: Maximum retries exceeded for tunnel
272 int tunnel, call; /* Tunnel and call */ local
[all...]
H A Dcall.h70 struct tunnel *container; /* Tunnel we belong to */
102 extern struct call *new_call (struct tunnel *);
H A Davp.c131 int message_type_avp (struct tunnel *t, struct call *c, void *data,
172 "%s: attempting to negotiate tunnel inside a call!\n",
237 "%s: attempting to negotiate ICRP on tunnel!=SCCCN\n",
275 "%s: attempting to negotiate OCRP on tunnel!=SCCCN\n",
337 int rand_vector_avp (struct tunnel *t, struct call *c, void *data,
370 int ignore_avp (struct tunnel *t, struct call *c, void *data, int datalen)
391 int seq_reqd_avp (struct tunnel *t, struct call *c, void *data, int datalen)
427 int result_code_avp (struct tunnel *t, struct call *c, void *data,
507 int protocol_version_avp (struct tunnel *t, struct call *c, void *data,
554 int framing_caps_avp (struct tunnel *
[all...]
H A Dcall.c50 void add_payload_hdr (struct tunnel *t, struct call *c, struct buffer *buf)
220 * entire tunnel
224 for this tunnel. That means Hello's and any reminaing
232 if ((((struct buffer *) se->data)->tunnel == c->container)
233 || ((struct tunnel *) se->data == c->container))
241 if ((struct tunnel *) se->data != c->container)
249 if ((struct tunnel *) se->data != c->container)
264 /* Really close this tunnel, as our
267 log (LOG_DEBUG, "%s: Actually closing tunnel %d\n", __FUNCTION__,
303 log (LOG_DEBUG, "%s: enqueing close message for tunnel\
570 get_tunnel(int tunnel, unsigned int addr, int port) argument
587 get_call(int tunnel, int call, unsigned int addr, int port) argument
[all...]
H A Dfile.h62 int exclusive; /* Only one tunnel per host? */
65 int tun_rws; /* Receive window size (tunnel) */
92 struct tunnel *t; /* Tunnel of this, if it's ready */
100 int tun_rws; /* Receive window size (tunnel) */
127 struct tunnel *t; /* Our tunnel */
H A Dl2tpd.c69 struct tunnel *t;
88 t = (struct tunnel *) se->data;
194 struct tunnel *t;
235 * we call call_close on each tunnel twice to get a StopCCN out
239 struct tunnel *st, *st2;
251 /* Disconnect the call (send CDN) tear down tunnel (StopCCN) */
393 struct tunnel *st;
454 void destroy_tunnel (struct tunnel *t)
457 * Immediately destroy a tunnel (and all its calls)
459 * by the tunnel itsel
[all...]
H A Daaa.c216 int handle_challenge (struct tunnel *t, struct challenge *chal)
227 log (LOG_DEBUG, "%s: making response for tunnel: %d\n", __FUNCTION__,
292 struct lns *get_lns (struct tunnel *t)
358 void encrypt_avp (struct buffer *buf, _u16 len, struct tunnel *t)
429 int decrypt_avp (char *buf, struct tunnel *t)
H A Dcontrol.c92 struct buffer *new_outgoing (struct tunnel *t)
104 tmp->tunnel = t;
117 buf->tunnel = NULL;
136 void add_control_hdr (struct tunnel *t, struct call *c, struct buffer *buf)
155 struct tunnel *t;
159 t = (struct tunnel *) tun;
179 void control_zlb (struct buffer *buf, struct tunnel *t, struct call *c)
185 log (LOG_DEBUG, "%s: sending control ZLB on tunnel %d\n", __FUNCTION__,
191 int control_finish (struct tunnel *t, struct call *c)
199 * If we set c->needclose, the call (or tunnel) wil
[all...]
H A Davpsend.c194 int add_callid_avp (struct buffer *buf, _u16 callid, struct tunnel *t)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dpppol2tp_v26.c37 * zero, the socket is treated as a special tunnel management socket.
184 struct pppol2tp_tunnel *tunnel; member in struct:pppol2tp_send
210 struct sock *tunnel_sock; /* Pointer to the tunnel UDP
213 struct pppol2tp_addr tunnel_addr; /* Description of tunnel */
215 struct pppol2tp_tunnel *tunnel; /* back pointer to tunnel member in struct:pppol2tp_session
242 /* The sk_user_data field of the tunnel's UDP socket. It contains info to track
249 struct workqueue_struct *wq; /* Per-tunnel work queue */
290 /* Macros to derive session/tunnel context pointers from a socket. */
303 #define SOCK_2_TUNNEL(sock, tunnel, er
322 pppol2tp_session_id_hash(struct pppol2tp_tunnel *tunnel, u16 session_id) argument
331 pppol2tp_session_find(struct pppol2tp_tunnel *tunnel, u16 session_id) argument
392 struct pppol2tp_tunnel *tunnel = session->tunnel; local
549 struct pppol2tp_tunnel *tunnel; local
799 struct pppol2tp_tunnel *tunnel; local
866 pppol2tp_udp_sock_send(struct kiocb *iocb, struct pppol2tp_session *session, struct pppol2tp_tunnel *tunnel, struct msghdr *msg, int total_len) argument
982 struct pppol2tp_tunnel *tunnel; local
1157 struct pppol2tp_tunnel *tunnel; local
1375 pppol2tp_tunnel_closeall(struct pppol2tp_tunnel *tunnel) argument
1432 pppol2tp_tunnel_free(struct pppol2tp_tunnel *tunnel) argument
1461 struct pppol2tp_tunnel *tunnel; local
1490 struct pppol2tp_tunnel *tunnel; local
1541 struct pppol2tp_tunnel *tunnel; local
1666 struct pppol2tp_tunnel *tunnel; local
1866 struct pppol2tp_tunnel *tunnel; local
2222 pppol2tp_tunnel_ioctl(struct pppol2tp_tunnel *tunnel, unsigned int cmd, unsigned long arg) argument
2288 struct pppol2tp_tunnel *tunnel; local
2337 pppol2tp_tunnel_setsockopt(struct sock *sk, struct pppol2tp_tunnel *tunnel, int optname, int val) argument
2443 struct pppol2tp_tunnel *tunnel; local
2483 pppol2tp_tunnel_getsockopt(struct sock *sk, struct pppol2tp_tunnel *tunnel, int optname, int *val) argument
2560 struct pppol2tp_tunnel *tunnel; local
2655 struct pppol2tp_tunnel *tunnel = NULL; local
2687 struct pppol2tp_tunnel *tunnel = v; local
2713 struct pppol2tp_tunnel *tunnel = v; local
2725 struct pppol2tp_tunnel *tunnel = v; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/doc/
H A Dip-tunnels.tex30 to create tunnel. It does not work in 2.2.0!
34 ip tunnel add MY-TUNNEL mode ipip remote 193.233.7.65
36 will create tunnel device with name \verb|MY-TUNNEL|. Now you may configure
50 to tunnel net 10.0.0.0 via router 193.233.7.65. It does not
78 Q: In 2.0.36 I used to load \verb|tunnel| device module and \verb|ipip| module.
79 I cannot find any \verb|tunnel| in 2.2!
82 and for all IPIP tunnel devices.
85 Q: \verb|traceroute| does not work over tunnel! Well, stop... It works,
88 A: Yes. By default tunnel driver copies \verb|ttl| value from
94 tunnel loop
[all...]
H A Dip-cref.tex119 \item \verb|tunnel| --- tunnel over IP
2332 \section{{\tt ip tunnel} --- tunnel configuration}
2335 \paragraph{Abbreviations:} \verb|tunnel|, \verb|tunl|.
2337 \paragraph{Object:} \verb|tunnel| objects are tunnels, encapsulating
2344 over IP and the \verb|ip tunnel| command can be found in~\cite{IP-TUNNELS}.
2346 \subsection{{\tt ip tunnel add} --- add a new tunnel\\
2347 {\tt ip tunnel chang
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dip_gre.c79 - traceroute does not work. I planned to relay ICMP from tunnel,
97 (branches, that exceed pmtu are pruned) and tunnel mtu
121 /* Fallback tunnel: no source, no destination, no key, no options */
138 it will match only tunnel with the same key; if it is not present,
139 it will match only keyless tunnel.
142 will match fallback tunnel.
157 /* Given src, dst and key, find appropriate for input tunnel. */
559 struct ip_tunnel *tunnel; local
601 if ((tunnel = ipgre_tunnel_lookup(iph->saddr, iph->daddr, key)) != NULL) {
626 tunnel
668 struct ip_tunnel *tunnel = netdev_priv(dev); local
1028 struct ip_tunnel *tunnel = netdev_priv(dev); local
1153 struct ip_tunnel *tunnel; local
1223 struct ip_tunnel *tunnel = netdev_priv(dev); local
[all...]
H A Dipip.c29 /* tunnel.c: an IP tunnel driver
31 The purpose of this driver is to provide an IP tunnel through
32 which you can tunnel network traffic transparently across subnets.
43 Made the tunnels use dev->name not tunnel: when error reporting.
49 Changed to tunnel to destination gateway in addition to the
50 tunnel's pointopoint address
58 /* Things I wish I had known when writing the tunnel driver:
62 contains the tunnel device that _we_ are.
469 struct ip_tunnel *tunnel; local
510 struct ip_tunnel *tunnel = netdev_priv(dev); local
796 struct ip_tunnel *tunnel; local
837 struct ip_tunnel *tunnel = netdev_priv(dev); local
[all...]
H A Dipcomp.c191 /* We always hold one tunnel user reference to indicate a tunnel */
227 * Must be protected by xfrm_cfg_mutex. State and tunnel user references are
246 x->tunnel = t;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Dsit.c2 * IPv6 over IPv4 tunnel device - Simple Internet Transition (SIT)
370 struct ip_tunnel *tunnel; local
378 if ((tunnel = ipip6_tunnel_lookup(iph->saddr, iph->daddr)) != NULL) {
385 tunnel->stat.rx_packets++;
386 tunnel->stat.rx_bytes += skb->len;
387 skb->dev = tunnel->dev;
425 struct ip_tunnel *tunnel = netdev_priv(dev); local
426 struct net_device_stats *stats = &tunnel->stat;
427 struct iphdr *tiph = &tunnel->parms.iph;
429 u8 tos = tunnel
735 struct ip_tunnel *tunnel; local
778 struct ip_tunnel *tunnel = netdev_priv(dev); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dif_pppox_v26.h165 struct pppol2tp_tunnel *tunnel; member in struct:pppol2tp_opt
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/tipc/
H A Dlink.c1287 * over another link with an additional tunnel header added as prefix.
1312 /* leave room for tunnel header in case of link changeover */
2253 struct link *tunnel; local
2257 tunnel = l_ptr->owner->active_links[selector & 1];
2258 if (!tipc_link_is_up(tunnel)) {
2260 "tunnel link no longer available\n");
2267 "unable to send tunnel msg\n");
2272 dbg("%c->%c:", l_ptr->b_ptr->net_plane, tunnel->b_ptr->net_plane);
2274 tipc_link_send_buf(tunnel, buf);
2288 struct link *tunnel local
2351 tipc_link_send_duplicate(struct link *l_ptr, struct link *tunnel) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/config/
H A DMakefile.am112 status stunnel tcpwrappers telnet time tunnel \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/config/
H A DMakefile.am112 status stunnel tcpwrappers telnet time tunnel \

Completed in 145 milliseconds

12