• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/l2tpd-0.69/

Lines Matching refs:tunnel

69     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 itself,so it needs to be
464 struct tunnel *p;
472 * We must divorce ourself from the tunnel
511 "%s: unable to locate tunnel in tunnel list\n",
517 log (LOG_WARN, "%s: tunnel list is empty!\n", __FUNCTION__);
534 * XXX But what if another tunnel is using same SA?
764 struct tunnel *l2tp_call (char *host, int port, struct lac *lac,
768 * Establish a tunnel from us to host
810 /* Force creation of a new tunnel
818 log (LOG_WARN, "%s: Unable to create tunnel to %s.\n", __FUNCTION__,
832 * Since our state is 0, we will establish a tunnel now
871 struct tunnel *t = tunnels.head;
892 log (LOG_LOG, "%s: Calling on tunnel %d\n", __FUNCTION__, tid);
899 log (LOG_DEBUG, "%s: No such tunnel %d to generate call.\n", __FUNCTION__,
928 log (LOG_DEBUG, "%s : tunnel not up! Connecting!\n", __FUNCTION__);
938 struct tunnel *t = tunnels.head;
965 struct tunnel *t = tunnels.head;
980 log (LOG_DEBUG, "%s: No such tunnel %d to hang up.\n", __FUNCTION__, tid);
984 struct tunnel *new_tunnel ()
986 struct tunnel *tmp = malloc (sizeof (struct tunnel));
1074 /* Foxconn, add by MJ. for building L2TP tunnel in the begining. */
1098 log (LOG_DEBUG, "%s: Attempting to tunnel to %s\n",
1132 log (LOG_DEBUG, "%s: No such tunnel '%s'\n", __FUNCTION__,
1138 log (LOG_DEBUG, "%s: Attempting to call on tunnel %d\n",
1178 log (LOG_DEBUG, "%s: No such tunnel '%s'\n", __FUNCTION__,
1183 log (LOG_DEBUG, "%s: Attempting to call on tunnel %d\n",
1221 log (LOG_DEBUG, "%s: No such tunnel '%s'\n", __FUNCTION__,
1226 log (LOG_DEBUG, "%s: Attempting to disconnect tunnel %d\n",