Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nfq: remove libipq.h | Pablo Neira Ayuso | 2010-07-11 | 2 | -97/+1 |
| | | | | | | | | | In 224df57de4479d65d4fec3eeaa8b1a4d63b8213f, we forgot to remove libipq.h that was introduced to add backward compatibility for libipq (which was never completed and now everybody should be using libnetfilter_queue instead). Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | add nfq_snprintf_xml() to output a packet in XML format | Pablo Neira Ayuso | 2010-06-13 | 1 | -0/+12 |
| | | | | | | This patch adds a new function to output the packet in XML format. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | payload buffer datatypes are consistent | David Fabro | 2010-06-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | The 'data' parameter to nfq_get_payload() returns pointer to unsigned char (rather than signed char) to make it consistent with the 'buf' parameter of nfq_set_verdict(), nfq_set_verdict2(), and nfq_set_verdict_mark(), all of which refer to the same data. Either signed or unsigned is fine, but they should be consistent as the output of nfq_get_payload() may be passed back into nfq_set_verdict*(); in that case, this change eliminates the need for typecasting in the calling code when using compilers that enforce strict typecasting. Signed-off-by: David Favro <netfilter@meta-dynamic.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | non-modified payload arguments are pointer-to-const | David Fabro | 2010-06-10 | 1 | -3/+3 |
| | | | | | | | | | | | | | | The payload parameters to nfq_set_verdict(), nfq_set_verdict2(), and nfq_set_verdict_mark() are not modified by those functions, and therefore should have datatype pointer-to-const. This both causes the source-code to more effectively represent what is the purpose of the parameter, and eliminates the need to cast away const-ness when calling the functions with compilers that enforce strict casting. All existing calling code should not need modification as pointer-to-X automatically converts to pointer-to-const-X. Signed-off-by: David Favro <netfilter@meta-dynamic.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | nfq: deprecate nfq_set_verdict_mark() in favour of nfq_set_verdict2() | Pablo Neira Ayuso | 2010-05-09 | 1 | -6/+14 |
| | | | | | | | | | | | | This patch deprecates nfq_set_verdict_mark() in favour of nfq_set_verdict2() which does exactly the same but it also convert the mark value from host-byte order to network-byte order as expected by nfnetlink_queue. I know, this is hackish, but I prefer adding new functions instead of API versioning which is also ugly. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | libnfq: mark functions as extern C | Jan Engelhardt | 2008-06-24 | 2 | -1/+15 |
| | | | | | | | | | | mark functions as extern C This is needed when #included from C++. Reported-by: Simon <turner25@gmail.com> Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net> | ||||
* | remove linux/types.h include | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org | 2007-06-13 | 1 | -1/+0 |
| | |||||
* | interface index to name API (Eric Leblond) | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org | 2007-01-31 | 1 | -0/+9 |
| | |||||
* | Add patch to set max. queue length (Eric Leblond) | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org | 2006-11-13 | 2 | -3/+7 |
| | |||||
* | Introduce various API changes throughout the library stack | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org | 2006-01-14 | 1 | -0/+1 |
| | | | | | | | | | | | 1) make libnfnetlink dynamically allocate it's handles 2) apply that change throughout libnetfilter_* 3) add {nfq,nflog,nfct}_open_nfnl() functions that open the specific subsystem on top of an existing nfnl_handle, which is required for upcoming libnetfilter_conntrack_helper The changes break ABI and API compatibility of libnfnetlink, but don't break ABI or API compatibility of the libnetfilter_* libraries. | ||||
* | - don't install test program | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org | 2005-11-11 | 3 | -3/+96 |
| | | | | | - use local copy of nfnetlink_queue header - bump version number to 0.0.11 | ||||
* | fix nfq_get_timestamp() to use struct timeval and be endian correct | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org | 2005-11-06 | 1 | -2/+1 |
| | |||||
* | get rid of superfluous 'datalength' parameter of nfq_get_payload() function | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org | 2005-11-05 | 1 | -3/+2 |
| | |||||
* | rename all data types and functions to get rid of 'nl' (== netlink) part in ↵ | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org | 2005-11-05 | 2 | -31/+31 |
| | | | | prefix | ||||
* | abstract 'nfattr' in 'nfnl_q_data' | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org | 2005-11-05 | 1 | -10/+11 |
| | |||||
* | rename files correctly (Eric Leblond) | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org | 2005-10-26 | 1 | -0/+0 |
| | |||||
* | rename libnfnetlink_queue to libnetfilter_queue | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org | 2005-10-09 | 5 | -4/+4 |
| | |||||
* | fix include order | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org | 2005-09-23 | 1 | -1/+2 |
| | |||||
* | use new accessor functions (Eric Leblond, Harald Welte) | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org | 2005-09-23 | 1 | -1/+31 |
| | |||||
* | sync with all 'upstream' changes in libnfnetlink_log | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org | 2005-08-07 | 2 | -31/+26 |
| | |||||
* | build fixes following restructuring | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org | 2005-07-30 | 1 | -1/+1 |
| | |||||
* | directory restructuring | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org | 2005-07-30 | 4 | -0/+155 |