于 2013年04月10日 16:42, Robert Clove 写道:
Hello All,
There is a field in sk_buff structure name clone which tell
whether the sk_buff structure has been cloned or not?
I want to know at which layer does this clonning happen at
L2,L3 or L4.
any layer when it is needed.
you can check function: net/core/sk_buff.c: skb_clone(), it is
called in drivers, L3(like ip), and L4(like tcp).
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
|
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies