<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">于 2013年04月10日 16:42, Robert Clove 写道:<br>
</div>
<blockquote
cite="mid:CAEMktPX7iX-V7X3qWE+gWGGG6kurveogjVw9MA1DT3Lb+9UajQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>Hello All,<br>
<br>
</div>
There is a field in sk_buff structure name clone which tell
whether the sk_buff structure has been cloned or not?<br>
<br>
</div>
I want to know at which layer does this clonning happen at
L2,L3 or L4.<br>
</div>
</div>
</blockquote>
any layer when it is needed.<br>
you can check function: net/core/sk_buff.c: skb_clone(), it is
called in drivers, L3(like ip), and L4(like tcp).<br>
<blockquote
cite="mid:CAEMktPX7iX-V7X3qWE+gWGGG6kurveogjVw9MA1DT3Lb+9UajQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<br>
<br>
</div>
Thanks<br>
<br>
<div>
<div><br>
<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kernelnewbies mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a>
<a class="moz-txt-link-freetext" href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a>
</pre>
</blockquote>
<br>
</body>
</html>