hi, i want to dispaly the field nfmark of the struct net_device after  marked it withe iptables:

iptbles -i mangle -A PREROUTING  -p  icmp  -j MARK --set-mark 5

i whrit : printk("%u", skb->nfmark);

thank you.

(Last edited by rufa on 5 Jun 2009, 01:48)