Lines Matching refs:vlan_id
39 int line = 0, vlan_id; in hostapd_config_read_vlan_file() local
65 vlan_id = VLAN_ID_WILDCARD; in hostapd_config_read_vlan_file()
68 vlan_id = strtol(buf, &pos, 10); in hostapd_config_read_vlan_file()
69 if (buf == pos || vlan_id < 1 || in hostapd_config_read_vlan_file()
70 vlan_id > MAX_VLAN_ID) { in hostapd_config_read_vlan_file()
99 vlan->vlan_id = vlan_id; in hostapd_config_read_vlan_file()
100 vlan->vlan_desc.untagged = vlan_id; in hostapd_config_read_vlan_file()
101 vlan->vlan_desc.notempty = !!vlan_id; in hostapd_config_read_vlan_file()
130 int vlan_id; in hostapd_config_read_maclist() local
181 vlan_id = 0; in hostapd_config_read_maclist()
188 vlan_id = atoi(pos); in hostapd_config_read_maclist()
199 os_memset(&(*acl)[*num].vlan_id, 0, in hostapd_config_read_maclist()
200 sizeof((*acl)[*num].vlan_id)); in hostapd_config_read_maclist()
201 (*acl)[*num].vlan_id.untagged = vlan_id; in hostapd_config_read_maclist()
202 (*acl)[*num].vlan_id.notempty = !!vlan_id; in hostapd_config_read_maclist()