Newbie questions

From: Gabor Fekete
Date: Wed Apr 14 2004 - 13:27:32 EST


Hi!

First of all I'm a complete beginner in the kernel.

I have a few questions:
1. What are data_len and len in sk_buff, how are they used?

I realized that len is changing constantly as the packet
travels between the layers.

2. What is the difference between frag_list and frags[]?
What is each?
struct skb_shared_info {
atomic_t dataref;
unsigned int nr_frags;
unsigned short tso_size;
unsigned short tso_segs;
struct sk_buff *frag_list;
skb_frag_t frags[MAX_SKB_FRAGS];
};

Thanks!

Gabor Fekete
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html