1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
4 #include <linux/nl80211.h>
9 #include "conf-parser.h"
10 #include "ether-addr-util.h"
13 typedef struct NetMatch
{
15 Set
*permanent_hw_addr
;
26 void net_match_clear(NetMatch
*match
);
27 bool net_match_is_empty(const NetMatch
*match
);
30 const NetMatch
*match
,
32 const struct hw_addr_data
*hw_addr
,
33 const struct hw_addr_data
*permanent_hw_addr
,
35 unsigned short iftype
,
37 char * const *alternative_names
,
38 enum nl80211_iftype wlan_iftype
,
40 const struct ether_addr
*bssid
);
42 CONFIG_PARSER_PROTOTYPE(config_parse_net_condition
);
43 CONFIG_PARSER_PROTOTYPE(config_parse_match_strv
);
44 CONFIG_PARSER_PROTOTYPE(config_parse_match_ifnames
);
45 CONFIG_PARSER_PROTOTYPE(config_parse_match_property
);