forked from vishvananda/netlink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for VRF. With this change we can create VRF interface.
$ sudo ip link add vrf1 type vrf table 1
- Loading branch information
1 parent
9f67bd4
commit ade05d5
Showing
3 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -447,3 +447,8 @@ const ( | |
IFLA_VTI_REMOTE | ||
IFLA_VTI_MAX = IFLA_VTI_REMOTE | ||
) | ||
|
||
const ( | ||
IFLA_VRF_UNSPEC = iota | ||
IFLA_VRF_TABLE | ||
) |