diff options
author | Guy Harris <gharris@sonic.net> | 2022-04-13 16:00:24 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2022-04-13 16:00:24 -0700 |
commit | 0035db9167474bfdfc4164e3aff3846b356e6d16 (patch) | |
tree | 6c5d022a1081400b80c4e891ce97a2f81d66cf92 /testprogs/pcap_compile_test.c | |
parent | 9acf73261029ec21eb13c0b192a45fad00d7737e (diff) |
linux: rename a routine to make its function clearer.
Its function is to set up the socket for capture, so call it
setup_socket(). "pf_packet" in "activate_pf_packet()" iss redundant, as
the only type of socket we now support is PF_PACKET (we dropped support
for systems without PF_PACKET sockets a while ago), and it doesn't do a
full activation, it just does some socket setup.
Diffstat (limited to 'testprogs/pcap_compile_test.c')
0 files changed, 0 insertions, 0 deletions