On Wednesday 2010-09-01 13:48, Nicola Padovano wrote: >ok, Jan! Perfect. > >But there is a last question: i've seen a source code that get a >packet just received from the Net: so -if I understand correctly- it >can't use skb_network_header (IP header) because when i get a packet >just received from the net i should have only the mac_header set. >isn't it? >But, i've seen the usage of skb_network_header... By the time ebtables is run, skb_mac_header is valid, by the time ip/6tables runs, skb_network_header is valid, and once tcp_rcv gets its turn to run (but then there is no more Xtables to do), skb_transport_header becomes valid. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html