2 * Copyright (c) 2015-2016 Cisco and/or its affiliates.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 /** \brief LISP locator structure
17 @param is_ip4 - whether addr is IPv4 or v6
18 @param weight - locator weight
19 @param addr - IPv4/6 address
21 typeonly manual_print manual_endian define lisp_gpe_locator
28 /** \brief add or delete lisp gpe tunnel
29 @param client_index - opaque cookie to identify the sender
30 @param context - sender context, to match reply w/ request
31 @param is_add - add address if non-zero, else delete
36 @param rmt_eid - remote eid
37 @param lcl_eid - local eid
38 @param rmt_len - remote prefix len
39 @param lcl_len - local prefix len
40 @param vni - virtual network identifier
41 @param dp_table - vrf/bridge domain id
42 @param action - negative action when 0 locators configured
43 @param loc_num - number of locators
44 @param locs - array of remote locators
46 manual_print manual_endian define lisp_gpe_add_del_fwd_entry
60 vl_api_lisp_gpe_locator_t locs[loc_num];
63 /** \brief Reply for gpe_fwd_entry add/del
64 @param context - returned sender context, to match reply w/ request
65 @param retval - return code
67 define lisp_gpe_add_del_fwd_entry_reply
73 /** \brief enable or disable lisp-gpe protocol
74 @param client_index - opaque cookie to identify the sender
75 @param context - sender context, to match reply w/ request
76 @param is_en - enable protocol if non-zero, else disable
78 define lisp_gpe_enable_disable
85 /** \brief Reply for gpe enable/disable
86 @param context - returned sender context, to match reply w/ request
87 @param retval - return code
89 define lisp_gpe_enable_disable_reply
95 /** \brief add or delete gpe_iface
96 @param client_index - opaque cookie to identify the sender
97 @param context - sender context, to match reply w/ request
98 @param is_add - add address if non-zero, else delete
100 define lisp_gpe_add_del_iface
110 /** \brief Reply for gpe_iface add/del
111 @param context - returned sender context, to match reply w/ request
112 @param retval - return code
114 define lisp_gpe_add_del_iface_reply
122 * eval: (c-set-style "gnu")