Lines Matching refs:ddp
117 struct ddpehdr *ddp; in ipddp_xmit() local
143 ddp = (struct ddpehdr *)skb->data; in ipddp_xmit()
144 ddp->deh_len = skb->len; in ipddp_xmit()
145 ddp->deh_hops = 1; in ipddp_xmit()
146 ddp->deh_pad = 0; in ipddp_xmit()
147 ddp->deh_sum = 0; in ipddp_xmit()
155 ddp->deh_dnet = 0; /* FIXME more hops?? */ in ipddp_xmit()
156 ddp->deh_snet = 0; in ipddp_xmit()
160 ddp->deh_dnet = rt->at.s_net; /* FIXME more hops?? */ in ipddp_xmit()
161 ddp->deh_snet = our_addr->s_net; in ipddp_xmit()
163 ddp->deh_dnode = rt->at.s_node; in ipddp_xmit()
164 ddp->deh_snode = our_addr->s_node; in ipddp_xmit()
165 ddp->deh_dport = 72; in ipddp_xmit()
166 ddp->deh_sport = 72; in ipddp_xmit()
168 *((__u8 *)(ddp+1)) = 22; /* ddp type = IP */ in ipddp_xmit()
169 *((__u16 *)ddp)=ntohs(*((__u16 *)ddp)); /* fix up length field */ in ipddp_xmit()