Browse Source

iwyu: edge.c

pull/1119/head
Hamish Coleman 1 year ago
parent
commit
f6cebecd01
  1. 28
      src/edge.c

28
src/edge.c

@ -16,11 +16,36 @@
* *
*/ */
#include <arpa/inet.h> // for inet_addr, inet_ntop
#include <bits/getopt_core.h> // for optind, optarg
#include <ctype.h> // for isspace
#include <endian.h> // for htobe32
#include <errno.h> // for errno
#include <getopt.h> // for required_argument, no_argument
#include <netinet/in.h> // for INADDR_ANY, INADDR_NONE, ntohl
#include <pwd.h> // for getpwnam, passwd
#include <signal.h> // for signal, SIG_IGN, SIGPIPE, SIGCHLD
#include <stdint.h> // for uint8_t, uint16_t
#include <stdio.h> // for printf, NULL, fclose, snprintf
#include <stdlib.h> // for atoi, exit, calloc, free, malloc
#include <string.h> // for strncpy, memset, strlen, strcmp
#include <sys/param.h> // for MIN
#include <sys/select.h> // for select, FD_ISSET, FD_SET, FD_ZERO
#include <sys/socket.h> // for AF_INET
#include <sys/time.h> // for timeval
#include <sys/types.h> // for u_char
#include <time.h> // for time
#include <unistd.h> // for setuid, _exit, chdir, fork, getgid
#include "auth.h" // for generate_private_key, generate_p... #include "auth.h" // for generate_private_key, generate_p...
#include "n2n.h" #include "config.h" // for PACKAGE_BUILDDATE, PACKAGE_VERSION
#include "n2n.h" // for n2n_edge_conf_t, n2n_edge_t, fil...
#include "network_traffic_filter.h" // for process_traffic_filter_rule_str
#include "pearson.h" // for pearson_hash_64 #include "pearson.h" // for pearson_hash_64
#include "random_numbers.h" // for n2n_seed, n2n_srand #include "random_numbers.h" // for n2n_seed, n2n_srand
#include "sn_selection.h" // for sn_selection_sort, sn_selection_...
#include "speck.h" // for speck_init, speck_context_t #include "speck.h" // for speck_init, speck_context_t
#include "uthash.h" // for UT_hash_handle, HASH_ADD, HASH_C...
/* *************************************************** */ /* *************************************************** */
@ -37,7 +62,6 @@
#include <sys/capability.h> #include <sys/capability.h>
#include <sys/prctl.h> #include <sys/prctl.h>
#include "network_traffic_filter.h"
static cap_value_t cap_values[] = { static cap_value_t cap_values[] = {
//CAP_NET_RAW, /* Use RAW and PACKET sockets */ //CAP_NET_RAW, /* Use RAW and PACKET sockets */

Loading…
Cancel
Save