Re: Capture send packets in ZC mode
Alfredo Cardigliano <[email protected]>
| Newsgroups | gmane.linux.ntop.general |
|---|---|
| Message-ID | <[email protected]> |
Hi in ZC mode kernel is bypassed, thus you should send the packet and call clock_gettime() immediately after in order to compute latency (the same function is used for RX in this case). Alfredo > On 6 Oct 2017, at 16:34, Charles-Antoine Mathieu <[email protected]> wrote: > > Hello, > > I have a process that sends and receive ICMP packets using PF_RING. > > I'd like to capture send and received packets to be able to compute the > latency. When I'm not in ZC mode I get the send and the received packet > in the capture. However in ZC mode I only get the received packets in > the capture. > > Is there a way go get the same behaviour in ZC mode ? > _______________________________________________ > Ntop mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEunYLiJIhvMrSEXzAm6qh6WCZ23EFAlnXlVYACgkQm6qh6WCZ 23FIrQ/9GSJ3e40l/oGE4q4henVfTErdMNwE7wRnHXxAvf75/CEr8bI/bafs9b5t MlkMlO2N4Uk30XETfV99kn1frsYqRGaE81C0TEKco0E3nZOUtEBXMLjNLRYSYSnn XtyRtx0wUKhH/FM2VMyvLDa+NgubF6eXTzigRjw+nf7UqLFy2Ft0ZYaNQo0b3zPN oFPlaPwbYwMLeKmU2VvtQSYtptHWUkXUg7POfz+7ZyN9Jeoql3u8F/UKmqwAHjAc OpokOFe58vJNLyYG8Wo3IELdnwyAiANzgy2iIRK8Oq/9ytGnu8JE2gEo8UTkD7B3 ll1akBpjMKPwl8BfgAz9AFm6Gg1Iz9/5jwkQG+lDozxxJ4sSmzH+g19H+I2ff5wE k3m0amUyOY/TEU9khb4ShOBpKvOu57hXDQIj4QyU1xS8KsHIjOgmFNnZMOprXVge dgCwvz/xmy4Iry9FnX0CXGbed8zGHfNW+56I6gkdPUCFcWLoP3TNVIfHt0iT0EFj yecRciZDq9Nt7COqfb+RIK+fx45pJtOOAm5zM+tfFaM62/hCPnEVUMgm10Ectm9R RoGe0XVr1XQhaZloO/8jwKteYYpNt3VyG1hP0CPmqDjSYziml6Z5jMS60DpP5aEE PbSZLqbHFehunaA1vo6GPFaOULlyqgrEZKQuRjYtZsDWOO91KpQ= =rX1P -----END PGP SIGNATURE-----