Home
last modified time | relevance | path

Searched refs:if_request (Results 1 – 2 of 2) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dvlan_ioctl.c22 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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dvlan_ioctl.c22 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 …]