1 /* SPDX-License-Identifier: LGPL-2.1+ */
4 #include <linux/nl80211.h>
9 #include "conf-parser.h"
10 #include "ether-addr-util.h"
13 typedef struct NetMatch
{
26 void net_match_clear(NetMatch
*match
);
27 bool net_match_is_empty(const NetMatch
*match
);
29 bool net_match_config(
30 const NetMatch
*match
,
32 const struct ether_addr
*mac
,
33 const struct ether_addr
*permanent_mac
,
35 unsigned short iftype
,
37 char * const *alternative_names
,
38 enum nl80211_iftype wifi_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
);