[LARTC] Is negative offset possible in u32 ?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Eric Leblond wrote:
>
>>Has somebody realyy manage to use the examples given when using negative
>>offset in u32 ?
>
>
> Decimal Ofs	Description
> -----------------------------------
> -14:		DST MAC, 6 bytes
> -8:		SRC MAC, 6 bytes
> -2:		Eth PROTO, 2 bytes, eg. ETH_P_IP
> 0:		Protocol header (IP Header)

Yes I try these one. But I was unable to get them working.
So I look at the kernel code and find that's it is (for me) impossible to
access these fields

BR
-- 
Eric Leblond
courriel : eric@regit.org
Computer are like air conditionners, they don't work when windows are open.



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux