]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/if_link.h
macvlan: Introduce 'passthru' mode to takeover the underlying device
[net-next-2.6.git] / include / linux / if_link.h
index 2e02e4d7b11e0daad83193478215fa0d7932a02a..6485d2a89bec2149c5f019ff01ce4c27f3d27001 100644 (file)
@@ -259,6 +259,7 @@ enum macvlan_mode {
        MACVLAN_MODE_PRIVATE = 1, /* don't talk to other macvlans */
        MACVLAN_MODE_VEPA    = 2, /* talk to other ports through ext bridge */
        MACVLAN_MODE_BRIDGE  = 4, /* talk to bridge ports directly */
+       MACVLAN_MODE_PASSTHRU = 8,/* take over the underlying device */
 };
 
 /* SR-IOV virtual function management section */