BUFMAX
if (len > 0 && len <= BUFMAX && (buf = OPENSSL_malloc(len)) != NULL)
char *dumpf, buf[BUFMAX];
p = pcap_open_dead(DLT_RAW, BUFMAX);