[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTinTd5FjJ-6WeAGwintAS9aHdFYnS7--TLMSDEkn@mail.gmail.com>
Date: Tue, 5 Oct 2010 08:11:09 +0200
From: Nicola Padovano <nicola.padovano@...il.com>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: netfilter-devel <netfilter-devel@...r.kernel.org>,
netdev@...r.kernel.org
Subject: Re: checkentry function
>
> Negative (ie < 0) is used for error numbers. This is confusing
> because in older kernels the checkentry returned a bool which
> is defined as 1 okay and 0 for error.
>
ok i see.
and why i have this output?
DEBUG: the tablename (not FILTER) is: �%H �
I want block my target if the table name is NOT filter...so i write:
[CODE]
...
if (strcmp(tablename, "filter")) {
printk(KERN_INFO "DEBUG: the tablename (not FILTER) is %s\n",tablename);
return ERROR_VALUE; // < 0
}
[/CODE]
but in the tablename variable i haven't the table's right value (but i
have: �%H � a wrong value)...what's the problem?
--
Nicola Padovano
e-mail: nicola.padovano@...il.com
web: http://npadovano.altervista.org
"My only ambition is not be anything at all; it seems the most
sensible thing" (C. Bukowski)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists