Match.Path, config_parse_match_strv, 0, offsetof(Network, match.path)
Match.Driver, config_parse_match_strv, 0, offsetof(Network, match.driver)
Match.Type, config_parse_match_strv, 0, offsetof(Network, match.iftype)
-Match.WLANInterfaceType, config_parse_match_strv, 0, offsetof(Network, match.wifi_iftype)
+Match.WLANInterfaceType, config_parse_match_strv, 0, offsetof(Network, match.wlan_iftype)
Match.SSID, config_parse_match_strv, 0, offsetof(Network, match.ssid)
Match.BSSID, config_parse_hwaddrs, 0, offsetof(Network, match.bssid)
Match.Name, config_parse_match_ifnames, IFNAME_VALID_ALTERNATIVE, offsetof(Network, match.ifname)
match->iftype = strv_free(match->iftype);
match->ifname = strv_free(match->ifname);
match->property = strv_free(match->property);
- match->wifi_iftype = strv_free(match->wifi_iftype);
+ match->wlan_iftype = strv_free(match->wlan_iftype);
match->ssid = strv_free(match->ssid);
match->bssid = set_free_free(match->bssid);
}
strv_isempty(match->iftype) &&
strv_isempty(match->ifname) &&
strv_isempty(match->property) &&
- strv_isempty(match->wifi_iftype) &&
+ strv_isempty(match->wlan_iftype) &&
strv_isempty(match->ssid) &&
set_isempty(match->bssid);
}
unsigned short iftype,
const char *ifname,
char * const *alternative_names,
- enum nl80211_iftype wifi_iftype,
+ enum nl80211_iftype wlan_iftype,
const char *ssid,
const struct ether_addr *bssid) {
if (!net_condition_test_property(match->property, device))
return false;
- if (!net_condition_test_strv(match->wifi_iftype, nl80211_iftype_to_string(wifi_iftype)))
+ if (!net_condition_test_strv(match->wlan_iftype, nl80211_iftype_to_string(wlan_iftype)))
return false;
if (!net_condition_test_strv(match->ssid, ssid))
char **iftype;
char **ifname;
char **property;
- char **wifi_iftype;
+ char **wlan_iftype;
char **ssid;
Set *bssid;
} NetMatch;
unsigned short iftype,
const char *ifname,
char * const *alternative_names,
- enum nl80211_iftype wifi_iftype,
+ enum nl80211_iftype wlan_iftype,
const char *ssid,
const struct ether_addr *bssid);