Skip to contentSkip to conversation

Why skbuff.h different for 2.4 and 2.6 kernels?

DISCUSSION linux lover 1 participant 1 message Apr 12, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

--- Arnaldo Carvalho de Melo <[email protected]>

Quoted 1 line · wrote:

On Apr 11, 2005 10:26 PM, linux lover

Hello,
Sorry if my questions are stupid but again
have one question when skbuff.h is implemeted as

     void *transport_header;
        void *network_header;
        void *link_header;
          
            Then how say ESP packet can be constructed

in network stack. ESP has structure as
New IP header + ESP header + IP header +
TCP/UDP header + ESP trailer + ESP auth. header
Does it then remains only with playing
skbuff by using skb_push and skb_pull in ESP packet processing once skbuff.h will change? Please kindly correct me to understand this. regards,
linux_lover.

Quoted 7 lines · <[email protected]> wrote:
Quoted 2 lines

Hello,
Thanks for reply. Can you please tell me

about

Quoted 3 lines

my second question?
2)But Why header structures for ipcomp, eh,
esp(IPSEC) not included in skbuff.h?

Quoted 8 lines

I thought I have answered this, the reason to have the layer pointers in skb
be void is that skb is core/generic infrastructure, it should not have any kind
of protocol specific structures/information in it.

- Arnaldo

__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/