• Yi-Hung Wei's avatar
    netfilter: Export nf_ct_{set,destroy}_timeout() · 717700d1
    Yi-Hung Wei authored
    This patch exports nf_ct_set_timeout() and nf_ct_destroy_timeout().
    The two functions are derived from xt_ct_destroy_timeout() and
    xt_ct_set_timeout() in xt_CT.c, and moved to nf_conntrack_timeout.c
    without any functional change.
    It would be useful for other users (i.e. OVS) that utilizes the
    finer-grain conntrack timeout feature.
    
    CC: Pablo Neira Ayuso <pablo@netfilter.org>
    CC: Pravin Shelar <pshelar@ovn.org>
    Signed-off-by: default avatarYi-Hung Wei <yihung.wei@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    717700d1
nf_conntrack_timeout.h 2.85 KB