Lines Matching refs:tunnel
113 inline void extract (void *buf, int *tunnel, int *call)
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 %d. Closing.\n",
272 int tunnel, call; /* Tunnel and call */
276 struct tunnel *st; /* Tunnel */
297 log (LOG_DEBUG, "%S: closing down tunnel %d\n",
419 extract (buf->start, &tunnel, &call);
423 "tunnel = %d, call = %d\n", __FUNCTION__, inet_ntoa (from.sin_addr), recvsize, tunnel, call);
431 get_call (tunnel, call, from.sin_addr.s_addr,
435 get_tunnel (tunnel, from.sin_addr.s_addr,
442 * this from closing the tunnel, if we get a call on a valid
443 * tunnel, but not with a valid CID, we'll just send a ZLB
448 "%s: no such call %d on tunnel %d. Sending special ZLB\n",
454 "%s: unable to find call or tunnel to handle packet. call = %d, tunnel = %d Dumping.\n",
455 __FUNCTION__, call, tunnel);
498 log(LOG_DEBUG, "%s: throttling payload (call = %d, tunnel = %d, Lr = %d, Ss = %d, rws = %d)!\n",__FUNCTION__,