Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix panic in ng_patch(4) caused by checksum flags being added to mbuf flags. | melifaro | 2012-04-22 | 1 | -1/+1 |
| | | | | | | | Tested by: Maxim Ignatenko <gelraen.ua@gmail.com> Approved by: kib(mentor) MFC after: 3 days | ||||
* | Use M_WAITOK flag instead M_WAIT for malloc. | ae | 2011-04-18 | 1 | -5/+6 |
| | | | | | Suggested by: glebius MFC after: 1 week | ||||
* | * Include sys/systm.h for KASSERT() | ae | 2010-06-15 | 1 | -6/+3 |
| | | | | | | | | * Remove unneeded includes and comment * Replace home made OFFSETOF() macro with standard offsetof() Pointed out by: bde Approved by: kib (mentor) | ||||
* | Style(9) fixes: | ae | 2010-06-10 | 1 | -31/+43 |
| | | | | | | | | | | | * Sort includes * Replace #define<SPACE> to #define<TAB> * Split declarations and initializations * Split long lines Requested by: kib Approved by: kib (mentor) MFC after: 1 month | ||||
* | New netgraph node ng_patch(4). It performs data modification of packets | ae | 2010-06-09 | 1 | -0/+566 |
passing through. Modifications are restricted to a subset of C language operations on unsigned integers of 8, 16, 32 or 64 bit size. These are: set to new value (=), addition (+=), subtraction (-=), multiplication (*=), division (/=), negation (= -), bitwise AND (&=), bitwise OR (|=), bitwise eXclusive OR (^=), shift left (<<=), shift right (>>=). Several operations are all applied to a packet sequentially in order they were specified by user. Submitted by: Maxim Ignatenko <gelraen.ua at gmail.com> Vadim Goncharov <vadimnuclight at tpu.ru> Discussed with: net@ Approved by: mav (mentor) MFC after: 1 month |