• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/l2tpd-0.69/

Lines Matching refs:tunnel

92 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) will
204 struct tunnel *y;
241 /* This is an attempt to bring up the tunnel */
371 "%s: Peer did not specify assigned tunnel ID. Closing.\n",
373 set_error (c, VENDOR_ERROR, "Specify your assigned tunnel ID");
435 "%s: Peer requested tunnel %d twice, ignoring second one.\n",
538 "%s: Peer did not specify assigned tunnel ID. Closing.\n",
540 set_error (c, VENDOR_ERROR, "Specify your assigned tunnel ID");
667 "%s: Peer tried to disconnect without specifying tunnel ID\n",
705 set_error (p, ERROR_INVALID, "This tunnel cannot accept calls\n");
758 log (LOG_DEBUG, "%s: Out of IP addresses on tunnel %d!\n",
964 "%s: Peer attempted ICCN on the actual tunnel, not the call",
1171 inline int check_control (const struct buffer *buf, struct tunnel *t,
1211 "%s: Received out of order control packet on tunnel %d (%d != %d)\n",
1235 /* We made this tunnel just for this message, so let's
1307 inline int check_payload (struct buffer *buf, struct tunnel *t,
1321 log (LOG_DEBUG, "%s: Aempted to send payload on tunnel\n",
1413 inline int expand_payload (struct buffer *buf, struct tunnel *t,
1573 struct tunnel *t;
1601 inline int write_packet (struct buffer *buf, struct tunnel *t, struct call *c,
1734 * on a call which doesn't exist in our tunnel. We want to
1735 * send back a ZLB to keep the tunnel alive, on that particular
1740 struct tunnel *t = c->container;
1744 /* Temporarily, we make the tunnel have cid of call instead of 0,
1774 inline int handle_packet (struct buffer *buf, struct tunnel *t,