Lines Matching refs:ddp
122 struct ddpehdr *ddp; in ipddp_xmit() local
155 ddp = (struct ddpehdr *)skb->data; in ipddp_xmit()
156 ddp->deh_len_hops = htons(skb->len + (1<<10)); in ipddp_xmit()
157 ddp->deh_sum = 0; in ipddp_xmit()
165 ddp->deh_dnet = 0; /* FIXME more hops?? */ in ipddp_xmit()
166 ddp->deh_snet = 0; in ipddp_xmit()
170 ddp->deh_dnet = rt->at.s_net; /* FIXME more hops?? */ in ipddp_xmit()
171 ddp->deh_snet = our_addr->s_net; in ipddp_xmit()
173 ddp->deh_dnode = rt->at.s_node; in ipddp_xmit()
174 ddp->deh_snode = our_addr->s_node; in ipddp_xmit()
175 ddp->deh_dport = 72; in ipddp_xmit()
176 ddp->deh_sport = 72; in ipddp_xmit()
178 *((__u8 *)(ddp+1)) = 22; /* ddp type = IP */ in ipddp_xmit()