/arch/um/os-Linux/drivers/ |
D | ethertap_user.c | 33 unsigned char netmask[4]; member 36 static void etap_change(int op, unsigned char *addr, unsigned char *netmask, in etap_change() argument 45 memcpy(change.netmask, netmask, sizeof(change.netmask)); in etap_change() 64 static void etap_open_addr(unsigned char *addr, unsigned char *netmask, in etap_open_addr() argument 67 etap_change(ADD_ADDR, addr, netmask, *((int *) arg)); in etap_open_addr() 70 static void etap_close_addr(unsigned char *addr, unsigned char *netmask, in etap_close_addr() argument 73 etap_change(DEL_ADDR, addr, netmask, *((int *) arg)); in etap_close_addr() 217 static void etap_add_addr(unsigned char *addr, unsigned char *netmask, in etap_add_addr() argument 225 etap_open_addr(addr, netmask, &pri->control_fd); in etap_add_addr() 228 static void etap_del_addr(unsigned char *addr, unsigned char *netmask, in etap_del_addr() argument [all …]
|
D | tuntap_user.c | 28 static void tuntap_add_addr(unsigned char *addr, unsigned char *netmask, in tuntap_add_addr() argument 36 open_addr(addr, netmask, pri->dev_name); in tuntap_add_addr() 39 static void tuntap_del_addr(unsigned char *addr, unsigned char *netmask, in tuntap_del_addr() argument 46 close_addr(addr, netmask, pri->dev_name); in tuntap_del_addr()
|
/arch/um/drivers/ |
D | net_user.c | 207 unsigned char *netmask) in change() argument 219 sprintf(netmask_buf, "%d.%d.%d.%d", netmask[0], netmask[1], in change() 220 netmask[2], netmask[3]); in change() 240 void open_addr(unsigned char *addr, unsigned char *netmask, void *arg) in open_addr() argument 242 change(arg, "add", addr, netmask); in open_addr() 245 void close_addr(unsigned char *addr, unsigned char *netmask, void *arg) in close_addr() argument 247 change(arg, "del", addr, netmask); in close_addr()
|
D | pcap_user.c | 38 __u32 netmask; in pcap_open() local 45 err = dev_netmask(pri->dev, &netmask); in pcap_open() 60 pri->filter, pri->optimize, netmask); in pcap_open()
|
D | slip_user.c | 222 static void slip_add_addr(unsigned char *addr, unsigned char *netmask, in slip_add_addr() argument 229 open_addr(addr, netmask, pri->name); in slip_add_addr() 232 static void slip_del_addr(unsigned char *addr, unsigned char *netmask, in slip_del_addr() argument 239 close_addr(addr, netmask, pri->name); in slip_del_addr()
|
D | net_kern.c | 856 unsigned char address[4], netmask[4]; in iter_addresses() local 862 memcpy(netmask, &in->ifa_mask, sizeof(netmask)); in iter_addresses() 863 (*cb)(address, netmask, arg); in iter_addresses()
|
/arch/um/include/shared/ |
D | net_user.h | 46 extern void open_addr(unsigned char *addr, unsigned char *netmask, void *arg); 47 extern void close_addr(unsigned char *addr, unsigned char *netmask, void *arg);
|
/arch/mips/include/asm/lasat/ |
D | lasat.h | 72 unsigned int netmask; member 97 unsigned int netmask; member
|
/arch/mips/lasat/ |
D | sysctl.c | 218 .data = &lasat_board_info.li_eeprom_info.netmask,
|