]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/net-condition.h
NEWS: finalize for v256~rc3
[thirdparty/systemd.git] / src / shared / net-condition.h
index e767439335d532bc522cc62508622d7892b4780d..0884d43f4604f5c98b9e397c64a81df94f94eb54 100644 (file)
@@ -15,7 +15,8 @@ typedef struct NetMatch {
         Set *permanent_hw_addr;
         char **path;
         char **driver;
-        char **iftype;
+        char **iftype; /* udev's DEVTYPE field or ARPHRD_XXX, e.g. ether, wlan. */
+        char **kind;   /* IFLA_INFO_KIND attribute, e.g. gre, gretap, erspan. */
         char **ifname;
         char **property;
         char **wlan_iftype;
@@ -33,6 +34,7 @@ int net_match_config(
                 const struct hw_addr_data *permanent_hw_addr,
                 const char *driver,
                 unsigned short iftype,
+                const char *kind,
                 const char *ifname,
                 char * const *alternative_names,
                 enum nl80211_iftype wlan_iftype,