]> The Tcpdump Group git mirrors - libpcap/commit
Don't put bpf_filter_with_aux_data() in a public header file.
authorGuy Harris <[email protected]>
Sat, 1 Sep 2018 02:53:01 +0000 (19:53 -0700)
committerGuy Harris <[email protected]>
Sat, 1 Sep 2018 02:53:17 +0000 (19:53 -0700)
commit225af6c3e8ca2fc63f20761db87af801b83d26da
treecf3c43baaac4367522768432c9ade4b6900caa4d
parenta69f42f7873db778613bbd5c4238acc2d0c31c89
Don't put bpf_filter_with_aux_data() in a public header file.

Don't put struct bpf_aux_data there, either.

bpf_filter_with_aux_data() is an internal-only routine, and struct
bpf_aux_data is a data structure subject to change in the future; don't
make them public, so that we *can* change it in the future without
having to worry about breaking APIs or ABIs.

(Note to any upstream packager of libpcap: if you've made it public,
so that it's exported by a shared libary, that was a mistake, so undo
it.)
bpf_filter.c
pcap-int.h
pcap/bpf.h