nProbe skeleton 코드
nProbe가 동작하는 기본적인 skeleton 구조 Hash Tabledefinition: HashBucket **theHash[MAX_NUM_PCAP_THREADS], **thePrevHash[MAX_NUM_PCAP_THREADS]; #define HASH_SIZE 4096 /* buckets */ void allocateHash(int idx) { u_int mallocSize = sizeof(HashBucket*)*hashSize; theHash[idx] = (HashBucket**)calloc(1, mallocSize); if(theHash[idx] == NULL) { traceEvent(TRACE_ERROR, "Not enough memory"); exit(-1); } }... /* pcap-..