Lines Matching defs:cb
231 struct dn_skb_cb *cb = DN_SKB_CB(skb);
254 lp->msgflg = DN_RT_PKT_LONG|(cb->rt_flags&(DN_RT_F_IE|DN_RT_F_RQR|DN_RT_F_RTS));
256 dn_dn2eth(lp->d_id, cb->dst);
258 dn_dn2eth(lp->s_id, cb->src);
260 lp->visit_ct = cb->hops & 0x3f;
277 struct dn_skb_cb *cb = DN_SKB_CB(skb);
298 sp->msgflg = DN_RT_PKT_SHORT|(cb->rt_flags&(DN_RT_F_RQR|DN_RT_F_RTS));
299 sp->dstnode = cb->dst;
300 sp->srcnode = cb->src;
301 sp->forward = cb->hops & 0x3f;
320 struct dn_skb_cb *cb = DN_SKB_CB(skb);
340 sp->msgflg = DN_RT_PKT_SHORT|(cb->rt_flags&(DN_RT_F_RQR|DN_RT_F_RTS));
341 sp->dstnode = cb->dst & dn_htons(0x03ff);
342 sp->srcnode = cb->src & dn_htons(0x03ff);
343 sp->forward = cb->hops & 0x3f;