Thread (12 messages) flat view 12 messages, 2 authors, 2011-07-07

Re: [PATCH v2 net-next af-packet 1/2] Enhance af-packet to provide (near zero)lossless packet capture functionality.

From: David Miller <davem@davemloft.net>
Date: 2011-07-05 15:01:42
Also in: lkml

From: chetan loke <redacted>
Date: Tue, 5 Jul 2011 10:53:26 -0400
quoted
Next, having this overlay thing is entirely pointless.  Just refer to
It is useful.
Also, future versions of the block-descriptor can append a new field.
When that happens,
none of the code needs to worry about the version etc for the unchanged fields.
That issue only exists because you haven't defined a common header
struct that the current, and all future, block descriptor variants can
include at the start of their definitions.

I still contend that all of these abstractions are too much and
unnecessary.

Use real data structures, not opaque "offset+size" poking into the
descriptors.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help