Re: Re: Re: changeing sk_buff->data

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

 



  
hello,
        For my kernel project those two fields are required. one of which calculates md5 of data and other uses sequence no. for IP layer packets. So after adding those fileds and compiling kernel how can i check my implemented things?
Parag.

On Tue, 13 Apr 2004 mohanlal jangir wrote :
>
> >    i am not getting those funcions can u little bit elaborate it for me.
>They are defined as inline functions in include/linux/skbuf.h
>
> >  i am confused with structure filed len and data_len.
>The actual data length is len
>
> >    Actually i want to include my 2 own fileds in skbuff struture each of
>which 4 bytes. so i want to know is it feasible for skbuff structure.
>You can always do, but you have to recompile the kernel. In my opnion, you
>need not to add anything. The current structure is enough capable to meet
>your requirements.
>
> > My aim is to add those fileds. can i know the size after add ing these
>field?
>You can use sizeof operator
>
>Regards
>Mohanlal
>
>

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux