summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-10-05 22:44:38 +0200
committerTom Gundersen <teg@jklm.no>2015-10-05 22:44:38 +0200
commitdc545f8331333476ba3b08c677e44b565ad1c738 (patch)
treea7efef2e0c0708d5932228a1d8aad4b50cd97e72 /src/network/networkd-netdev.h
parent2b22ffaf600df7f775ce6a7fdf4a470f04f8e75d (diff)
parent3428fe07f0fc639d2e07297f0c4a2392c9bb2a68 (diff)
Merge pull request #1459 from ssahani/bridge1
networkd: add bridge properties
Diffstat (limited to 'src/network/networkd-netdev.h')
-rw-r--r--src/network/networkd-netdev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/networkd-netdev.h b/src/network/networkd-netdev.h
index 1f8510c4f7..3b9ab27b67 100644
--- a/src/network/networkd-netdev.h
+++ b/src/network/networkd-netdev.h
@@ -141,6 +141,9 @@ struct NetDevVTable {
/* create netdev, if not done via rtnl */
int (*create)(NetDev *netdev);
+ /* perform additional configuration after netdev has been createad */
+ int (*post_create)(NetDev *netdev, Link *link, sd_netlink_message *message);
+
/* verify that compulsory configuration options were specified */
int (*config_verify)(NetDev *netdev, const char *filename);
};