From mboxrd@z Thu Jan 1 00:00:00 1970 From: lovelylich@gmail.com (Yi Li) Date: Wed, 10 Apr 2013 17:04:21 +0800 Subject: At which Network Layer In-Reply-To: References: Message-ID: <51652B15.9020600@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org ? 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). > > > Thanks > > > > > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130410/83f80c9d/attachment.html