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)
The content of this topic has been archived on 11 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
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)
The discussion might have continued from here.