summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/nf-queue.c2
-rw-r--r--src/libnetfilter_queue.c13
2 files changed, 7 insertions, 8 deletions
diff --git a/examples/nf-queue.c b/examples/nf-queue.c
index 8b4b63d..4d56751 100644
--- a/examples/nf-queue.c
+++ b/examples/nf-queue.c
@@ -143,8 +143,6 @@ int main(int argc, char *argv[])
exit(EXIT_FAILURE);
}
while (ret > 0) {
- uint32_t id;
-
ret = mnl_cb_run(buf, ret, 0, portid, queue_cb, NULL);
if (ret < 0){
perror("mnl_cb_run");
diff --git a/src/libnetfilter_queue.c b/src/libnetfilter_queue.c
index dcfc36d..7a60b71 100644
--- a/src/libnetfilter_queue.c
+++ b/src/libnetfilter_queue.c
@@ -63,7 +63,8 @@
* \section Using libnetfilter_queue
*
* To write your own program using libnetfilter_queue, you should start by reading
- * the doxygen documentation (start by \link LibrarySetup \endlink page) and nfqnl_test.c source file.
+ * the doxygen documentation (start by \link LibrarySetup \endlink page) and
+ * nf-queue.c source file.
*
* \section errors ENOBUFS errors in recv()
*
@@ -204,7 +205,7 @@ struct nfnl_handle *nfq_nfnlh(struct nfq_handle *h)
/**
*
- * \defgroup Queue Queue handling
+ * \defgroup Queue Queue handling [DEPRECATED]
*
* Once libnetfilter_queue library has been initialised (See
* \link LibrarySetup \endlink), it is possible to bind the program to a
@@ -282,7 +283,7 @@ int nfq_fd(struct nfq_handle *h)
*/
/**
- * \defgroup LibrarySetup Library setup
+ * \defgroup LibrarySetup Library setup [DEPRECATED]
*
* Library initialisation is made in two steps.
*
@@ -849,7 +850,7 @@ int nfq_set_verdict_mark(struct nfq_q_handle *qh, u_int32_t id,
*************************************************************/
/**
- * \defgroup Parsing Message parsing functions
+ * \defgroup Parsing Message parsing functions [DEPRECATED]
* @{
*/
@@ -860,7 +861,7 @@ int nfq_set_verdict_mark(struct nfq_q_handle *qh, u_int32_t id,
* \return the netfilter queue netlink packet header for the given
* nfq_data argument. Typically, the nfq_data value is passed as the 3rd
* parameter to the callback function set by a call to nfq_create_queue().
- *
+ *
* The nfqnl_msg_packet_hdr structure is defined in libnetfilter_queue.h as:
*
* \verbatim
@@ -1135,7 +1136,7 @@ do { \
} while (0)
/**
- * \defgroup Printing
+ * \defgroup Printing Printing [DEPRECATED]
* @{
*/