* Package: net-analyzer/sancp-1.6.1-r4 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Adding group 'sancp' to your system ... * - Groupid: next available * Adding user 'sancp' to your system ... * - Userid: 934 * - Shell: /sbin/nologin * - Home: /dev/null * - Groups: sancp * - GECOS: added by portage for sancp >>> Unpacking source... >>> Unpacking sancp-1.6.1.tar.gz to /var/tmp/portage/net-analyzer/sancp-1.6.1-r4/work >>> Unpacking sancp-1.6.1.fix200511.a.patch to /var/tmp/portage/net-analyzer/sancp-1.6.1-r4/work unpack sancp-1.6.1.fix200511.a.patch: file format not recognized. Ignoring. >>> Unpacking sancp-1.6.1.fix200511.b.patch to /var/tmp/portage/net-analyzer/sancp-1.6.1-r4/work unpack sancp-1.6.1.fix200511.b.patch: file format not recognized. Ignoring. >>> Unpacking sancp-1.6.1.fix200601.c.patch to /var/tmp/portage/net-analyzer/sancp-1.6.1-r4/work unpack sancp-1.6.1.fix200601.c.patch: file format not recognized. Ignoring. >>> Unpacking sancp-1.6.1.fix200606.d.patch to /var/tmp/portage/net-analyzer/sancp-1.6.1-r4/work unpack sancp-1.6.1.fix200606.d.patch: file format not recognized. Ignoring. >>> Source unpacked in /var/tmp/portage/net-analyzer/sancp-1.6.1-r4/work >>> Preparing source in /var/tmp/portage/net-analyzer/sancp-1.6.1-r4/work/sancp-1.6.1 ... * Applying sancp-1.6.1.fix200511.a.patch ... [ ok ] * Applying sancp-1.6.1.fix200511.b.patch ... [ ok ] * Applying sancp-1.6.1.fix200601.c.patch ... [ ok ] * Applying sancp-1.6.1.fix200606.d.patch ... [ ok ] * Applying sancp-1.6.1-compiler.patch ... [ ok ] * Applying sancp-1.6.1-gcc6.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/sancp-1.6.1-r4/work/sancp-1.6.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/sancp-1.6.1-r4/work/sancp-1.6.1 ... make -j1 if [ ! -f build_acl.o -o build_acl.cc -nt build_acl.o ]; then x86_64-gentoo-linux-musl-g++ -Wall -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -I/usr/include/pcap -L/usr/lib/libpcap.so.0.6.2 -c build_acl.cc -o build_acl.o; fi In file included from pcapFileHandle.h:15, from gvars.h:6, from sancp.h:48, from build_acl.cc:2: fileHandle.h:74:3: error: ‘u_int64_t’ does not name a type; did you mean ‘uint64_t’? 74 | u_int64_t in_use;// Count of | ^~~~~~~~~ | uint64_t In file included from sancp.h:48, from build_acl.cc:2: gvars.h:13:9: error: ‘u_int’ does not name a type; did you mean ‘si_int’? 13 | typedef u_int bpf_u_int32; | ^~~~~ | si_int In file included from sancp.h:48, from build_acl.cc:2: gvars.h:28:24: error: field ‘ts’ has incomplete type ‘timeval’ 28 | struct timeval ts; /* time stamp */ | ^~ In file included from gvars.h:6, from sancp.h:48, from build_acl.cc:2: pcapFileHandle.h:37:51: note: forward declaration of ‘struct timeval’ 37 | ssize_t write(const char *data, int len, struct timeval *time); | ^~~~~~~ In file included from sancp.h:48, from build_acl.cc:2: gvars.h:29:9: error: ‘bpf_u_int32’ does not name a type 29 | bpf_u_int32 caplen; /* length of portion present */ | ^~~~~~~~~~~ gvars.h:30:9: error: ‘bpf_u_int32’ does not name a type 30 | bpf_u_int32 len; /* length this packet (off wire) */ | ^~~~~~~~~~~ gvars.h:44:2: error: ‘u_int8_t’ does not name a type; did you mean ‘uint8_t’? 44 | u_int8_t node_id; | ^~~~~~~~ | uint8_t gvars.h:56:17: error: field ‘timeptr’ has incomplete type ‘timeval’ 56 | struct timeval timeptr;/// | ^~~~~~~ In file included from gvars.h:6, from sancp.h:48, from build_acl.cc:2: pcapFileHandle.h:37:51: note: forward declaration of ‘struct timeval’ 37 | ssize_t write(const char *data, int len, struct timeval *time); | ^~~~~~~ In file included from sancp.h:48, from build_acl.cc:2: gvars.h:57:17: error: field ‘timelast’ has incomplete type ‘timeval’ 57 | struct timeval timelast;/// | ^~~~~~~~ In file included from gvars.h:6, from sancp.h:48, from build_acl.cc:2: pcapFileHandle.h:37:51: note: forward declaration of ‘struct timeval’ 37 | ssize_t write(const char *data, int len, struct timeval *time); | ^~~~~~~ In file included from sancp.h:48, from build_acl.cc:2: gvars.h:71:2: error: ‘u_int32_t’ does not name a type; did you mean ‘uint32_t’? 71 | u_int32_t pkts_in, pkts_out, bytes_in, bytes_out; // | ^~~~~~~~~ | uint32_t gvars.h:74:2: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 74 | u_int16_t default_flush_interval; | ^~~~~~~~~ | uint16_t gvars.h:75:2: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 75 | u_int16_t default_expire_interval; | ^~~~~~~~~ | uint16_t gvars.h:76:2: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 76 | u_int16_t default_timeout; | ^~~~~~~~~ | uint16_t gvars.h:77:2: error: ‘u_int64_t’ does not name a type; did you mean ‘uint64_t’? 77 | u_int64_t default_limit; | ^~~~~~~~~ | uint64_t gvars.h:78:2: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 78 | u_int16_t default_tcplag; | ^~~~~~~~~ | uint16_t gvars.h:79:2: error: ‘u_int32_t’ does not name a type; did you mean ‘uint32_t’? 79 | u_int32_t default_ctr; | ^~~~~~~~~ | uint32_t gvars.h:80:2: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 80 | u_int16_t default_node; | ^~~~~~~~~ | uint16_t gvars.h:81:2: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 81 | u_int16_t default_zone; | ^~~~~~~~~ | uint16_t gvars.h:82:2: error: ‘u_int32_t’ does not name a type; did you mean ‘uint32_t’? 82 | u_int32_t default_rgid; | ^~~~~~~~~ | uint32_t gvars.h:83:2: error: ‘u_int8_t’ does not name a type; did you mean ‘uint8_t’? 83 | u_int8_t default_status; | ^~~~~~~~ | uint8_t gvars.h:84:2: error: ‘u_int32_t’ does not name a type; did you mean ‘uint32_t’? 84 | u_int32_t default_rid; | ^~~~~~~~~ | uint32_t gvars.h:85:2: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 85 | u_int16_t smode:4,rmode:4,pmode:4,enable_cid:1,burst_mode:1,print_schemas:1; | ^~~~~~~~~ | uint16_t gvars.h:86:2: error: ‘u_int64_t’ does not name a type; did you mean ‘uint64_t’? 86 | u_int64_t cnx_id; | ^~~~~~~~~ | uint64_t gvars.h:87:2: error: ‘u_int8_t’ does not name a type; did you mean ‘uint8_t’? 87 | u_int8_t daemon_mode:1, uselocaltime:1, strip_80211:1, pcap_raw:1, \ | ^~~~~~~~ | uint8_t gvars.h:89:2: error: ‘u_int8_t’ does not name a type; did you mean ‘uint8_t’? 89 | u_int8_t console_mode:1, cmdl_stats_action:1, cmdl_pcap_action:1, \ | ^~~~~~~~ | uint8_t In file included from build_acl.cc:2: sancp.h:62:9: error: ‘u_char’ does not name a type; did you mean ‘putchar’? 62 | u_char octet[ETHER_ADDR_LEN]; | ^~~~~~ | putchar sancp.h:69:9: error: ‘u_char’ does not name a type; did you mean ‘putchar’? 69 | u_char ether_dhost[ETHER_ADDR_LEN]; | ^~~~~~ | putchar sancp.h:70:9: error: ‘u_char’ does not name a type; did you mean ‘putchar’? 70 | u_char ether_shost[ETHER_ADDR_LEN]; | ^~~~~~ | putchar sancp.h:71:9: error: ‘u_short’ does not name a type; did you mean ‘short’? 71 | u_short ether_type; | ^~~~~~~ | short sancp.h:84:43: error: ‘u_char’ has not been declared 84 | struct cnx *process(struct cnx*, int len, u_char * pkt); | ^~~~~~ sancp.h:119:41: error: ‘u_char’ does not name a type; did you mean ‘putchar’? 119 | void decode(struct cnx*, int len, const u_char * pkt); | ^~~~~~ | putchar sancp.h:120:59: error: ‘u_char’ has not been declared 120 | void decode_pcap(struct cnx*,struct pcap_pkthdr * pkthdr, u_char * pkt); | ^~~~~~ sancp.h:121:15: error: ‘u_int8_t’ was not declared in this scope; did you mean ‘uint8_t’? 121 | int CheckPort(u_int8_t proto,u_int16_t port); | ^~~~~~~~ | uint8_t sancp.h:121:30: error: ‘u_int16_t’ was not declared in this scope; did you mean ‘uint16_t’? 121 | int CheckPort(u_int8_t proto,u_int16_t port); | ^~~~~~~~~ | uint16_t sancp.h:121:44: error: expression list treated as compound expression in initializer [-fpermissive] 121 | int CheckPort(u_int8_t proto,u_int16_t port); | ^ sancp.h:229:2: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 229 | u_int16_t l_port; | ^~~~~~~~~ | uint16_t sancp.h:230:2: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 230 | u_int16_t h_port; | ^~~~~~~~~ | uint16_t sancp.h:236:9: error: ‘u_int8_t’ does not name a type; did you mean ‘uint8_t’? 236 | u_int8_t ttl; | ^~~~~~~~ | uint8_t sancp.h:237:9: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 237 | u_int16_t len; | ^~~~~~~~~ | uint16_t sancp.h:238:9: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 238 | u_int16_t wss; | ^~~~~~~~~ | uint16_t sancp.h:240:9: error: ‘u_int8_t’ does not name a type; did you mean ‘uint8_t’? 240 | u_int8_t df:1, nop:1, sack_ok:1; | ^~~~~~~~ | uint8_t sancp.h:241:9: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 241 | u_int16_t mss; | ^~~~~~~~~ | uint16_t sancp.h:252:5: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 252 | u_int16_t h_proto_h; | ^~~~~~~~~ | uint16_t sancp.h:253:5: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 253 | u_int16_t h_proto_l; | ^~~~~~~~~ | uint16_t sancp.h:254:5: error: ‘u_int32_t’ does not name a type; did you mean ‘uint32_t’? 254 | u_int32_t s_ip; | ^~~~~~~~~ | uint32_t sancp.h:255:5: error: ‘u_int32_t’ does not name a type; did you mean ‘uint32_t’? 255 | u_int32_t s_mask; | ^~~~~~~~~ | uint32_t sancp.h:256:5: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 256 | u_int16_t s_port_l; | ^~~~~~~~~ | uint16_t sancp.h:257:5: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 257 | u_int16_t s_port_h; | ^~~~~~~~~ | uint16_t sancp.h:258:5: error: ‘u_int32_t’ does not name a type; did you mean ‘uint32_t’? 258 | u_int32_t d_ip; | ^~~~~~~~~ | uint32_t sancp.h:259:5: error: ‘u_int32_t’ does not name a type; did you mean ‘uint32_t’? 259 | u_int32_t d_mask; | ^~~~~~~~~ | uint32_t sancp.h:260:5: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 260 | u_int16_t d_port_l; | ^~~~~~~~~ | uint16_t sancp.h:261:5: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 261 | u_int16_t d_port_h; | ^~~~~~~~~ | uint16_t sancp.h:262:5: error: ‘u_int8_t’ does not name a type; did you mean ‘uint8_t’? 262 | u_int8_t proto_l; | ^~~~~~~~ | uint8_t sancp.h:263:5: error: ‘u_int8_t’ does not name a type; did you mean ‘uint8_t’? 263 | u_int8_t proto_h; | ^~~~~~~~ | uint8_t sancp.h:264:5: error: ‘u_int32_t’ does not name a type; did you mean ‘uint32_t’? 264 | u_int32_t offset; | ^~~~~~~~~ | uint32_t sancp.h:265:5: error: ‘u_int32_t’ does not name a type; did you mean ‘uint32_t’? 265 | u_int32_t mask; | ^~~~~~~~~ | uint32_t sancp.h:266:5: error: ‘u_int32_t’ does not name a type; did you mean ‘uint32_t’? 266 | u_int32_t value; | ^~~~~~~~~ | uint32_t sancp.h:268:5: error: ‘u_int8_t’ does not name a type; did you mean ‘uint8_t’? 268 | u_int8_t stats:1, realtime:1, pcap:1, retro:1, smode:2, rmode:2; | ^~~~~~~~ | uint8_t sancp.h:269:5: error: ‘u_int8_t’ does not name a type; did you mean ‘uint8_t’? 269 | u_int8_t cmode:2, pmode:4; | ^~~~~~~~ | uint8_t sancp.h:270:5: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 270 | u_int16_t tcplag; | ^~~~~~~~~ | uint16_t sancp.h:271:5: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 271 | u_int16_t timeout; | ^~~~~~~~~ | uint16_t sancp.h:272:5: error: ‘u_int64_t’ does not name a type; did you mean ‘uint64_t’? 272 | u_int64_t limit; | ^~~~~~~~~ | uint64_t sancp.h:273:5: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 273 | u_int16_t status; | ^~~~~~~~~ | uint16_t sancp.h:274:5: error: ‘u_int32_t’ does not name a type; did you mean ‘uint32_t’? 274 | u_int32_t ctr; | ^~~~~~~~~ | uint32_t sancp.h:275:5: error: ‘u_int32_t’ does not name a type; did you mean ‘uint32_t’? 275 | u_int32_t rid; | ^~~~~~~~~ | uint32_t sancp.h:276:5: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 276 | u_int16_t rgid; | ^~~~~~~~~ | uint16_t sancp.h:277:5: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 277 | u_int16_t node; | ^~~~~~~~~ | uint16_t sancp.h:278:5: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 278 | u_int16_t zone; | ^~~~~~~~~ | uint16_t sancp.h:287:2: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 287 | u_int16_t h_proto; | ^~~~~~~~~ | uint16_t sancp.h:288:2: error: ‘u_int8_t’ does not name a type; did you mean ‘uint8_t’? 288 | u_int8_t proto; | ^~~~~~~~ | uint8_t sancp.h:289:9: error: ‘u_int32_t’ does not name a type; did you mean ‘uint32_t’? 289 | u_int32_t s_ip; | ^~~~~~~~~ | uint32_t sancp.h:290:9: error: ‘u_int32_t’ does not name a type; did you mean ‘uint32_t’? 290 | u_int32_t d_ip; | ^~~~~~~~~ | uint32_t sancp.h:291:9: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 291 | u_int16_t s_port; | ^~~~~~~~~ | uint16_t sancp.h:292:9: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 292 | u_int16_t d_port; | ^~~~~~~~~ | uint16_t sancp.h:293:9: error: ‘u_int64_t’ does not name a type; did you mean ‘uint64_t’? 293 | u_int64_t s_total_pkts; | ^~~~~~~~~ | uint64_t sancp.h:294:9: error: ‘u_int64_t’ does not name a type; did you mean ‘uint64_t’? 294 | u_int64_t s_total_bytes; | ^~~~~~~~~ | uint64_t sancp.h:295:9: error: ‘u_int64_t’ does not name a type; did you mean ‘uint64_t’? 295 | u_int64_t d_total_pkts; | ^~~~~~~~~ | uint64_t sancp.h:296:9: error: ‘u_int64_t’ does not name a type; did you mean ‘uint64_t’? 296 | u_int64_t d_total_bytes; | ^~~~~~~~~ | uint64_t sancp.h:297:9: error: ‘u_int64_t’ does not name a type; did you mean ‘uint64_t’? 297 | u_int64_t total_bytes; | ^~~~~~~~~ | uint64_t sancp.h:300:2: error: ‘u_int8_t’ does not name a type; did you mean ‘uint8_t’? 300 | u_int8_t free:1,direction:1; | ^~~~~~~~ | uint8_t sancp.h:302:6: error: ‘u_int8_t’ does not name a type; did you mean ‘uint8_t’? 302 | u_int8_t cmode:4, pcap:1, realtime:1, stats:1, retro:1; | ^~~~~~~~ | uint8_t sancp.h:303:2: error: ‘u_int8_t’ does not name a type; did you mean ‘uint8_t’? 303 | u_int8_t tcpFlags[2]; | ^~~~~~~~ | uint8_t sancp.h:304:2: error: ‘u_int8_t’ does not name a type; did you mean ‘uint8_t’? 304 | u_int8_t tcpCFlags; | ^~~~~~~~ | uint8_t sancp.h:305:2: error: ‘u_int8_t’ does not name a type; did you mean ‘uint8_t’? 305 | u_int8_t reversed; | ^~~~~~~~ | uint8_t sancp.h:306:6: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 306 | u_int16_t tcplag; | ^~~~~~~~~ | uint16_t sancp.h:307:6: error: ‘u_int64_t’ does not name a type; did you mean ‘uint64_t’? 307 | u_int64_t limit; | ^~~~~~~~~ | uint64_t sancp.h:308:6: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 308 | u_int16_t status; | ^~~~~~~~~ | uint16_t sancp.h:309:6: error: ‘u_int64_t’ does not name a type; did you mean ‘uint64_t’? 309 | u_int64_t collected; | ^~~~~~~~~ | uint64_t sancp.h:310:2: error: ‘u_int64_t’ does not name a type; did you mean ‘uint64_t’? 310 | u_int64_t cid; | ^~~~~~~~~ | uint64_t sancp.h:311:2: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 311 | u_int16_t timeout; | ^~~~~~~~~ | uint16_t sancp.h:312:2: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 312 | u_int16_t hash; | ^~~~~~~~~ | uint16_t sancp.h:313:9: error: ‘u_int32_t’ does not name a type; did you mean ‘uint32_t’? 313 | u_int32_t rid; | ^~~~~~~~~ | uint32_t sancp.h:314:9: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 314 | u_int16_t rgid; | ^~~~~~~~~ | uint16_t sancp.h:315:2: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 315 | u_int16_t node; | ^~~~~~~~~ | uint16_t sancp.h:316:2: error: ‘u_int16_t’ does not name a type; did you mean ‘uint16_t’? 316 | u_int16_t zone; | ^~~~~~~~~ | uint16_t build_acl.cc: In function ‘void parse_args(int, char**)’: build_acl.cc:112:5: error: ‘u_int64_t’ was not declared in this scope; did you mean ‘uint64_t’? 112 | u_int64_t num; | ^~~~~~~~~ | uint64_t build_acl.cc:120:10: error: ‘struct gvars’ has no member named ‘print_schemas’ 120 | gVars.print_schemas = 1; | ^~~~~~~~~~~~~ build_acl.cc:126:31: error: ‘struct gvars’ has no member named ‘shift’ 126 | gVars.shift = 1; | ^~~~~ build_acl.cc:131:10: error: ‘struct gvars’ has no member named ‘console_mode’ 131 | gVars.console_mode = 1; | ^~~~~~~~~~~~ build_acl.cc:137:10: error: ‘struct gvars’ has no member named ‘daemon_mode’ 137 | gVars.daemon_mode = 1; | ^~~~~~~~~~~ build_acl.cc:146:19: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 146 | num = (u_int64_t) strtoll(argv[ctr],&ftmp,0); | ^~~ | enum build_acl.cc:149:137: error: ‘struct gvars’ has no member named ‘cnx_id’; did you mean ‘cnx_head’? 149 | ast_cnxid: %s, using cnxid %llu\n",argv[ctr],(long long unsigned)gVars.cnx_id); | ^~~~~~ | cnx_head build_acl.cc:152:14: error: ‘struct gvars’ has no member named ‘cnx_id’; did you mean ‘cnx_head’? 152 | if(gVars.cnx_id>num){ | ^~~~~~ | cnx_head build_acl.cc:153:188: error: ‘struct gvars’ has no member named ‘cnx_id’; did you mean ‘cnx_head’? 153 | using cnxid %llu from cache instead\n",num,(long long unsigned) gVars.cnx_id); | ^~~~~~ | cnx_head build_acl.cc:155:166: error: ‘struct gvars’ has no member named ‘cnx_id’; did you mean ‘cnx_head’? 155 | id in the '.cnxid' cache file (%llu)\n",num,(long long unsigned) gVars.cnx_id); | ^~~~~~ | cnx_head build_acl.cc:157:12: error: ‘struct gvars’ has no member named ‘cnx_id’; did you mean ‘cnx_head’? 157 | gVars.cnx_id=num; | ^~~~~~ | cnx_head build_acl.cc:175:11: error: ‘struct gvars’ has no member named ‘shift’ 175 | gVars.shift=0; // disable shift (only needed for 'any' interface) | ^~~~~ build_acl.cc:177:12: error: ‘struct gvars’ has no member named ‘shift’ 177 | gVars.shift=1; | ^~~~~ build_acl.cc:210:11: error: ‘struct gvars’ has no member named ‘shift’ 210 | gVars.shift=0; // disable shift (only needed for 'any' interface) | ^~~~~ build_acl.cc:305:10: error: ‘struct gvars’ has no member named ‘strip_80211’ 305 | gVars.strip_80211 = ENABLED; | ^~~~~~~~~~~ build_acl.cc:306:14: error: ‘struct gvars’ has no member named ‘daemon_mode’ 306 | if(!gVars.daemon_mode) | ^~~~~~~~~~~ build_acl.cc:312:10: error: ‘struct gvars’ has no member named ‘uselocaltime’ 312 | gVars.uselocaltime = 1; | ^~~~~~~~~~~~ build_acl.cc:313:14: error: ‘struct gvars’ has no member named ‘daemon_mode’ 313 | if(!gVars.daemon_mode) | ^~~~~~~~~~~ build_acl.cc:324:10: error: ‘struct gvars’ has no member named ‘pcap_raw’; did you mean ‘pcap_fname’? 324 | gVars.pcap_raw = ENABLED; | ^~~~~~~~ | pcap_fname build_acl.cc:330:31: error: ‘struct gvars’ has no member named ‘cmdl_realtimes_action’ 330 | gVars.cmdl_realtimes_action = ACTION_PASS; | ^~~~~~~~~~~~~~~~~~~~~ build_acl.cc:331:24: error: ‘struct gvars’ has no member named ‘rmode’ 331 | gVars.rmode = OMODE_PASS; | ^~~~~ build_acl.cc:337:31: error: ‘struct gvars’ has no member named ‘cmdl_pcap_action’ 337 | gVars.cmdl_pcap_action = ACTION_PASS; | ^~~~~~~~~~~~~~~~ build_acl.cc:338:31: error: ‘struct gvars’ has no member named ‘pmode’ 338 | gVars.pmode = OMODE_PASS; | ^~~~~ build_acl.cc:345:31: error: ‘struct gvars’ has no member named ‘cmdl_stats_action’ 345 | gVars.cmdl_stats_action = ACTION_PASS; | ^~~~~~~~~~~~~~~~~ build_acl.cc:346:24: error: ‘struct gvars’ has no member named ‘smode’ 346 | gVars.smode = OMODE_PASS; | ^~~~~ build_acl.cc:352:10: error: ‘struct gvars’ has no member named ‘log_icmp_type_code’ 352 | gVars.log_icmp_type_code = 1; | ^~~~~~~~~~~~~~~~~~ build_acl.cc:369:10: error: ‘struct gvars’ has no member named ‘human_readable’ 369 | gVars.human_readable = 1; | ^~~~~~~~~~~~~~ build_acl.cc: In function ‘void build_config(int)’: build_acl.cc:411:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 411 | char *accept="\t ,="; | ^~~~~~~ build_acl.cc: In function ‘void parse_default(char*, char*)’: build_acl.cc:678:10: error: ‘struct gvars’ has no member named ‘default_expire_interval’ 678 | gVars.default_expire_interval = DEFAULT_EXPIRE_INTERVAL; | ^~~~~~~~~~~~~~~~~~~~~~~ build_acl.cc:683:9: error: ‘struct gvars’ has no member named ‘default_expire_interval’ 683 | gVars.default_expire_interval = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~~~~~~~~~~~~~~~ build_acl.cc:683:36: error: ‘u_int16_t’ was not declared in this scope; did you mean ‘uint16_t’? 683 | gVars.default_expire_interval = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ | uint16_t build_acl.cc:693:25: error: ‘struct gvars’ has no member named ‘default_flush_interval’ 693 | int reset_alarm=gVars.default_flush_interval; | ^~~~~~~~~~~~~~~~~~~~~~ build_acl.cc:697:10: error: ‘struct gvars’ has no member named ‘default_flush_interval’ 697 | gVars.default_flush_interval = DEFAULT_FLUSH_INTERVAL; | ^~~~~~~~~~~~~~~~~~~~~~ build_acl.cc:702:9: error: ‘struct gvars’ has no member named ‘default_flush_interval’ 702 | gVars.default_flush_interval = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~~~~~~~~~~~~~~ build_acl.cc:702:35: error: ‘u_int16_t’ was not declared in this scope; did you mean ‘uint16_t’? 702 | gVars.default_flush_interval = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ | uint16_t build_acl.cc:710:16: error: ‘struct gvars’ has no member named ‘default_flush_interval’ 710 | alarm(gVars.default_flush_interval); | ^~~~~~~~~~~~~~~~~~~~~~ build_acl.cc:720:10: error: ‘struct gvars’ has no member named ‘default_zone’; did you mean ‘default_device’? 720 | gVars.default_zone = DEFAULT_ZONE; | ^~~~~~~~~~~~ | default_device build_acl.cc:725:9: error: ‘struct gvars’ has no member named ‘default_zone’; did you mean ‘default_device’? 725 | gVars.default_zone = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~~~~ | default_device build_acl.cc:725:25: error: ‘u_int16_t’ was not declared in this scope; did you mean ‘uint16_t’? 725 | gVars.default_zone = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ | uint16_t build_acl.cc:738:10: error: ‘struct gvars’ has no member named ‘default_node’; did you mean ‘default_device’? 738 | gVars.default_node = DEFAULT_NODE; | ^~~~~~~~~~~~ | default_device build_acl.cc:743:9: error: ‘struct gvars’ has no member named ‘default_node’; did you mean ‘default_device’? 743 | gVars.default_node = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~~~~ | default_device build_acl.cc:743:25: error: ‘u_int16_t’ was not declared in this scope; did you mean ‘uint16_t’? 743 | gVars.default_node = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ | uint16_t build_acl.cc:756:10: error: ‘struct gvars’ has no member named ‘default_rid’; did you mean ‘default_device’? 756 | gVars.default_rid = DEFAULT_RID; | ^~~~~~~~~~~ | default_device build_acl.cc:761:9: error: ‘struct gvars’ has no member named ‘default_rid’; did you mean ‘default_device’? 761 | gVars.default_rid = (u_int32_t) strtol(tmp,&pptr,0); | ^~~~~~~~~~~ | default_device build_acl.cc:761:24: error: ‘u_int32_t’ was not declared in this scope; did you mean ‘uint32_t’? 761 | gVars.default_rid = (u_int32_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ | uint32_t build_acl.cc:774:10: error: ‘struct gvars’ has no member named ‘default_rgid’; did you mean ‘default_device’? 774 | gVars.default_rgid = DEFAULT_RGID; | ^~~~~~~~~~~~ | default_device build_acl.cc:779:9: error: ‘struct gvars’ has no member named ‘default_rgid’; did you mean ‘default_device’? 779 | gVars.default_rgid = (u_int32_t) strtol(tmp,&pptr,0); | ^~~~~~~~~~~~ | default_device build_acl.cc:779:25: error: ‘u_int32_t’ was not declared in this scope; did you mean ‘uint32_t’? 779 | gVars.default_rgid = (u_int32_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ | uint32_t build_acl.cc:792:10: error: ‘struct gvars’ has no member named ‘default_status’ 792 | gVars.default_status = DEFAULT_STATUS; | ^~~~~~~~~~~~~~ build_acl.cc:797:9: error: ‘struct gvars’ has no member named ‘default_status’ 797 | gVars.default_status = (u_int8_t) strtol(tmp,&pptr,0); | ^~~~~~~~~~~~~~ build_acl.cc:797:27: error: ‘u_int8_t’ was not declared in this scope; did you mean ‘uint8_t’? 797 | gVars.default_status = (u_int8_t) strtol(tmp,&pptr,0); | ^~~~~~~~ | uint8_t build_acl.cc:815:10: error: ‘struct gvars’ has no member named ‘use_pcap_time’ 815 | gVars.use_pcap_time = ENABLED; | ^~~~~~~~~~~~~ build_acl.cc:819:10: error: ‘struct gvars’ has no member named ‘use_pcap_time’ 819 | gVars.use_pcap_time = DISABLED; | ^~~~~~~~~~~~~ build_acl.cc:837:10: error: ‘struct gvars’ has no member named ‘burst_mode’ 837 | gVars.burst_mode = ENABLED; | ^~~~~~~~~~ build_acl.cc:841:10: error: ‘struct gvars’ has no member named ‘burst_mode’ 841 | gVars.burst_mode = DISABLED; | ^~~~~~~~~~ build_acl.cc:863:10: error: ‘struct gvars’ has no member named ‘pcap_raw’; did you mean ‘pcap_fname’? 863 | gVars.pcap_raw = ENABLED; | ^~~~~~~~ | pcap_fname build_acl.cc:868:10: error: ‘struct gvars’ has no member named ‘pcap_raw’; did you mean ‘pcap_fname’? 868 | gVars.pcap_raw = DISABLED; | ^~~~~~~~ | pcap_fname build_acl.cc:886:10: error: ‘struct gvars’ has no member named ‘strip_80211’ 886 | gVars.strip_80211 = ENABLED; | ^~~~~~~~~~~ build_acl.cc:890:10: error: ‘struct gvars’ has no member named ‘strip_80211’ 890 | gVars.strip_80211 = DISABLED; | ^~~~~~~~~~~ build_acl.cc:929:31: error: ‘struct gvars’ has no member named ‘smode’ 929 | gVars.smode=OMODE_LOG; | ^~~~~ build_acl.cc:934:31: error: ‘struct gvars’ has no member named ‘smode’ 934 | gVars.smode=OMODE_PASS; | ^~~~~ build_acl.cc:946:31: error: ‘struct gvars’ has no member named ‘smode’ 946 | gVars.smode=OMODE_FILENAME; | ^~~~~ build_acl.cc:948:69: error: ‘struct gvars’ has no member named ‘smode’ 948 | ftmp=createFileName(gVars.stats_fname,gVars.smode == OMODE_TSFILENAME); | ^~~~~ build_acl.cc:965:31: error: ‘struct gvars’ has no member named ‘smode’ 965 | gVars.smode=OMODE_TSFILENAME; | ^~~~~ build_acl.cc:967:69: error: ‘struct gvars’ has no member named ‘smode’ 967 | ftmp=createFileName(gVars.stats_fname,gVars.smode == OMODE_TSFILENAME); | ^~~~~ build_acl.cc:990:10: error: ‘struct gvars’ has no member named ‘pmode’ 990 | gVars.pmode = OMODE_LOG; | ^~~~~ build_acl.cc:1001:10: error: ‘struct gvars’ has no member named ‘pmode’ 1001 | gVars.pmode=OMODE_PASS; | ^~~~~ build_acl.cc:1015:10: error: ‘struct gvars’ has no member named ‘pmode’ 1015 | gVars.pmode=OMODE_FILENAME; | ^~~~~ build_acl.cc:1017:54: error: ‘struct gvars’ has no member named ‘pmode’ 1017 | ftmp=createFileName(gVars.pcap_fname,gVars.pmode == OMODE_TSFILENAME ); | ^~~~~ build_acl.cc:1032:10: error: ‘struct gvars’ has no member named ‘pmode’ 1032 | gVars.pmode=OMODE_TSFILENAME; | ^~~~~ build_acl.cc:1034:54: error: ‘struct gvars’ has no member named ‘pmode’ 1034 | ftmp=createFileName(gVars.pcap_fname,gVars.pmode == OMODE_TSFILENAME); | ^~~~~ build_acl.cc:1062:31: error: ‘struct gvars’ has no member named ‘rmode’ 1062 | gVars.rmode=OMODE_LOG; | ^~~~~ build_acl.cc:1067:31: error: ‘struct gvars’ has no member named ‘rmode’ 1067 | gVars.rmode=OMODE_PASS; | ^~~~~ build_acl.cc:1080:31: error: ‘struct gvars’ has no member named ‘rmode’ 1080 | gVars.rmode=OMODE_FILENAME; | ^~~~~ build_acl.cc:1082:72: error: ‘struct gvars’ has no member named ‘rmode’ 1082 | ftmp=createFileName(gVars.realtime_fname,gVars.rmode == OMODE_TSFILENAME); | ^~~~~ build_acl.cc:1099:31: error: ‘struct gvars’ has no member named ‘rmode’ 1099 | gVars.rmode=OMODE_TSFILENAME; | ^~~~~ build_acl.cc:1101:72: error: ‘struct gvars’ has no member named ‘rmode’ 1101 | ftmp=createFileName(gVars.realtime_fname,gVars.rmode == OMODE_TSFILENAME); | ^~~~~ build_acl.cc:1123:9: error: ‘struct gvars’ has no member named ‘default_limit’ 1123 | gVars.default_limit = (u_int64_t) strtoll(tmp,&pptr,0); | ^~~~~~~~~~~~~ build_acl.cc:1123:26: error: ‘u_int64_t’ was not declared in this scope; did you mean ‘uint64_t’? 1123 | gVars.default_limit = (u_int64_t) strtoll(tmp,&pptr,0); | ^~~~~~~~~ | uint64_t build_acl.cc:1127:10: error: ‘struct gvars’ has no member named ‘default_limit’ 1127 | gVars.default_limit = DEFAULT_LIMIT; | ^~~~~~~~~~~~~ build_acl.cc:1141:9: error: ‘struct gvars’ has no member named ‘default_timeout’ 1141 | gVars.default_timeout = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~~~~~~~ build_acl.cc:1141:28: error: ‘u_int16_t’ was not declared in this scope; did you mean ‘uint16_t’? 1141 | gVars.default_timeout = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ | uint16_t build_acl.cc:1145:10: error: ‘struct gvars’ has no member named ‘default_timeout’ 1145 | gVars.default_timeout = DEFAULT_TIMEOUT; | ^~~~~~~~~~~~~~~ build_acl.cc:1159:9: error: ‘struct gvars’ has no member named ‘default_tcplag’ 1159 | gVars.default_tcplag = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~~~~~~ build_acl.cc:1159:27: error: ‘u_int16_t’ was not declared in this scope; did you mean ‘uint16_t’? 1159 | gVars.default_tcplag = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ | uint16_t build_acl.cc:1163:10: error: ‘struct gvars’ has no member named ‘default_tcplag’ 1163 | gVars.default_tcplag = DEFAULT_LAG; | ^~~~~~~~~~~~~~ build_acl.cc: In function ‘void parse_known_ports(char*, vars*, char*)’: build_acl.cc:1305:2: error: ‘u_int16_t’ was not declared in this scope; did you mean ‘uint16_t’? 1305 | u_int16_t port_h=0; | ^~~~~~~~~ | uint16_t build_acl.cc:1306:11: error: expected ‘;’ before ‘port_l’ 1306 | u_int16_t port_l=0; | ^~~~~~~ | ; build_acl.cc:1325:13: error: ‘u_int8_t’ was not declared in this scope; did you mean ‘uint8_t’? 1325 | proto = (u_int8_t) strtol(tok,&pptr,0); | ^~~~~~~~ | uint8_t build_acl.cc:1344:6: error: ‘port_l’ was not declared in this scope 1344 | port_l = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~ build_acl.cc:1351:6: error: ‘port_h’ was not declared in this scope 1351 | port_h = (u_int16_t) strtol(tok,&pptr,0); | ^~~~~~ build_acl.cc:1359:6: error: ‘port_l’ was not declared in this scope 1359 | port_l = (u_int16_t) strtol(tok,&pptr,0); | ^~~~~~ build_acl.cc:1368:6: error: ‘port_h’ was not declared in this scope 1368 | port_h=port_l; | ^~~~~~ build_acl.cc:1373:14: error: ‘struct t_ports’ has no member named ‘h_port’; did you mean ‘t_ports’? 1373 | n_ports->h_port=port_h; | ^~~~~~ | t_ports build_acl.cc:1373:21: error: ‘port_h’ was not declared in this scope 1373 | n_ports->h_port=port_h; | ^~~~~~ build_acl.cc:1374:14: error: ‘struct t_ports’ has no member named ‘l_port’; did you mean ‘t_ports’? 1374 | n_ports->l_port=port_l; | ^~~~~~ | t_ports build_acl.cc:1374:21: error: ‘port_l’ was not declared in this scope 1374 | n_ports->l_port=port_l; | ^~~~~~ build_acl.cc: In function ‘void parse_connection_rule(char*, vars*, char*)’: build_acl.cc:1412:10: error: ‘struct acl’ has no member named ‘cmode’ 1412 | n_acl->cmode = CMODE_BOTH; | ^~~~~ build_acl.cc:1413:10: error: ‘struct acl’ has no member named ‘pcap’ 1413 | n_acl->pcap = gVars.pmode?1:0; | ^~~~ build_acl.cc:1413:23: error: ‘struct gvars’ has no member named ‘pmode’ 1413 | n_acl->pcap = gVars.pmode?1:0; | ^~~~~ build_acl.cc:1414:10: error: ‘struct acl’ has no member named ‘pmode’ 1414 | n_acl->pmode = gVars.pmode; | ^~~~~ build_acl.cc:1414:24: error: ‘struct gvars’ has no member named ‘pmode’ 1414 | n_acl->pmode = gVars.pmode; | ^~~~~ build_acl.cc:1415:10: error: ‘struct acl’ has no member named ‘stats’ 1415 | n_acl->stats = gVars.smode?1:0; | ^~~~~ build_acl.cc:1415:24: error: ‘struct gvars’ has no member named ‘smode’ 1415 | n_acl->stats = gVars.smode?1:0; | ^~~~~ build_acl.cc:1416:10: error: ‘struct acl’ has no member named ‘smode’ 1416 | n_acl->smode = gVars.smode; | ^~~~~ build_acl.cc:1416:24: error: ‘struct gvars’ has no member named ‘smode’ 1416 | n_acl->smode = gVars.smode; | ^~~~~ build_acl.cc:1417:10: error: ‘struct acl’ has no member named ‘realtime’ 1417 | n_acl->realtime = gVars.rmode?1:0; | ^~~~~~~~ build_acl.cc:1417:27: error: ‘struct gvars’ has no member named ‘rmode’ 1417 | n_acl->realtime = gVars.rmode?1:0; | ^~~~~ build_acl.cc:1418:10: error: ‘struct acl’ has no member named ‘rmode’ 1418 | n_acl->rmode = gVars.rmode; | ^~~~~ build_acl.cc:1418:24: error: ‘struct gvars’ has no member named ‘rmode’ 1418 | n_acl->rmode = gVars.rmode; | ^~~~~ build_acl.cc:1419:10: error: ‘struct acl’ has no member named ‘timeout’ 1419 | n_acl->timeout = gVars.default_timeout; | ^~~~~~~ build_acl.cc:1419:26: error: ‘struct gvars’ has no member named ‘default_timeout’ 1419 | n_acl->timeout = gVars.default_timeout; | ^~~~~~~~~~~~~~~ build_acl.cc:1420:10: error: ‘struct acl’ has no member named ‘limit’ 1420 | n_acl->limit = gVars.default_limit; | ^~~~~ build_acl.cc:1420:24: error: ‘struct gvars’ has no member named ‘default_limit’ 1420 | n_acl->limit = gVars.default_limit; | ^~~~~~~~~~~~~ build_acl.cc:1421:10: error: ‘struct acl’ has no member named ‘status’ 1421 | n_acl->status = gVars.default_status; | ^~~~~~ build_acl.cc:1421:25: error: ‘struct gvars’ has no member named ‘default_status’ 1421 | n_acl->status = gVars.default_status; | ^~~~~~~~~~~~~~ build_acl.cc:1422:10: error: ‘struct acl’ has no member named ‘rid’ 1422 | n_acl->rid = gVars.default_rid; | ^~~ build_acl.cc:1422:22: error: ‘struct gvars’ has no member named ‘default_rid’; did you mean ‘default_device’? 1422 | n_acl->rid = gVars.default_rid; | ^~~~~~~~~~~ | default_device build_acl.cc:1423:10: error: ‘struct acl’ has no member named ‘tcplag’ 1423 | n_acl->tcplag = gVars.default_tcplag; | ^~~~~~ build_acl.cc:1423:25: error: ‘struct gvars’ has no member named ‘default_tcplag’ 1423 | n_acl->tcplag = gVars.default_tcplag; | ^~~~~~~~~~~~~~ build_acl.cc:1424:25: error: ‘struct gvars’ has no member named ‘pmode’ 1424 | if(gVars.pfH && gVars.pmode){ | ^~~~~ build_acl.cc:1431:24: error: ‘struct acl’ has no member named ‘h_proto_h’ 1431 | n_acl->h_proto_h = 0xFFFF; | ^~~~~~~~~ build_acl.cc:1432:24: error: ‘struct acl’ has no member named ‘h_proto_l’ 1432 | n_acl->h_proto_l = 0x0000; | ^~~~~~~~~ build_acl.cc:1450:12: error: ‘struct acl’ has no member named ‘h_proto_l’ 1450 | n_acl->h_proto_l = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ build_acl.cc:1450:25: error: ‘u_int16_t’ was not declared in this scope; did you mean ‘uint16_t’? 1450 | n_acl->h_proto_l = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ | uint16_t build_acl.cc:1457:12: error: ‘struct acl’ has no member named ‘h_proto_h’ 1457 | n_acl->h_proto_h = (u_int16_t) strtol(tok,&pptr,0); | ^~~~~~~~~ build_acl.cc:1465:12: error: ‘struct acl’ has no member named ‘h_proto_l’ 1465 | n_acl->h_proto_l = (u_int16_t) strtol(tok,&pptr,0); | ^~~~~~~~~ build_acl.cc:1465:25: error: ‘u_int16_t’ was not declared in this scope; did you mean ‘uint16_t’? 1465 | n_acl->h_proto_l = (u_int16_t) strtol(tok,&pptr,0); | ^~~~~~~~~ | uint16_t build_acl.cc:1472:12: error: ‘struct acl’ has no member named ‘h_proto_h’ 1472 | n_acl->h_proto_h = n_acl->h_proto_l; | ^~~~~~~~~ build_acl.cc:1472:31: error: ‘struct acl’ has no member named ‘h_proto_l’ 1472 | n_acl->h_proto_h = n_acl->h_proto_l; | ^~~~~~~~~ build_acl.cc:1477:24: error: ‘struct acl’ has no member named ‘s_mask’ 1477 | n_acl->s_mask=0xFFFFFFFF; | ^~~~~~ build_acl.cc:1478:24: error: ‘struct acl’ has no member named ‘s_ip’ 1478 | n_acl->s_ip=0x00000000; | ^~~~ build_acl.cc:1496:48: error: ‘struct acl’ has no member named ‘s_ip’ 1496 | if(inet_aton(tmp,(struct in_addr *)&n_acl->s_ip)==0) | ^~~~ build_acl.cc:1504:49: error: ‘struct acl’ has no member named ‘s_mask’ 1504 | if(inet_aton(tok,(struct in_addr *)&n_acl->s_mask)==0) | ^~~~~~ build_acl.cc:1514:13: error: ‘struct acl’ has no member named ‘s_mask’ 1514 | n_acl->s_mask=htonl(0xFFFFFFF<<(32-(u_int8_t)(strtol(tok,&pptr,0)))); | ^~~~~~ build_acl.cc:1514:42: error: ‘u_int8_t’ was not declared in this scope; did you mean ‘uint8_t’? 1514 | n_acl->s_mask=htonl(0xFFFFFFF<<(32-(u_int8_t)(strtol(tok,&pptr,0)))); | ^~~~~~~~ | uint8_t build_acl.cc:1523:48: error: ‘struct acl’ has no member named ‘s_ip’ 1523 | if(inet_aton(tok,(struct in_addr *)&n_acl->s_ip)==0) | ^~~~ build_acl.cc:1533:24: error: ‘struct acl’ has no member named ‘d_mask’ 1533 | n_acl->d_mask=0xFFFFFFFF; | ^~~~~~ build_acl.cc:1534:24: error: ‘struct acl’ has no member named ‘d_ip’ 1534 | n_acl->d_ip=0x00000000; | ^~~~ build_acl.cc:1551:48: error: ‘struct acl’ has no member named ‘d_ip’ 1551 | if(inet_aton(tmp,(struct in_addr *)&n_acl->d_ip)==0) | ^~~~ build_acl.cc:1559:49: error: ‘struct acl’ has no member named ‘d_mask’ 1559 | if(inet_aton(tok,(struct in_addr *)&n_acl->d_mask)==0) | ^~~~~~ build_acl.cc:1569:13: error: ‘struct acl’ has no member named ‘d_mask’ 1569 | n_acl->d_mask=htonl(0xFFFFFFFF<<(32-(u_int8_t)(strtol(tok,&pptr,0)))); | ^~~~~~ build_acl.cc:1569:43: error: ‘u_int8_t’ was not declared in this scope; did you mean ‘uint8_t’? 1569 | n_acl->d_mask=htonl(0xFFFFFFFF<<(32-(u_int8_t)(strtol(tok,&pptr,0)))); | ^~~~~~~~ | uint8_t build_acl.cc:1578:48: error: ‘struct acl’ has no member named ‘d_ip’ 1578 | if(inet_aton(tok,(struct in_addr *)&n_acl->d_ip)==0) | ^~~~ build_acl.cc:1588:10: error: ‘struct acl’ has no member named ‘proto_l’ 1588 | n_acl->proto_l = 0x00; | ^~~~~~~ build_acl.cc:1589:10: error: ‘struct acl’ has no member named ‘proto_h’ 1589 | n_acl->proto_h = 0xFF; | ^~~~~~~ build_acl.cc:1608:12: error: ‘struct acl’ has no member named ‘proto_l’ 1608 | n_acl->proto_l = (u_int8_t) strtol(tmp,&pptr,0); | ^~~~~~~ build_acl.cc:1608:23: error: ‘u_int8_t’ was not declared in this scope; did you mean ‘uint8_t’? 1608 | n_acl->proto_l = (u_int8_t) strtol(tmp,&pptr,0); | ^~~~~~~~ | uint8_t build_acl.cc:1615:12: error: ‘struct acl’ has no member named ‘proto_h’ 1615 | n_acl->proto_h = (u_int8_t) strtol(tok,&pptr,0); | ^~~~~~~ build_acl.cc:1623:12: error: ‘struct acl’ has no member named ‘proto_l’ 1623 | n_acl->proto_l = (u_int8_t) strtol(tok,&pptr,0); | ^~~~~~~ build_acl.cc:1623:23: error: ‘u_int8_t’ was not declared in this scope; did you mean ‘uint8_t’? 1623 | n_acl->proto_l = (u_int8_t) strtol(tok,&pptr,0); | ^~~~~~~~ | uint8_t build_acl.cc:1630:12: error: ‘struct acl’ has no member named ‘proto_h’ 1630 | n_acl->proto_h = n_acl->proto_l; | ^~~~~~~ build_acl.cc:1630:29: error: ‘struct acl’ has no member named ‘proto_l’ 1630 | n_acl->proto_h = n_acl->proto_l; | ^~~~~~~ build_acl.cc:1636:24: error: ‘struct acl’ has no member named ‘s_port_l’ 1636 | n_acl->s_port_l=0x0000; | ^~~~~~~~ build_acl.cc:1637:24: error: ‘struct acl’ has no member named ‘s_port_h’ 1637 | n_acl->s_port_h=0xFFFF; | ^~~~~~~~ build_acl.cc:1657:12: error: ‘struct acl’ has no member named ‘s_port_l’ 1657 | n_acl->s_port_l = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~ build_acl.cc:1657:24: error: ‘u_int16_t’ was not declared in this scope; did you mean ‘uint16_t’? 1657 | n_acl->s_port_l = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ | uint16_t build_acl.cc:1665:12: error: ‘struct acl’ has no member named ‘s_port_h’ 1665 | n_acl->s_port_h = (u_int16_t) strtol(tok,&pptr,0); | ^~~~~~~~ build_acl.cc:1674:12: error: ‘struct acl’ has no member named ‘s_port_l’ 1674 | n_acl->s_port_l = (u_int16_t) strtol(tok,&pptr,0); | ^~~~~~~~ build_acl.cc:1674:24: error: ‘u_int16_t’ was not declared in this scope; did you mean ‘uint16_t’? 1674 | n_acl->s_port_l = (u_int16_t) strtol(tok,&pptr,0); | ^~~~~~~~~ | uint16_t build_acl.cc:1681:12: error: ‘struct acl’ has no member named ‘s_port_h’ 1681 | n_acl->s_port_h=n_acl->s_port_l; | ^~~~~~~~ build_acl.cc:1681:28: error: ‘struct acl’ has no member named ‘s_port_l’ 1681 | n_acl->s_port_h=n_acl->s_port_l; | ^~~~~~~~ build_acl.cc:1686:24: error: ‘struct acl’ has no member named ‘d_port_l’ 1686 | n_acl->d_port_l=0x0000; | ^~~~~~~~ build_acl.cc:1687:24: error: ‘struct acl’ has no member named ‘d_port_h’ 1687 | n_acl->d_port_h=0xFFFF; | ^~~~~~~~ build_acl.cc:1708:12: error: ‘struct acl’ has no member named ‘d_port_l’ 1708 | n_acl->d_port_l = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~ build_acl.cc:1708:24: error: ‘u_int16_t’ was not declared in this scope; did you mean ‘uint16_t’? 1708 | n_acl->d_port_l = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ | uint16_t build_acl.cc:1716:12: error: ‘struct acl’ has no member named ‘d_port_h’ 1716 | n_acl->d_port_h = (u_int16_t) strtol(tok,&pptr,0); | ^~~~~~~~ build_acl.cc:1725:12: error: ‘struct acl’ has no member named ‘d_port_l’ 1725 | n_acl->d_port_l = (u_int16_t) strtol(tok,&pptr,0); | ^~~~~~~~ build_acl.cc:1725:24: error: ‘u_int16_t’ was not declared in this scope; did you mean ‘uint16_t’? 1725 | n_acl->d_port_l = (u_int16_t) strtol(tok,&pptr,0); | ^~~~~~~~~ | uint16_t build_acl.cc:1732:12: error: ‘struct acl’ has no member named ‘d_port_h’ 1732 | n_acl->d_port_h=n_acl->d_port_l; | ^~~~~~~~ build_acl.cc:1732:28: error: ‘struct acl’ has no member named ‘d_port_l’ 1732 | n_acl->d_port_h=n_acl->d_port_l; | ^~~~~~~~ build_acl.cc:1744:99: error: ‘struct gvars’ has no member named ‘default_rid’; did you mean ‘default_device’? 1744 | r, rid specified but none provided, using default rid %u\n",gVars.default_rid); | ^~~~~~~~~~~ | default_device build_acl.cc:1754:12: error: ‘struct acl’ has no member named ‘rid’ 1754 | n_acl->rid = (u_int32_t) strtol(tmp,&pptr,0); | ^~~ build_acl.cc:1754:19: error: ‘u_int32_t’ was not declared in this scope; did you mean ‘uint32_t’? 1754 | n_acl->rid = (u_int32_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ | uint32_t build_acl.cc:1757:86: error: ‘struct gvars’ has no member named ‘default_rid’; did you mean ‘default_device’? 1757 | ,"Format error, invalid rid %s, using default rid %u\n",tmp,gVars.default_rid); | ^~~~~~~~~~~ | default_device build_acl.cc:1769:136: error: ‘struct gvars’ has no member named ‘default_rgid’; did you mean ‘default_device’? 1769 | rgid specified but none provided, using default rgid %u\n",gVars.default_rgid); | ^~~~~~~~~~~~ | default_device build_acl.cc:1779:40: error: ‘struct acl’ has no member named ‘rgid’ 1779 | n_acl->rgid = (u_int32_t) strtol(tmp,&pptr,0); | ^~~~ build_acl.cc:1779:48: error: ‘u_int32_t’ was not declared in this scope; did you mean ‘uint32_t’? 1779 | n_acl->rgid = (u_int32_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ | uint32_t build_acl.cc:1782:123: error: ‘struct gvars’ has no member named ‘default_rgid’; did you mean ‘default_device’? 1782 | ormat error, invalid rgid %s, using default rgid %u\n",tmp,gVars.default_rgid); | ^~~~~~~~~~~~ | default_device build_acl.cc:1794:136: error: ‘struct gvars’ has no member named ‘default_zone’; did you mean ‘default_device’? 1794 | zone specified but none provided, using default zone %d\n",gVars.default_zone); | ^~~~~~~~~~~~ | default_device build_acl.cc:1804:40: error: ‘struct acl’ has no member named ‘zone’ 1804 | n_acl->zone = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~ build_acl.cc:1804:48: error: ‘u_int16_t’ was not declared in this scope; did you mean ‘uint16_t’? 1804 | n_acl->zone = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ | uint16_t build_acl.cc:1807:123: error: ‘struct gvars’ has no member named ‘default_zone’; did you mean ‘default_device’? 1807 | ormat error, invalid zone %s, using default zone %d\n",tmp,gVars.default_zone); | ^~~~~~~~~~~~ | default_device build_acl.cc:1819:101: error: ‘struct gvars’ has no member named ‘default_node’; did you mean ‘default_device’? 1819 | node specified but none provided, using default node %d\n",gVars.default_node); | ^~~~~~~~~~~~ | default_device build_acl.cc:1829:12: error: ‘struct acl’ has no member named ‘node’ 1829 | n_acl->node = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~ build_acl.cc:1829:20: error: ‘u_int16_t’ was not declared in this scope; did you mean ‘uint16_t’? 1829 | n_acl->node = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ | uint16_t build_acl.cc:1832:88: error: ‘struct gvars’ has no member named ‘default_node’; did you mean ‘default_device’? 1832 | ormat error, invalid node %s, using default node %d\n",tmp,gVars.default_node); | ^~~~~~~~~~~~ | default_device build_acl.cc:1844:105: error: ‘struct gvars’ has no member named ‘default_status’ 1844 | specified but none provided, using default status %d\n",gVars.default_status); | ^~~~~~~~~~~~~~ build_acl.cc:1854:12: error: ‘struct acl’ has no member named ‘status’ 1854 | n_acl->status = (u_int8_t) strtol(tmp,&pptr,0); | ^~~~~~ build_acl.cc:1854:22: error: ‘u_int8_t’ was not declared in this scope; did you mean ‘uint8_t’? 1854 | n_acl->status = (u_int8_t) strtol(tmp,&pptr,0); | ^~~~~~~~ | uint8_t build_acl.cc:1857:92: error: ‘struct gvars’ has no member named ‘default_status’ 1857 | error, invalid status %s, using default status %d\n",tmp,gVars.default_status); | ^~~~~~~~~~~~~~ build_acl.cc:1869:107: error: ‘struct gvars’ has no member named ‘default_timeout’ 1869 | pecified but none provided, using default timeout %d\n",gVars.default_timeout); | ^~~~~~~~~~~~~~~ build_acl.cc:1873:12: error: ‘struct acl’ has no member named ‘timeout’ 1873 | n_acl->timeout = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~ build_acl.cc:1873:23: error: ‘u_int16_t’ was not declared in this scope; did you mean ‘uint16_t’? 1873 | n_acl->timeout = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ | uint16_t build_acl.cc:1888:105: error: ‘struct gvars’ has no member named ‘default_tcplag’ 1888 | specified but none provided, using default tcplag %d\n",gVars.default_tcplag); | ^~~~~~~~~~~~~~ build_acl.cc:1892:12: error: ‘struct acl’ has no member named ‘tcplag’ 1892 | n_acl->tcplag = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~ build_acl.cc:1892:22: error: ‘u_int16_t’ was not declared in this scope; did you mean ‘uint16_t’? 1892 | n_acl->tcplag = (u_int16_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ | uint16_t build_acl.cc:1906:125: error: ‘struct gvars’ has no member named ‘default_limit’ 1906 | provided, using default limit %llu\n",(long long unsigned)gVars.default_limit); | ^~~~~~~~~~~~~ build_acl.cc:1910:12: error: ‘struct acl’ has no member named ‘limit’ 1910 | n_acl->limit = (u_int64_t) strtol(tmp,&pptr,0); | ^~~~~ build_acl.cc:1910:21: error: ‘u_int64_t’ was not declared in this scope; did you mean ‘uint64_t’? 1910 | n_acl->limit = (u_int64_t) strtol(tmp,&pptr,0); | ^~~~~~~~~ | uint64_t build_acl.cc:1913:112: error: ‘struct gvars’ has no member named ‘default_limit’ 1913 | t %s, using default limit %llu\n",tmp,(long long unsigned)gVars.default_limit); | ^~~~~~~~~~~~~ build_acl.cc:1930:13: error: ‘struct acl’ has no member named ‘realtime’ 1930 | n_acl->realtime = ACTION_LOG; | ^~~~~~~~ build_acl.cc:1931:13: error: ‘struct acl’ has no member named ‘rmode’ 1931 | n_acl->rmode = OMODE_LOG; | ^~~~~ build_acl.cc:1936:13: error: ‘struct acl’ has no member named ‘realtime’ 1936 | n_acl->realtime = ACTION_PASS; | ^~~~~~~~ build_acl.cc:1937:13: error: ‘struct acl’ has no member named ‘rmode’ 1937 | n_acl->rmode = OMODE_PASS; | ^~~~~ build_acl.cc:1952:13: error: ‘struct acl’ has no member named ‘stats’ 1952 | n_acl->stats=ACTION_LOG; | ^~~~~ build_acl.cc:1953:13: error: ‘struct acl’ has no member named ‘smode’ 1953 | n_acl->smode=OMODE_LOG; | ^~~~~ build_acl.cc:1958:13: error: ‘struct acl’ has no member named ‘stats’ 1958 | n_acl->stats = ACTION_PASS; | ^~~~~ build_acl.cc:1959:13: error: ‘struct acl’ has no member named ‘smode’ 1959 | n_acl->smode = OMODE_PASS; | ^~~~~ build_acl.cc:1976:13: error: ‘struct acl’ has no member named ‘pcap’ 1976 | n_acl->pcap = ACTION_LOG; | ^~~~ build_acl.cc:1977:13: error: ‘struct acl’ has no member named ‘pmode’ 1977 | n_acl->pmode = OMODE_LOG; | ^~~~~ build_acl.cc:1984:13: error: ‘struct acl’ has no member named ‘pcap’ 1984 | n_acl->pcap = ACTION_PASS; | ^~~~ build_acl.cc:1985:13: error: ‘struct acl’ has no member named ‘pmode’ 1985 | n_acl->pmode = OMODE_PASS; | ^~~~~ build_acl.cc:1986:13: error: ‘struct acl’ has no member named ‘cmode’ 1986 | n_acl->cmode = CMODE_NONE; | ^~~~~ build_acl.cc:1993:13: error: ‘struct acl’ has no member named ‘pcap’ 1993 | n_acl->pcap = ACTION_LOG; | ^~~~ build_acl.cc:1994:13: error: ‘struct acl’ has no member named ‘pmode’ 1994 | n_acl->pmode=OMODE_RULE; | ^~~~~ build_acl.cc:2000:13: error: ‘struct acl’ has no member named ‘pcap’ 2000 | n_acl->pcap = ACTION_LOG; | ^~~~ build_acl.cc:2001:13: error: ‘struct acl’ has no member named ‘pmode’ 2001 | n_acl->pmode=OMODE_UNIQ; | ^~~~~ build_acl.cc:2016:14: error: ‘struct acl’ has no member named ‘pcap’ 2016 | n_acl->pcap = ACTION_LOG; | ^~~~ build_acl.cc:2017:14: error: ‘struct acl’ has no member named ‘pmode’ 2017 | n_acl->pmode=OMODE_FILENAME; | ^~~~~ build_acl.cc:2033:14: error: ‘struct acl’ has no member named ‘pcap’ 2033 | n_acl->pcap = ACTION_LOG; | ^~~~ build_acl.cc:2034:14: error: ‘struct acl’ has no member named ‘pmode’ 2034 | n_acl->pmode=OMODE_TSFILENAME; | ^~~~~ build_acl.cc:2043:12: error: ‘struct acl’ has no member named ‘cmode’ 2043 | n_acl->cmode = CMODE_DST; | ^~~~~ build_acl.cc:2048:12: error: ‘struct acl’ has no member named ‘cmode’ 2048 | n_acl->cmode = CMODE_SRC; | ^~~~~ build_acl.cc:2054:12: error: ‘struct acl’ has no member named ‘stats’ 2054 | n_acl->stats=n_acl->realtime=n_acl->pcap=ACTION_PASS; | ^~~~~ build_acl.cc:2054:25: error: ‘struct acl’ has no member named ‘realtime’ 2054 | n_acl->stats=n_acl->realtime=n_acl->pcap=ACTION_PASS; | ^~~~~~~~ build_acl.cc:2054:41: error: ‘struct acl’ has no member named ‘pcap’ 2054 | n_acl->stats=n_acl->realtime=n_acl->pcap=ACTION_PASS; | ^~~~ build_acl.cc:2055:12: error: ‘struct acl’ has no member named ‘cmode’ 2055 | n_acl->cmode = CMODE_NONE; | ^~~~~ build_acl.cc:2056:12: error: ‘struct acl’ has no member named ‘pmode’ 2056 | n_acl->pmode = OMODE_PASS; | ^~~~~ build_acl.cc:2061:12: error: ‘struct acl’ has no member named ‘retro’ 2061 | n_acl->retro = true; | ^~~~~ build_acl.cc:2075:13: error: ‘struct acl’ has no member named ‘retro’ 2075 | if(n_acl->retro){ | ^~~~~ build_acl.cc: In function ‘void print_acl(int)’: build_acl.cc:2143:2: error: ‘u_int32_t’ was not declared in this scope; did you mean ‘uint32_t’? 2143 | u_int32_t tmpint; | ^~~~~~~~~ | uint32_t build_acl.cc:2146:12: error: ‘struct gvars’ has no member named ‘uselocaltime’ 2146 | if(gVars.uselocaltime){ | ^~~~~~~~~~~~ build_acl.cc:2183:11: error: ‘struct gvars’ has no member named ‘rmode’ 2183 | if(gVars.rmode==OMODE_FILENAME){ | ^~~~~ build_acl.cc:2185:17: error: ‘struct gvars’ has no member named ‘rmode’ 2185 | }else if(gVars.rmode==OMODE_TSFILENAME){ | ^~~~~ build_acl.cc:2188:45: error: ‘struct gvars’ has no member named ‘pmode’ 2188 | sprintf(LOG,"default realtime=%s\n",gVars.pmode?"log":"pass"); | ^~~~~ build_acl.cc:2191:11: error: ‘struct gvars’ has no member named ‘smode’ 2191 | if(gVars.smode==OMODE_FILENAME){ | ^~~~~ build_acl.cc:2193:17: error: ‘struct gvars’ has no member named ‘smode’ 2193 | }else if(gVars.smode==OMODE_TSFILENAME){ | ^~~~~ build_acl.cc:2196:42: error: ‘struct gvars’ has no member named ‘smode’ 2196 | sprintf(LOG,"default stats=%s\n",gVars.smode?"log":"pass"); | ^~~~~ build_acl.cc:2199:11: error: ‘struct gvars’ has no member named ‘pmode’ 2199 | if(gVars.pmode==OMODE_FILENAME){ | ^~~~~ build_acl.cc:2201:17: error: ‘struct gvars’ has no member named ‘pmode’ 2201 | }else if(gVars.pmode==OMODE_TSFILENAME){ | ^~~~~ build_acl.cc:2204:41: error: ‘struct gvars’ has no member named ‘pmode’ 2204 | sprintf(LOG,"default pcap=%s\n",gVars.pmode?"log":"pass"); | ^~~~~ build_acl.cc:2207:11: error: ‘struct gvars’ has no member named ‘pcap_raw’; did you mean ‘pcap_fname’? 2207 | if(gVars.pcap_raw){ | ^~~~~~~~ | pcap_fname build_acl.cc:2208:51: error: ‘struct gvars’ has no member named ‘pcap_raw’; did you mean ‘pcap_fname’? 2208 | sprintf(LOG,"default debug_pcap_raw=%s\n",gVars.pcap_raw?"enable":"disable"); | ^~~~~~~~ | pcap_fname build_acl.cc:2211:11: error: ‘struct gvars’ has no member named ‘strip_80211’ 2211 | if(gVars.strip_80211){ | ^~~~~~~~~~~ build_acl.cc:2212:48: error: ‘struct gvars’ has no member named ‘strip_80211’ 2212 | sprintf(LOG,"default strip-80211=%s\n",gVars.strip_80211?"enable":"disable"); | ^~~~~~~~~~~ build_acl.cc:2215:50: error: ‘struct gvars’ has no member named ‘default_flush_interval’ 2215 | sprintf(LOG,"default flush_interval=%u\n",gVars.default_flush_interval); | ^~~~~~~~~~~~~~~~~~~~~~ build_acl.cc:2217:51: error: ‘struct gvars’ has no member named ‘default_expire_interval’ 2217 | sprintf(LOG,"default expire_interval=%u\n",gVars.default_expire_interval); | ^~~~~~~~~~~~~~~~~~~~~~~ build_acl.cc:2219:46: error: ‘struct gvars’ has no member named ‘burst_mode’ 2219 | sprintf(LOG,"default burst_mode=%s\n",gVars.burst_mode?"enable":"disable"); | ^~~~~~~~~~ build_acl.cc:2221:42: error: ‘struct gvars’ has no member named ‘default_status’ 2221 | sprintf(LOG,"default status=%u\n",gVars.default_status); | ^~~~~~~~~~~~~~ build_acl.cc:2223:40: error: ‘struct gvars’ has no member named ‘default_node’; did you mean ‘default_device’? 2223 | sprintf(LOG,"default node=%u\n",gVars.default_node); | ^~~~~~~~~~~~ | default_device build_acl.cc:2225:40: error: ‘struct gvars’ has no member named ‘default_zone’; did you mean ‘default_device’? 2225 | sprintf(LOG,"default zone=%u\n",gVars.default_zone); | ^~~~~~~~~~~~ | default_device build_acl.cc:2227:39: error: ‘struct gvars’ has no member named ‘default_rid’; did you mean ‘default_device’? 2227 | sprintf(LOG,"default rid=%u\n",gVars.default_rid); | ^~~~~~~~~~~ | default_device build_acl.cc:2229:40: error: ‘struct gvars’ has no member named ‘default_rgid’; did you mean ‘default_device’? 2229 | sprintf(LOG,"default rgid=%u\n",gVars.default_rgid); | ^~~~~~~~~~~~ | default_device build_acl.cc:2231:43: error: ‘struct gvars’ has no member named ‘default_timeout’ 2231 | sprintf(LOG,"default timeout=%d\n",gVars.default_timeout); | ^~~~~~~~~~~~~~~ build_acl.cc:2233:63: error: ‘struct gvars’ has no member named ‘default_limit’ 2233 | sprintf(LOG,"default limit=%llu\n",(long long unsigned)gVars.default_limit); | ^~~~~~~~~~~~~ build_acl.cc:2235:42: error: ‘struct gvars’ has no member named ‘default_tcplag’ 2235 | sprintf(LOG,"default tcplag=%d\n",gVars.default_tcplag); | ^~~~~~~~~~~~~~ build_acl.cc:2257:12: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] 2257 | sprintf(LOG,"%s %s ",LOG,ptok); | ^~~ ~~~ build_acl.cc:2263:33: error: ‘struct t_ports’ has no member named ‘l_port’; did you mean ‘t_ports’? 2263 | sprintf(ptok,"%d",tmp_port->l_port); | ^~~~~~ | t_ports build_acl.cc:2264:18: error: ‘struct t_ports’ has no member named ‘l_port’; did you mean ‘t_ports’? 2264 | if(tmp_port->l_port!=tmp_port->h_port) | ^~~~~~ | t_ports build_acl.cc:2264:36: error: ‘struct t_ports’ has no member named ‘h_port’; did you mean ‘t_ports’? 2264 | if(tmp_port->l_port!=tmp_port->h_port) | ^~~~~~ | t_ports build_acl.cc:2265:42: error: ‘struct t_ports’ has no member named ‘h_port’; did you mean ‘t_ports’? 2265 | sprintf(ptok,"%s-%d",ptok,tmp_port->h_port); | ^~~~~~ | t_ports build_acl.cc:2271:13: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] 2271 | sprintf(LOG,"%s%s",LOG,ptok); | ^~~ ~~~ build_acl.cc:2287:14: error: ‘struct acl’ has no member named ‘h_proto_l’ 2287 | if(tmpptr->h_proto_l==tmpptr->h_proto_h){ | ^~~~~~~~~ build_acl.cc:2287:33: error: ‘struct acl’ has no member named ‘h_proto_h’ 2287 | if(tmpptr->h_proto_l==tmpptr->h_proto_h){ | ^~~~~~~~~ build_acl.cc:2288:30: error: ‘struct acl’ has no member named ‘h_proto_l’ 2288 | sprintf(ptok,"%d",tmpptr->h_proto_l); | ^~~~~~~~~ build_acl.cc:2290:33: error: ‘struct acl’ has no member named ‘h_proto_l’ 2290 | sprintf(ptok,"%d-%d",tmpptr->h_proto_l,tmpptr->h_proto_h); | ^~~~~~~~~ build_acl.cc:2290:51: error: ‘struct acl’ has no member named ‘h_proto_h’ 2290 | sprintf(ptok,"%d-%d",tmpptr->h_proto_l,tmpptr->h_proto_h); | ^~~~~~~~~ build_acl.cc:2295:20: error: ‘struct acl’ has no member named ‘h_proto_l’ 2295 | }else if(tmpptr->h_proto_l==0 && tmpptr->h_proto_h==0xFFFF ){ | ^~~~~~~~~ build_acl.cc:2295:44: error: ‘struct acl’ has no member named ‘h_proto_h’ 2295 | }else if(tmpptr->h_proto_l==0 && tmpptr->h_proto_h==0xFFFF ){ | ^~~~~~~~~ build_acl.cc:2307:59: error: ‘struct acl’ has no member named ‘s_ip’ 2307 | sprintf(ptok,"%s",inet_ntoa(*(struct in_addr*) &tmpptr->s_ip)); | ^~~~ build_acl.cc:2308:14: error: ‘struct acl’ has no member named ‘s_mask’ 2308 | if(tmpptr->s_mask!=0xFFFFFFFF){ | ^~~~~~ build_acl.cc:2309:4: error: ‘tmpint’ was not declared in this scope 2309 | tmpint = htonl(tmpptr->s_mask); | ^~~~~~ build_acl.cc:2309:27: error: ‘struct acl’ has no member named ‘s_mask’ 2309 | tmpint = htonl(tmpptr->s_mask); | ^~~~~~ build_acl.cc:2316:21: error: ‘struct acl’ has no member named ‘s_mask’ 2316 | if(htonl(tmpptr->s_mask)==(u_int32_t)(0xFFFFFFFF<<(32-cidr))){ | ^~~~~~ build_acl.cc:2317:15: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] 2317 | sprintf(ptok,"%s/%d",ptok,cidr); | ^~~~ ~~~~ build_acl.cc:2319:71: error: ‘struct acl’ has no member named ‘s_mask’ 2319 | sprintf(ptok,"%s/%s",ptok,inet_ntoa(*(struct in_addr*) &tmpptr->s_mask)); | ^~~~~~ build_acl.cc:2325:20: error: ‘struct acl’ has no member named ‘s_ip’ 2325 | }else if(tmpptr->s_ip==0){ | ^~~~ build_acl.cc:2337:59: error: ‘struct acl’ has no member named ‘d_ip’ 2337 | sprintf(ptok,"%s",inet_ntoa(*(struct in_addr*) &tmpptr->d_ip)); | ^~~~ build_acl.cc:2338:14: error: ‘struct acl’ has no member named ‘d_mask’ 2338 | if(tmpptr->d_mask!=0xFFFFFFFF){ | ^~~~~~ build_acl.cc:2339:4: error: ‘tmpint’ was not declared in this scope 2339 | tmpint = htonl(tmpptr->d_mask); | ^~~~~~ build_acl.cc:2339:27: error: ‘struct acl’ has no member named ‘d_mask’ 2339 | tmpint = htonl(tmpptr->d_mask); | ^~~~~~ build_acl.cc:2346:21: error: ‘struct acl’ has no member named ‘d_mask’ 2346 | if(htonl(tmpptr->d_mask)==(u_int32_t)(0xFFFFFFFF<<(32-cidr))){ | ^~~~~~ build_acl.cc:2347:15: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] 2347 | sprintf(ptok,"%s/%d",ptok,cidr); | ^~~~ ~~~~ build_acl.cc:2349:71: error: ‘struct acl’ has no member named ‘d_mask’ 2349 | sprintf(ptok,"%s/%s",ptok,inet_ntoa(*(struct in_addr*) &tmpptr->d_mask)); | ^~~~~~ build_acl.cc:2355:20: error: ‘struct acl’ has no member named ‘d_ip’ 2355 | }else if(tmpptr->d_ip==0){ | ^~~~ build_acl.cc:2367:29: error: ‘struct acl’ has no member named ‘proto_l’ 2367 | sprintf(ptok,"%d",tmpptr->proto_l); | ^~~~~~~ build_acl.cc:2368:14: error: ‘struct acl’ has no member named ‘proto_l’ 2368 | if(tmpptr->proto_l!=tmpptr->proto_h){ | ^~~~~~~ build_acl.cc:2368:31: error: ‘struct acl’ has no member named ‘proto_h’ 2368 | if(tmpptr->proto_l!=tmpptr->proto_h){ | ^~~~~~~ build_acl.cc:2369:38: error: ‘struct acl’ has no member named ‘proto_h’ 2369 | sprintf(ptok,"%s-%d",ptok,tmpptr->proto_h); | ^~~~~~~ build_acl.cc:2374:20: error: ‘struct acl’ has no member named ‘proto_l’ 2374 | }else if(tmpptr->proto_l==0x00 && tmpptr->proto_h==0xFF){ | ^~~~~~~ build_acl.cc:2374:45: error: ‘struct acl’ has no member named ‘proto_h’ 2374 | }else if(tmpptr->proto_l==0x00 && tmpptr->proto_h==0xFF){ | ^~~~~~~ build_acl.cc:2386:29: error: ‘struct acl’ has no member named ‘s_port_l’ 2386 | sprintf(ptok,"%d",tmpptr->s_port_l); | ^~~~~~~~ build_acl.cc:2387:28: error: ‘struct acl’ has no member named ‘s_port_l’ 2387 | if(tmpptr->s_port_l!=tmpptr->s_port_h){ | ^~~~~~~~ build_acl.cc:2387:46: error: ‘struct acl’ has no member named ‘s_port_h’ 2387 | if(tmpptr->s_port_l!=tmpptr->s_port_h){ | ^~~~~~~~ build_acl.cc:2388:38: error: ‘struct acl’ has no member named ‘s_port_h’ 2388 | sprintf(ptok,"%s-%d",ptok,tmpptr->s_port_h); | ^~~~~~~~ build_acl.cc:2393:20: error: ‘struct acl’ has no member named ‘s_port_l’ 2393 | }else if(tmpptr->s_port_l==0 && tmpptr->s_port_h==0xFFFF){ | ^~~~~~~~ build_acl.cc:2393:43: error: ‘struct acl’ has no member named ‘s_port_h’ 2393 | }else if(tmpptr->s_port_l==0 && tmpptr->s_port_h==0xFFFF){ | ^~~~~~~~ build_acl.cc:2405:29: error: ‘struct acl’ has no member named ‘d_port_l’ 2405 | sprintf(ptok,"%d",tmpptr->d_port_l); | ^~~~~~~~ build_acl.cc:2406:28: error: ‘struct acl’ has no member named ‘d_port_l’ 2406 | if(tmpptr->d_port_l!=tmpptr->d_port_h){ | ^~~~~~~~ build_acl.cc:2406:46: error: ‘struct acl’ has no member named ‘d_port_h’ 2406 | if(tmpptr->d_port_l!=tmpptr->d_port_h){ | ^~~~~~~~ build_acl.cc:2407:38: error: ‘struct acl’ has no member named ‘d_port_h’ 2407 | sprintf(ptok,"%s-%d",ptok,tmpptr->d_port_h); | ^~~~~~~~ build_acl.cc:2412:20: error: ‘struct acl’ has no member named ‘d_port_l’ 2412 | }else if(tmpptr->d_port_l==0 && tmpptr->d_port_h==0xFFFF){ | ^~~~~~~~ build_acl.cc:2412:43: error: ‘struct acl’ has no member named ‘d_port_h’ 2412 | }else if(tmpptr->d_port_l==0 && tmpptr->d_port_h==0xFFFF){ | ^~~~~~~~ build_acl.cc:2423:15: error: ‘struct acl’ has no member named ‘stats’ 2423 | if(!tmpptr->stats && !tmpptr->realtime && !tmpptr->pcap){ | ^~~~~ build_acl.cc:2423:33: error: ‘struct acl’ has no member named ‘realtime’ 2423 | if(!tmpptr->stats && !tmpptr->realtime && !tmpptr->pcap){ | ^~~~~~~~ build_acl.cc:2423:54: error: ‘struct acl’ has no member named ‘pcap’ 2423 | if(!tmpptr->stats && !tmpptr->realtime && !tmpptr->pcap){ | ^~~~ build_acl.cc:2433:17: error: ‘struct acl’ has no member named ‘stats’ 2433 | if(tmpptr->stats!=gVars.smode){ | ^~~~~ build_acl.cc:2433:30: error: ‘struct gvars’ has no member named ‘smode’ 2433 | if(tmpptr->stats!=gVars.smode){ | ^~~~~ build_acl.cc:2435:20: error: ‘struct acl’ has no member named ‘smode’ 2435 | if(tmpptr->smode==OMODE_PASS) | ^~~~~ build_acl.cc:2437:25: error: ‘struct acl’ has no member named ‘smode’ 2437 | else if(tmpptr->smode==OMODE_LOG) | ^~~~~ build_acl.cc:2443:17: error: ‘struct acl’ has no member named ‘realtime’ 2443 | if(tmpptr->realtime!=gVars.rmode){ | ^~~~~~~~ build_acl.cc:2443:33: error: ‘struct gvars’ has no member named ‘rmode’ 2443 | if(tmpptr->realtime!=gVars.rmode){ | ^~~~~ build_acl.cc:2445:20: error: ‘struct acl’ has no member named ‘rmode’ 2445 | if(tmpptr->rmode==OMODE_PASS) | ^~~~~ build_acl.cc:2447:25: error: ‘struct acl’ has no member named ‘rmode’ 2447 | else if(tmpptr->rmode==OMODE_LOG) | ^~~~~ build_acl.cc:2453:17: error: ‘struct acl’ has no member named ‘pmode’ 2453 | if(tmpptr->pmode!=gVars.pmode){ | ^~~~~ build_acl.cc:2453:30: error: ‘struct gvars’ has no member named ‘pmode’ 2453 | if(tmpptr->pmode!=gVars.pmode){ | ^~~~~ build_acl.cc:2455:20: error: ‘struct acl’ has no member named ‘pmode’ 2455 | if(tmpptr->pmode==OMODE_PASS) | ^~~~~ build_acl.cc:2457:25: error: ‘struct acl’ has no member named ‘pmode’ 2457 | else if(tmpptr->pmode==OMODE_LOG) | ^~~~~ build_acl.cc:2459:25: error: ‘struct acl’ has no member named ‘pmode’ 2459 | else if(tmpptr->pmode==OMODE_RULE) | ^~~~~ build_acl.cc:2461:25: error: ‘struct acl’ has no member named ‘pmode’ 2461 | else if(tmpptr->pmode==OMODE_UNIQ) | ^~~~~ build_acl.cc:2463:25: error: ‘struct acl’ has no member named ‘pmode’ 2463 | else if(tmpptr->pmode==OMODE_FILENAME && gVars.pfH->getFileHandle()!=tmpptr->fH->getFileHandle()) | ^~~~~ build_acl.cc:2464:12: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] 2464 | sprintf(LOG,"%s filename=%s",LOG,tmpptr->fH->getFileName()); | ^~~ ~~~ build_acl.cc:2465:25: error: ‘struct acl’ has no member named ‘pmode’ 2465 | else if(tmpptr->pmode==OMODE_TSFILENAME) | ^~~~~ build_acl.cc:2466:12: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] 2466 | sprintf(LOG,"%s tsfilename=%s",LOG,tmpptr->fH->getFileName()); | ^~~ ~~~ build_acl.cc:2471:17: error: ‘struct acl’ has no member named ‘cmode’ 2471 | if(tmpptr->cmode==CMODE_SRC) | ^~~~~ build_acl.cc:2473:17: error: ‘struct acl’ has no member named ‘cmode’ 2473 | if(tmpptr->cmode==CMODE_DST) | ^~~~~ build_acl.cc:2482:14: error: ‘struct acl’ has no member named ‘limit’ 2482 | if(tmpptr->limit!=gVars.default_limit) | ^~~~~ build_acl.cc:2482:27: error: ‘struct gvars’ has no member named ‘default_limit’ 2482 | if(tmpptr->limit!=gVars.default_limit) | ^~~~~~~~~~~~~ build_acl.cc:2483:65: error: ‘struct acl’ has no member named ‘limit’ 2483 | sprintf(LOG,"%s, limit=%llu",LOG,(long long unsigned)tmpptr->limit); | ^~~~~ build_acl.cc:2485:14: error: ‘struct acl’ has no member named ‘timeout’ 2485 | if(tmpptr->timeout!=gVars.default_timeout) | ^~~~~~~ build_acl.cc:2485:29: error: ‘struct gvars’ has no member named ‘default_timeout’ 2485 | if(tmpptr->timeout!=gVars.default_timeout) | ^~~~~~~~~~~~~~~ build_acl.cc:2486:45: error: ‘struct acl’ has no member named ‘timeout’ 2486 | sprintf(LOG,"%s, timeout=%d",LOG,tmpptr->timeout); | ^~~~~~~ build_acl.cc:2488:14: error: ‘struct acl’ has no member named ‘tcplag’ 2488 | if(tmpptr->tcplag!=gVars.default_tcplag) | ^~~~~~ build_acl.cc:2488:28: error: ‘struct gvars’ has no member named ‘default_tcplag’ 2488 | if(tmpptr->tcplag!=gVars.default_tcplag) | ^~~~~~~~~~~~~~ build_acl.cc:2489:44: error: ‘struct acl’ has no member named ‘tcplag’ 2489 | sprintf(LOG,"%s, tcplag=%d",LOG,tmpptr->tcplag); | ^~~~~~ build_acl.cc:2491:14: error: ‘struct acl’ has no member named ‘rid’ 2491 | if(tmpptr->rid) | ^~~ build_acl.cc:2494:30: error: ‘struct acl’ has no member named ‘rid’ 2494 | sprintf(ptok,"%u",tmpptr->rid); | ^~~ build_acl.cc:2499:12: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] 2499 | sprintf(LOG,"%s, rid=%s",LOG,ptok); | ^~~ ~~~ build_acl.cc:2502:14: error: ‘struct acl’ has no member named ‘rgid’ 2502 | if(tmpptr->rgid) | ^~~~ build_acl.cc:2505:30: error: ‘struct acl’ has no member named ‘rgid’ 2505 | sprintf(ptok,"%u",tmpptr->rgid); | ^~~~ build_acl.cc:2510:12: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] 2510 | sprintf(LOG,"%s, rgid=%s",LOG,ptok); | ^~~ ~~~ build_acl.cc:2513:14: error: ‘struct acl’ has no member named ‘zone’ 2513 | if(tmpptr->zone) | ^~~~ build_acl.cc:2516:30: error: ‘struct acl’ has no member named ‘zone’ 2516 | sprintf(ptok,"%u",tmpptr->zone); | ^~~~ build_acl.cc:2521:12: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] 2521 | sprintf(LOG,"%s, zone=%s",LOG,ptok); | ^~~ ~~~ build_acl.cc:2524:14: error: ‘struct acl’ has no member named ‘node’ 2524 | if(tmpptr->node) | ^~~~ build_acl.cc:2527:30: error: ‘struct acl’ has no member named ‘node’ 2527 | sprintf(ptok,"%u",tmpptr->node); | ^~~~ build_acl.cc:2532:12: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] 2532 | sprintf(LOG,"%s, node=%s",LOG,ptok); | ^~~ ~~~ build_acl.cc:2535:14: error: ‘struct acl’ has no member named ‘status’ 2535 | if(tmpptr->status!=gVars.default_status) | ^~~~~~ build_acl.cc:2535:28: error: ‘struct gvars’ has no member named ‘default_status’ 2535 | if(tmpptr->status!=gVars.default_status) | ^~~~~~~~~~~~~~ build_acl.cc:2538:30: error: ‘struct acl’ has no member named ‘status’ 2538 | sprintf(ptok,"%u",tmpptr->status); | ^~~~~~ build_acl.cc:2543:12: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] 2543 | sprintf(LOG,"%s, status=%s",LOG,ptok); | ^~~ ~~~ build_acl.cc:2546:14: error: ‘struct acl’ has no member named ‘retro’ 2546 | if(tmpptr->retro) | ^~~~~ build_acl.cc:2550:48: error: ‘struct acl’ has no member named ‘ctr’ 2550 | sprintf(LOG,"%s # Matches: %d\n",LOG,tmpptr->ctr); | ^~~ build_acl.cc:2555:52: error: ‘struct gvars’ has no member named ‘default_ctr’ 2555 | sprintf(LOG,"# Implicit rule matches: %d\n",gVars.default_ctr); | ^~~~~~~~~~~ build_acl.cc: In function ‘void parse_default(char*, char*)’: build_acl.cc:924:18: warning: ‘char* strncpy(char*, const char*, size_t)’ output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation] 924 | strncpy(gVars.stats_fname,STATS_FNAME,strlen(STATS_FNAME)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_acl.cc:993:18: warning: ‘char* strncpy(char*, const char*, size_t)’ output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 993 | strncpy(gVars.pcap_fname,PCAP_FNAME,strlen(PCAP_FNAME)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_acl.cc:1057:18: warning: ‘char* strncpy(char*, const char*, size_t)’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 1057 | strncpy(gVars.realtime_fname,REALTIME_FNAME,strlen(REALTIME_FNAME)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:9: final] Error 1 * ERROR: net-analyzer/sancp-1.6.1-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/sancp-1.6.1-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/sancp-1.6.1-r4::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:sancp-1.6.1-r4:20200325-045621.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/sancp-1.6.1-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/sancp-1.6.1-r4/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/sancp-1.6.1-r4/work/sancp-1.6.1' * S: '/var/tmp/portage/net-analyzer/sancp-1.6.1-r4/work/sancp-1.6.1'