u32 addr = ifa->ifa_address; u32 netmask = ifa->ifa_mask; 
static int uml_inetaddr_event(struct notifier_block *this, unsigned long event,			      void *ptr){	struct in_ifaddr *ifa = ptr;	u32 addr = ifa->ifa_address;	u32 netmask = ifa->ifa_mask;	struct net_device *dev = ifa->ifa_dev->dev;	struct uml_net_private *lp;	void (*proc)(unsigned char *, unsigned char *, void *);	unsigned char addr_buf[4], netmask_buf[4];	if(dev->open != uml_net_open) return(NOTIFY_DONE);	lp = dev->priv;	proc = NULL;	switch (event){	case NETDEV_UP:		proc = lp->add_address;		break;	case NETDEV_DOWN:		proc = lp->delete_address;		break;	}	if(proc != NULL){		addr_buf[0] = addr & 0xff;		addr_buf[1] = (addr >> 8) & 0xff;		addr_buf[2] = (addr >> 16) & 0xff;		addr_buf[3] = addr >> 24;		netmask_buf[0] = netmask & 0xff;		netmask_buf[1] = (netmask >> 8) & 0xff;		netmask_buf[2] = (netmask >> 16) & 0xff;		netmask_buf[3] = netmask >> 24;		(*proc)(addr_buf, netmask_buf, &lp->user);	}	return(NOTIFY_DONE);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/0e76422ca5f34bb43b97c0945646ef072bcc1776/net_kern.c/clean/arch/um/drivers/net_kern.c