There's no reason to set CPPFLAGS to OPENSSL_LDFLAGS
The last 2 functions require pcap.