Searched refs:if_request (Results 1 – 1 of 1) sorted by relevance
/external/wpa_supplicant_8/src/ap/ |
D | vlan_ioctl.c | 22 struct vlan_ioctl_args if_request; in vlan_rem() local 25 if ((os_strlen(if_name) + 1) > sizeof(if_request.device1)) { in vlan_rem() 37 os_memset(&if_request, 0, sizeof(if_request)); in vlan_rem() 39 os_strlcpy(if_request.device1, if_name, sizeof(if_request.device1)); in vlan_rem() 40 if_request.cmd = DEL_VLAN_CMD; in vlan_rem() 42 if (ioctl(fd, SIOCSIFVLAN, &if_request) < 0) { in vlan_rem() 65 struct vlan_ioctl_args if_request; in vlan_add() local 71 if ((os_strlen(if_name) + 1) > sizeof(if_request.device1)) { in vlan_add() 83 os_memset(&if_request, 0, sizeof(if_request)); in vlan_add() 87 os_snprintf(if_request.device1, sizeof(if_request.device1), "vlan%d", in vlan_add() [all …]
|