Re: Tracking packets generated from individual socket.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 2011-07-06 10:09, Borgert van der Kluit wrote:

>So i tried to use the mark field in the sk_buff structure. This is to
>my surprise also not set even if i mark all packets.
>
>I use the TUN/TAP driver to test this setup and added a printk in
>function tun_net_xmit

Your tun program creates new skbs, which naturally start out with 
mark=0.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux