address[0] = in->ifa_address & 0xff; address[1] = (in->ifa_address >> 8) & 0xff; address[2] = (in->ifa_address >> 16) & 0xff; address[3] = in->ifa_address >> 24; netmask[0] = in->ifa_mask & 0xff; netmask[1] = (in->ifa_mask >> 8) & 0xff; netmask[2] = (in->ifa_mask >> 16) & 0xff; netmask[3] = in->ifa_mask >> 24; 
memcpy(address, &in->ifa_address, sizeof(address)); memcpy(netmask, &in->ifa_mask, sizeof(netmask)); 
void iter_addresses(void *d, void (*cb)(unsigned char *, unsigned char *, 					void *), 		    void *arg){	struct net_device *dev = d;	struct in_device *ip = dev->ip_ptr;	struct in_ifaddr *in;	unsigned char address[4], netmask[4];	if(ip == NULL) return;	in = ip->ifa_list;	while(in != NULL){		address[0] = in->ifa_address & 0xff;		address[1] = (in->ifa_address >> 8) & 0xff;		address[2] = (in->ifa_address >> 16) & 0xff;		address[3] = in->ifa_address >> 24;		netmask[0] = in->ifa_mask & 0xff;		netmask[1] = (in->ifa_mask >> 8) & 0xff;		netmask[2] = (in->ifa_mask >> 16) & 0xff;		netmask[3] = in->ifa_mask >> 24;		(*cb)(address, netmask, arg);		in = in->ifa_next;	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/0e76422ca5f34bb43b97c0945646ef072bcc1776/net_kern.c/clean/arch/um/drivers/net_kern.c