Hello,
how can I open stack:ethX for reading with ZC API?
I was looking for bidirectional bridging zc:ethX with stack:ethX but as
I can see, pfring_zc_open_device() works for TX, but fails for RX.
It was possible with "old" API.
$ sudo ./pfcount -i stack:eth2
Using PF_RING v.6.0.3
Capturing from stack:eth2 [0C:C4:7A:1D:E6:C0][ifIndex: 12]
# Device RX channels: 1
# Polling threads: 1
Dumping statistics on /proc/net/pf_ring/stats/55007-eth2.679
=========================
Absolute Stats: [0 pkts rcvd][0 pkts dropped]
Total Pkts=0/Dropped=0.0 %
0 pkts - 0 bytes
$ sudo ./zcount -i stack:eth2 -c1
pfring_zc_open_device error [Operation not supported] Please check that
stack:eth2 is up and not already used
--
Paweł
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc