Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | extra: pktbuff: pktb_expand_tail return 0 if there is no room in the tail | Pablo Neira Ayuso | 2012-08-20 | 1 | -3/+9 |
| | | | | | | | | | | | | pktb_expand_tail returns 0 if there is no room for the mangling. Note that we don't support dynamic reallocation, instead the caller is responsible for allocating the extra room via pktb_alloc according to the maximum amount of bytes it needs for the mangling. Since pkt_buff layout is not exposed, we can change this in the future if we prefer dynamic reallocation. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | add mangle functions for IPv4/TCP and IPv4/UDP | Pablo Neira Ayuso | 2012-08-06 | 1 | -0/+62 |
| | | | | Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | add pkt_buff and protocol helper functions | Pablo Neira Ayuso | 2012-08-06 | 1 | -0/+142 |
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |