On Mon, Sep 30, 2013 at 03:51:51PM +0200, Holger Eitzenberger wrote: > There are currently seven different NAT hooks used in both > nf_conntrack_sip and nf_nat_sip, each of the hooks is exported in > nf_conntrack_sip, then set from the nf_nat_sip NAT helper. Thanks Holger, I wanted to do the same for a long time now. It actually also fixes a minor race condition, when the NAT helper is loaded or unloaded while a packet is processed the hooks may be invoked only partially. Just one request: > +struct nf_nat_sip_hooks { > + unsigned int (* nsh_msg)(struct sk_buff *skb, > + unsigned int protoff, > + unsigned int dataoff, > + const char **dptr, > + unsigned int *datalen); I really hate unpronouncable abbrevations, it hurts my eyes and IMO makes it harder to read the code. Please use something nicer or get rid of the prefix entirely. Thanks! -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html