X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Funix%2Ftap.api;h=00a1d08ac25dfc0033ed6d4f35c4c6f5e7e48ef6;hb=775f73c;hp=d9fba37134e98d4fdd45293137cde8f889e9d9d1;hpb=11b8dbf78af49d270a0e72abe7dea73eec30d85f;p=vpp.git diff --git a/src/vnet/unix/tap.api b/src/vnet/unix/tap.api index d9fba37134e..00a1d08ac25 100644 --- a/src/vnet/unix/tap.api +++ b/src/vnet/unix/tap.api @@ -19,12 +19,14 @@ the Linux kernel TAP device driver */ -/** \brief Initialize a new tap interface with the given paramters +option version = "1.0.0"; + +/** \brief Initialize a new tap interface with the given parameters @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param use_random_mac - let the system generate a unique mac address @param tap_name - name to associate with the new interface - @param mac_address - mac addr to assign to the interface if use_radom not set + @param mac_address - mac addr to assign to the interface if use_random not set */ define tap_connect { @@ -56,13 +58,13 @@ define tap_connect_reply u32 sw_if_index; }; -/** \brief Modify a tap interface with the given paramters +/** \brief Modify a tap interface with the given parameters @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param sw_if_index - interface index of existing tap interface @param use_random_mac - let the system generate a unique mac address @param tap_name - name to associate with the new interface - @param mac_address - mac addr to assign to the interface if use_radom not set + @param mac_address - mac addr to assign to the interface if use_random not set */ define tap_modify {