diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-08-20 19:48:05 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-08-20 19:48:05 +0200 |
commit | 1eab5bedb6f024e5512d485ffd81d18d978ef3e3 (patch) | |
tree | b29a78b7bd4593ca5441ba7a4889056e164ae2c8 /src/extra/tcp.c | |
parent | 3c42a36f3f170860b28d47ef028301276b78378b (diff) |
src: update doxygen documentation for new API for libmnl
This patch updates the doxygen documentation for the new API.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/extra/tcp.c')
-rw-r--r-- | src/extra/tcp.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/extra/tcp.c b/src/extra/tcp.c index 2ea0d8a..5318b07 100644 --- a/src/extra/tcp.c +++ b/src/extra/tcp.c @@ -174,6 +174,16 @@ int nfq_tcp_snprintf(char *buf, size_t size, const struct tcphdr *tcph) } EXPORT_SYMBOL(nfq_tcp_snprintf); +/** + * nfq_tcp_mangle_ipv4 - mangle TCP/IPv4 packet buffer + * \param pktb: pointer to network packet buffer + * \param match_offset: offset to content that you want to mangle + * \param match_len: length of the existing content you want to mangle + * \param rep_buffer: pointer to data you want to use to replace current content + * \param rep_len: length of data you want to use to replace current content + * + * \note This function recalculates the IPv4 and TCP checksums for you. + */ int nfq_tcp_mangle_ipv4(struct pkt_buff *pkt, unsigned int match_offset, unsigned int match_len, |