Home
last modified time | relevance | path

Searched refs:netmask (Results 1 – 9 of 9) sorted by relevance

/arch/um/os-Linux/drivers/
Dethertap_user.c33 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 …]
Dtuntap_user.c28 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/
Dnet_user.c207 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()
Dpcap_user.c38 __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()
Dslip_user.c222 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()
Dnet_kern.c856 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/
Dnet_user.h46 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/
Dlasat.h72 unsigned int netmask; member
97 unsigned int netmask; member
/arch/mips/lasat/
Dsysctl.c218 .data = &lasat_board_info.li_eeprom_info.netmask,