Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 216 → Rev 217

/shark/trunk/drivers/net/udpip.c
20,11 → 20,11
 
/**
------------
CVS : $Id: udpip.c,v 1.1.1.1 2002-03-29 14:12:50 pj Exp $
CVS : $Id: udpip.c,v 1.2 2003-09-02 16:12:40 giacomo Exp $
 
File: $File$
Revision: $Revision: 1.1.1.1 $
Last update: $Date: 2002-03-29 14:12:50 $
Revision: $Revision: 1.2 $
Last update: $Date: 2003-09-02 16:12:40 $
------------
**/
 
403,7 → 403,7
}
 
/* Receive an UDP packet from a socket */
int udp_recvfrom(int s, char *buff, UDP_ADDR *from)
int udp_recvfrom(int s, void *buff, UDP_ADDR *from)
{
UDP_MSG u;
 
462,7 → 462,7
while (*(int*)bindlist != 0) {
j = arp_req(*bindlist);
arp_sendRequest(j);
bindlist += sizeof(IP_ADDR);
bindlist ++;
}
}
 
470,7 → 470,7
}
 
/* Send an UDP packet */
int udp_sendto(int s, char *buff, int nbytes, UDP_ADDR *to)
int udp_sendto(int s, void *buff, int nbytes, UDP_ADDR *to)
{
void *pkt;
UDP_HEADER *udphd;