File: base.h

package info (click to toggle)
redsocks 0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, buster, sid
  • size: 592 kB
  • sloc: ansic: 6,196; python: 505; sh: 185; makefile: 96
file content (13 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef BASE_H_SUN_JUN__3_20_15_57_2007
#define BASE_H_SUN_JUN__3_20_15_57_2007

int getdestaddr(int fd, const struct sockaddr_in *client, const struct sockaddr_in *bindaddr, struct sockaddr_in *destaddr);
int apply_tcp_keepalive(int fd);

uint32_t redsocks_conn_max();
uint32_t connpres_idle_timeout();
uint32_t max_accept_backoff_ms();

/* vim:set tabstop=4 softtabstop=4 shiftwidth=4: */
/* vim:set foldmethod=marker foldlevel=32 foldmarker={,}: */
#endif /* BASE_H_SUN_JUN__3_20_15_57_2007 */