Lines Matching refs:netmask
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
236 etap_close_addr(addr, netmask, &pri->control_fd); in etap_del_addr()