Using SCTime instead of timeval has created the following issue:
source-pfring.c: In function 'ReceivePfringLoop':
source-pfring.c:425:36: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'time_t' {aka 'long int'} [-Wsign-compare]
425 | if (SCTIME_SECS(p->ts) != last_dump) {
source-nflog.c: In function ‘NFLOGCallback’:
source-nflog.c:181:36: warning: passing argument 2 of ‘nflog_get_timestamp’ from incompatible pointer type [-Wincompatible-pointer-types]
181 | ret = nflog_get_timestamp(nfa, &p->ts);
| ^~~~~~
| |
| SCTime_t * {aka struct <anonymous> *}
In file included from source-nflog.h:28,
from decode.h:68,
from source-nflog.c:27:
/usr/include/libnetfilter_log/libnetfilter_log.h:57:73: note: expected ‘struct timeval *’ but argument is of type ‘SCTime_t *’ {aka ‘struct <anonymous> *’}
57 | extern int nflog_get_timestamp(struct nflog_data *nfad, struct timeval *tv);
| ~~~~~~~~~~~~~~~~^~