File: dnstc.h

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

typedef struct dnstc_config_t {
	struct sockaddr_in bindaddr;
} dnstc_config;

typedef struct dnstc_instance_t {
	list_head       list;
	dnstc_config    config;
	struct event    listener;
} dnstc_instance;

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