Home
last modified time | relevance | path

Searched refs:ddp (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/drivers/net/appletalk/
Dipddp.c117 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()
[all …]
/linux-2.4.37.9/net/appletalk/
Dddp.c1087 unsigned short atalk_checksum(struct ddpehdr *ddp, int len) in atalk_checksum() argument
1090 unsigned char *data = (unsigned char *) ddp; in atalk_checksum()
1370 struct ddpehdr *ddp = (void *) skb->h.raw; in atalk_rcv() local
1378 if (skb->len < sizeof(*ddp)) in atalk_rcv()
1390 *((__u16 *)&ddphv) = ntohs(*((__u16 *)ddp)); in atalk_rcv()
1401 if (skb->len < sizeof(*ddp)) in atalk_rcv()
1408 if (ddp->deh_sum && in atalk_rcv()
1409 atalk_checksum(ddp, ddphv.deh_len) != ddp->deh_sum) in atalk_rcv()
1414 if (!ddp->deh_dnet) /* Net 0 is 'this network' */ in atalk_rcv()
1415 atif = atalk_find_anynet(ddp->deh_dnode, dev); in atalk_rcv()
[all …]
DMakefile12 export-objs = aarp.o ddp.o
14 obj-y := aarp.o ddp.o
Daarp.c546 struct ddpehdr *ddp = (struct ddpehdr *)skb->data; in aarp_send_ddp() local
556 if ((!ddp->deh_snet || at->s_net == ddp->deh_snet) && in aarp_send_ddp()
557 (!ddp->deh_dnet || at->s_net == ddp->deh_dnet)) { in aarp_send_ddp()