Hi,

I have a program written in C using standart pcap library. I have compiled a 
kernel installed it and also compiled pcap library in pfring source tree. nm 
output is like:

nm libpcap.so.0.9.7.WITH_PFRING  |grep -i pfring
00006388 T pcap_get_pfring_handle
0001b612 T pfring_add_filtering_rule
0001b373 T pfring_close
0001b6c1 T pfring_enable_ring
0001b4a9 T pfring_get_filtering_rule_stats
0001b50f T pfring_get_hash_filtering_rule_stats
0001bb6d T pfring_get_selectable_fd
0001b762 T pfring_handle_hash_filtering_rule
0001aec3 T pfring_open
0001ad3d T pfring_purge_idle_hash_rules
0001b873 T pfring_recv
0001b70b T pfring_remove_filtering_rule
0001ac8a T pfring_remove_from_cluster
0001ac40 T pfring_set_channel_id
0001abf6 T pfring_set_cluster
0001acd5 T pfring_set_reflector
0001b7d3 T pfring_set_sampling_rate
0001b823 T pfring_stats
0001b409 T pfring_toggle_filtering_policy
0001b459 T pfring_version

But when I use libpcap for pfring I can see /proc/net/pf_ring is changed but I 
can't receive any traffic. Do I have to change my application to use pf_ring if 
so what must be done in the code?

Regards.



      
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to