diff options
author | Dave Barach <dave@barachs.net> | 2017-01-14 10:30:50 -0500 |
---|---|---|
committer | Dave Barach <dave@barachs.net> | 2017-01-14 10:36:37 -0500 |
commit | 2feaffcb4af8e311b56328015bcfd82f5b15626c (patch) | |
tree | 59cdebbb5c0a4d3c41b8bea8c69a2328b97182f6 /src/vnet/unix/tap.api | |
parent | 878c609889dcdc58538d40d8b3f662320f88573d (diff) |
Provision linux stack ip4 and ip6 addresses for tap interfaces
To simplify system configuration. Converted existing code to use an
argument structure, instead of [one or two too many] discrete
parameters.
Change-Id: I3eddfa74eeed918c1b04a6285fba494651594332
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet/unix/tap.api')
-rw-r--r-- | src/vnet/unix/tap.api | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vnet/unix/tap.api b/src/vnet/unix/tap.api index 9b16eadbf86..1fd0bb09774 100644 --- a/src/vnet/unix/tap.api +++ b/src/vnet/unix/tap.api @@ -35,6 +35,12 @@ define tap_connect u8 mac_address[6]; u8 renumber; u32 custom_dev_instance; + u8 ip4_address_set; + u8 ip4_address[4]; + u8 ip4_mask_width; + u8 ip6_address_set; + u8 ip6_address[16]; + u8 ip6_mask_width; u8 tag[64]; }; |