-bool send_tcppacket(connection_t *c, vpn_packet_t *packet)
-{
- cp();
-
- /* If there already is a lot of data in the outbuf buffer, discard this packet. */
-
- if(c->outbuflen > maxoutbufsize)
- return true;
-
- if(!send_request(c, "%d %hd", PACKET, packet->len))
- return false;
-
- return send_meta(c, (char *)packet->data, packet->len);
-}