typedef void (*udp_callback)(unsigned int src_ip, unsigned short src_port, unsigned short dst_port, void *data, unsigned int length);
-void microudp_start(unsigned char *macaddr, unsigned int ip);
+void microudp_start(const unsigned char *macaddr, unsigned int ip);
int microudp_arp_resolve(unsigned int ip);
void *microudp_get_tx_buffer(void);
int microudp_send(unsigned short src_port, unsigned short dst_port, unsigned int length);
else if(rxbuffer->frame.eth_header.ethertype == ETHERTYPE_IP) process_ip();
}
-void microudp_start(unsigned char *macaddr, unsigned int ip)
+void microudp_start(const unsigned char *macaddr, unsigned int ip)
{
int i;