Hi please tell me what is the problem in calling skb->nh.iph->id from inside qdisc_restart() in sch_generic.c?????? I want to identify packet that is dequeued. from here: 77 int qdisc_restart(struct net_device *dev) 78 { 79 struct Qdisc *q = dev->qdisc; 80 struct sk_buff *skb; 81 82 /* Dequeue packet */ 83 if ((skb = q->dequeue(q)) != NULL) { 84 if (spin_trylock(&dev->xmit_lock)) { 85 /* Remember that the driver is grabbed by us. */ 86 dev->xmit_lock_owner = smp_processor_id(); >>>>>>>>>>>>>>>>>> printk("packet id: %d", skb->nh.iph->id); <<<<<<<<<<<<<<<<<<<< During compilation i get: "dereferencing pointer to incomplete type" regards adam - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html