Socket Filter

sk_filter — run a packet through a socket filter
bpf_check_classic — verify socket filter code
bpf_prog_create — create an unattached filter
sk_attach_filter — attach a socket filter