X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Flibiptc%2Flibip6tc.h;h=9253e11fa32bd5d569e88930f5e1f3a4ba3dba5d;hb=2e12aac;hp=103267b7007e22edff845732ab0d292ed2688ce3;hpb=b48454eddeaa6d8e0edb9547190cfc509d8abeb4;p=collectd.git diff --git a/src/libiptc/libip6tc.h b/src/libiptc/libip6tc.h index 103267b7..9253e11f 100644 --- a/src/libiptc/libip6tc.h +++ b/src/libiptc/libip6tc.h @@ -162,7 +162,7 @@ int ip6tc_set_counter(const ip6t_chainlabel chain, int ip6tc_commit(ip6tc_handle_t *handle); /* Get raw socket. */ -int ip6tc_get_raw_socket(); +int ip6tc_get_raw_socket(void); /* Translates errno numbers into more human-readable form than strerror. */ const char *ip6tc_strerror(int err); @@ -170,4 +170,6 @@ const char *ip6tc_strerror(int err); /* Return prefix length, or -1 if not contiguous */ int ipv6_prefix_length(const struct in6_addr *a); +extern void dump_entries6(const ip6tc_handle_t); + #endif /* _LIBIP6TC_H */