/usr/include/zorp/tpsocket.h is in libzorp-dev 3.9.2-3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | /***************************************************************************
*
* Copyright (c) 2000, 2001, 2002 BalaBit IT Ltd, Budapest, Hungary
* All rights reserved.
*
* Author : Bazsi
* Auditor :
* Last audited version:
* Notes:
*
***************************************************************************/
#ifndef ZORP_TPROXY_H_INCLUDED
#define ZORP_TPROXY_H_INCLUDED
#include <zorp/socket.h>
extern const gchar *auto_bind_ip;
gboolean z_tp_socket_init(gint sysdep_tproxy);
int z_tp_assign(int fd, in_addr_t faddr, guint16 fport);
int z_tp_set_flags(int fd, int flags);
int z_tp_get_flags(int fd, int *flags);
int z_tp_connect(int fd, in_addr_t faddr, guint16 fport);
int z_tp_query(int fd, in_addr_t *faddr, guint16 *fport);
int z_tp_alloc(int fd);
#endif
|