aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp/one.api
diff options
context:
space:
mode:
authorOnong Tayeng <otayeng@cisco.com>2020-05-13 21:25:57 +0530
committerOle Trøan <otroan@employees.org>2020-05-14 12:46:51 +0000
commit4ab5190eb4167ac4c06cd649ec8a860784ab1d41 (patch)
tree56859b71a048d8e418f1f9b7b44e1fe192d8e702 /src/vnet/lisp-cp/one.api
parenta58be82dda89d6496f92e451b42eee31f0cf47b4 (diff)
lisp: API cleanup
Removing the comments around eid_type which seem to have been overlooked by the original patch https://gerrit.fd.io/r/c/vpp/+/24663. Type: refactor Signed-off-by: Onong Tayeng <otayeng@cisco.com> Change-Id: I48e1993cf8869cb32e159d1956f3ec1e5943e33f
Diffstat (limited to 'src/vnet/lisp-cp/one.api')
-rw-r--r--src/vnet/lisp-cp/one.api18
1 files changed, 3 insertions, 15 deletions
diff --git a/src/vnet/lisp-cp/one.api b/src/vnet/lisp-cp/one.api
index 7318ba4f866..be3a444e263 100644
--- a/src/vnet/lisp-cp/one.api
+++ b/src/vnet/lisp-cp/one.api
@@ -73,12 +73,7 @@ autoreply define one_add_del_locator
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@param is_add - add address if non-zero, else delete
- @param eid_type:
- 0 : ipv4
- 1 : ipv6
- 2 : mac
- @param eid - EID can be ip4, ip6 or mac
- @param prefix_len - prefix len
+ @param eid - endpoint identifier
@param locator_set_name - name of locator_set to add/del eid-table
@param vni - virtual network instance
@param key - secret key
@@ -646,15 +641,14 @@ define one_locator_set_dump
};
/** \brief Dump ONE eid-table
- @param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@param locator_set_index - index of locator_set, if ~0 then the mapping
is negative
@param action - negative map request action
@param is_local - local if non-zero, else remote
@param is_src_dst - EID is type of source/destination
- @param deid - EID can be ip4, ip6 or mac
- @param seid - source EID can be ip4, ip6 or mac
+ @param deid - dst EID
+ @param seid - src EID
@param vni - virtual network instance
@param ttl - time to live
@param authoritative - authoritative
@@ -701,14 +695,8 @@ define one_eid_table_dump
};
/** \brief ONE adjacency
- @param eid_type -
- 0 : ipv4
- 1 : ipv6
- 2 : mac
@param reid - remote EID
@param leid - local EID
- @param reid_prefix_len - remote EID IP prefix length
- @param leid_prefix_len - local EID IP prefix length
*/
typedef one_adjacency
{