netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Leblond <eric@inl.fr>
To: netfilter-devel@vger.kernel.org
Cc: Eric Leblond <eric@inl.fr>
Subject: [libnetfilter_queue 1/4] Change variable name to have an homogeneous naming
Date: Fri, 19 Dec 2008 22:36:28 +0100	[thread overview]
Message-ID: <1229722591-7836-2-git-send-email-eric@inl.fr> (raw)
In-Reply-To: <1229722591-7836-1-git-send-email-eric@inl.fr>

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@inl.fr>
---
 src/libnetfilter_queue.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

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);
 }
 
 /*************************************************************
-- 
1.5.6.3


  reply	other threads:[~2008-12-19 21:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-19 21:36 [libnetfilter_queue 0/4] misc code cleaning and documentation Eric Leblond
2008-12-19 21:36 ` Eric Leblond [this message]
2008-12-19 21:36 ` [libnetfilter_queue 2/4] Use nfq_fd function instead of call to nfnetlink function Eric Leblond
2008-12-19 21:36 ` [libnetfilter_queue 3/4] Suppress double call of nfnl_subsys_close() Eric Leblond
2008-12-19 21:36 ` [libnetfilter_queue 4/4] Switch documentation style to doxygen Eric Leblond
2008-12-22 10:45   ` Pablo Neira Ayuso
2008-12-22 10:55     ` Eric Leblond
2008-12-22 10:59       ` [libnetfilter_queue] Add doxygen config file Eric Leblond
2008-12-22 11:41         ` Pablo Neira Ayuso
2008-12-22 12:56           ` Eric Leblond
2008-12-22 12:32       ` [libnetfilter_queue 4/4] Switch documentation style to doxygen Pablo Neira Ayuso
2008-12-22 13:50     ` Jan Engelhardt
2008-12-22 22:02       ` Pablo Neira Ayuso
2008-12-22 22:08         ` Jan Engelhardt
2008-12-22 10:48 ` [libnetfilter_queue 0/4] misc code cleaning and documentation Pablo Neira Ayuso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1229722591-7836-2-git-send-email-eric@inl.fr \
    --to=eric@inl.fr \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).