[Click] Alignment info for custom element

Roberto Riggio roberto.riggio at create-net.org
Tue Nov 9 13:56:15 EST 2010


Hi,

which is the right approach (if any) to handle the alignment info (in 
the click_align tool)
for an element which pulls a variable number of bytes from a packet. The 
amount of bytes
is contained in the header itself.

I was thinking about putting a classifier element before the custom 
element (and then handle
the alignment for each case), but this solution does not look very elegant.

Any idea
R.


More information about the click mailing list