dispaly the field nfmak of sruct net_device.

Submitted by rufa
on June 4, 2009 - 5:57pm

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.

don't

strcmp
on
June 12, 2009 - 2:45pm

don't drink and post. you might get double vision (or cross post). and no-one might understand you.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.