Does libpcap get a copy of the packet ?

Posted by ShaChris23 on Stack Overflow See other posts from Stack Overflow or by ShaChris23
Published on 2010-05-12T00:16:07Z Indexed on 2010/05/12 0:24 UTC
Read the original article Hit count: 569

Does libpcap get a copy of the packet or the actual packet?

By copy, I mean: the application using libpcap gets packet A, and the kernel also gets packet A.

By actual, I mean: only the application using libpcap gets packet A, but the kernel didn't get it.

© Stack Overflow or respective owner

Related posts about packet-capture

Related posts about packet-sniffers