Need by newer ulogd v2. Signed-off-by: Holger Eitzenberger <holger@xxxxxxxxxxxxxxxx> Index: libnetfilter-conntrack/include/libnetfilter_conntrack/libnetfilter_conntrack.h =================================================================== --- libnetfilter-conntrack.orig/include/libnetfilter_conntrack/libnetfilter_conntrack.h +++ libnetfilter-conntrack/include/libnetfilter_conntrack/libnetfilter_conntrack.h @@ -44,6 +44,12 @@ extern int nfct_close(struct nfct_handle extern int nfct_fd(struct nfct_handle *cth); extern const struct nfnl_handle *nfct_nfnlh(struct nfct_handle *cth); +/* + * Subsys accessors + */ +extern struct nfnl_subsys_handle *nfct_subsys_ct(const struct nfct_handle *); +extern struct nfnl_subsys_handle *nfct_subsys_exp(const struct nfct_handle *); + /* * NEW libnetfilter_conntrack API */ Index: libnetfilter-conntrack/src/main.c =================================================================== --- libnetfilter-conntrack.orig/src/main.c +++ libnetfilter-conntrack/src/main.c @@ -109,3 +109,18 @@ const struct nfnl_handle *nfct_nfnlh(str { return cth->nfnlh; } + +/* + * Subsystem accessors + */ +struct nfnl_subsys_handle * +nfct_subsys_ct(const struct nfct_handle *cth) +{ + return cth->nfnlssh_ct; +} + +struct nfnl_subsys_handle * +nfct_subsys_exp(const struct nfct_handle *cth) +{ + return cth->nfnlssh_exp; +} -- Holger Eitzenberger <heitzenberger@xxxxxxxxxx> | Kernel Developer Astaro AG | www.astaro.com | Phone +49-721-490069-33 | Fax -55 - 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