Update Netfilter log functions to take a struct sock parameter.