Which function would he use to correctly choose the default interface in the script?

Steve is using the libcap library to create scripts for capturing and analyzing network traffic.
Steve has never used libcap before and is struggling with finding out the correct functions to use.
Steve is trying to pick the default network interface in his script and does not know which function
to use. Which function would he use to correctly choose the default interface in the script?

Steve is using the libcap library to create scripts for capturing and analyzing network traffic.
Steve has never used libcap before and is struggling with finding out the correct functions to use.
Steve is trying to pick the default network interface in his script and does not know which function
to use. Which function would he use to correctly choose the default interface in the script?

A.
pcap_open_live

B.
pcap_int_default

C.
pcap_lookupdev

D.
pcap_use_int

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *