[libnetfilter_queue] Add doxygen config file.

Eric Leblond netfilter-cvslog-bounces at lists.netfilter.org
Mon Dec 22 12:54:11 CET 2008


Gitweb:		http://git.netfilter.org/cgi-bin/gitweb.cgi?p=libnetfilter_queue.git;a=commit;h=353a017c2930699c08ca98dcc22365dbba4d4def
commit 353a017c2930699c08ca98dcc22365dbba4d4def
Author:     Eric Leblond <eric at inl.fr>
AuthorDate: Mon Dec 22 11:52:51 2008 +0100
Commit:     Eric Leblond <eric at inl.fr>
CommitDate: Mon Dec 22 11:52:51 2008 +0100

    Add doxygen config file.
    
    This patch adds a doxygen configuration file which is generated by
    the configure script.

commit 926142abb52720037245ebabe2636996dc6c859d
Author:     Eric Leblond <eric at inl.fr>
AuthorDate: Thu Dec 18 00:03:52 2008 +0100
Commit:     Eric Leblond <eric at inl.fr>
CommitDate: Fri Dec 19 22:26:49 2008 +0100

    Switch documentation style to doxygen.
    
    This patch modifies the documentation format to switch to doxygen
    format. This leads to a interesting and useful output. An example
    can be found at the following url:
    	http://www.nufw.org/doc/libnetfilter_queue/

commit 6a5baf1b81dc92211ca48cad914f62fa2be7b467
Author:     Eric Leblond <eric at inl.fr>
AuthorDate: Wed Dec 17 16:29:56 2008 +0100
Commit:     Eric Leblond <eric at inl.fr>
CommitDate: Fri Dec 19 22:26:49 2008 +0100

    Suppress double call of nfnl_subsys_close()
    
    nfnl_close() is calling nfnl_subsys_close() for all available
    subsys. Thus it is not necessary to call it in the nfq_close()
    function.
    
    Signed-off-by: Eric Leblond <eric at inl.fr>

commit ae8ce06e13f590f4328b5e08287c0c9c9f47bbc7
Author:     Eric Leblond <eric at inl.fr>
AuthorDate: Wed Dec 17 21:27:58 2008 +0100
Commit:     Eric Leblond <eric at inl.fr>
CommitDate: Fri Dec 19 22:26:39 2008 +0100

    Use nfq_fd function instead of call to nfnetlink function.
    
    This patch modifies the example program to use nfq_fd function
    instead of call to nfnetlink function.
    
    Signed-off-by: Eric Leblond <eric at inl.fr>

commit dc1c5d9a99aa785bb35d60d32512e4bbde75a856
Author:     Eric Leblond <eric at inl.fr>
AuthorDate: Fri Oct 31 13:07:56 2008 +0100
Commit:     Eric Leblond <eric at inl.fr>
CommitDate: Fri Dec 19 22:26:29 2008 +0100

    Change variable name to have an homogeneous naming
    
    This patch modifies a function to have through the file. Data length
    variable was named data_len everywhere but in this function.
    
    Signed-off-by: Eric Leblond <eric at inl.fr>
       via  353a017c2930699c08ca98dcc22365dbba4d4def (commit)
       via  926142abb52720037245ebabe2636996dc6c859d (commit)
       via  6a5baf1b81dc92211ca48cad914f62fa2be7b467 (commit)
       via  ae8ce06e13f590f4328b5e08287c0c9c9f47bbc7 (commit)
       via  dc1c5d9a99aa785bb35d60d32512e4bbde75a856 (commit)
      from  37c6a83e0745268c75ff99544aed9596d6c6b048 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 353a017c2930699c08ca98dcc22365dbba4d4def
Author: Eric Leblond <eric at inl.fr>
Date:   Mon Dec 22 11:52:51 2008 +0100

    Add doxygen config file.
    
    This patch adds a doxygen configuration file which is generated by
    the configure script.

commit 926142abb52720037245ebabe2636996dc6c859d
Author: Eric Leblond <eric at inl.fr>
Date:   Thu Dec 18 00:03:52 2008 +0100

    Switch documentation style to doxygen.
    
    This patch modifies the documentation format to switch to doxygen
    format. This leads to a interesting and useful output. An example
    can be found at the following url:
    	http://www.nufw.org/doc/libnetfilter_queue/

commit 6a5baf1b81dc92211ca48cad914f62fa2be7b467
Author: Eric Leblond <eric at inl.fr>
Date:   Wed Dec 17 16:29:56 2008 +0100

    Suppress double call of nfnl_subsys_close()
    
    nfnl_close() is calling nfnl_subsys_close() for all available
    subsys. Thus it is not necessary to call it in the nfq_close()
    function.
    
    Signed-off-by: Eric Leblond <eric at inl.fr>

commit ae8ce06e13f590f4328b5e08287c0c9c9f47bbc7
Author: Eric Leblond <eric at inl.fr>
Date:   Wed Dec 17 21:27:58 2008 +0100

    Use nfq_fd function instead of call to nfnetlink function.
    
    This patch modifies the example program to use nfq_fd function
    instead of call to nfnetlink function.
    
    Signed-off-by: Eric Leblond <eric at inl.fr>

commit dc1c5d9a99aa785bb35d60d32512e4bbde75a856
Author: Eric Leblond <eric at inl.fr>
Date:   Fri Oct 31 13:07:56 2008 +0100

    Change variable name to have an homogeneous naming
    
    This patch modifies a function to have through the file. Data length
    variable was named data_len everywhere but in this function.
    
    Signed-off-by: Eric Leblond <eric at inl.fr>

-----------------------------------------------------------------------

 configure.in             |    2 +-
 doxygen.cfg.in           | 1356 ++++++++++++++++++++++++++++++++++++++++++++++
 src/libnetfilter_queue.c |  437 +++++++++++-----
 utils/nfqnl_test.c       |    3 +-
 4 files changed, 1667 insertions(+), 131 deletions(-)
 create mode 100644 doxygen.cfg.in
This patch modifies a function to have through the file. Data length
variable was named data_len everywhere but in this function.

Signed-off-by: Eric Leblond <eric at inl.fr>

diff --git a/src/libnetfilter_queue.c b/src/libnetfilter_queue.c
index 5db6fd1..e7fbfcc 100644
--- a/src/libnetfilter_queue.c
+++ b/src/libnetfilter_queue.c
@@ -529,9 +529,9 @@ int nfq_set_verdict(struct nfq_q_handle *qh, u_int32_t id,
  */
 int nfq_set_verdict_mark(struct nfq_q_handle *qh, u_int32_t id,
 		u_int32_t verdict, u_int32_t mark,
-		u_int32_t datalen, unsigned char *buf)
+		u_int32_t data_len, unsigned char *buf)
 {
-	return __set_verdict(qh, id, verdict, mark, 1, datalen, buf);
+	return __set_verdict(qh, id, verdict, mark, 1, data_len, buf);
 }
 
 /*************************************************************



More information about the netfilter-cvslog mailing list