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 DHCP Proxy config add / del request
17 @param client_index - opaque cookie to identify the sender
18 @param context - sender context, to match reply w/ request
19 @param vrf_id - vrf id
20 @param if_ipv6 - ipv6 if non-zero, else ipv4
21 @param is_add - add the config if non-zero, else delete
22 @param insert_circuit_id - option82 suboption 1 fib number
23 @param dhcp_server[] - server address
24 @param dhcp_src_address[] - <fix this, need details>
26 define dhcp_proxy_config
35 u8 dhcp_src_address[16];
38 /** \brief DHCP Proxy config response
39 @param context - sender context, to match reply w/ request
40 @param retval - return code for the request
42 define dhcp_proxy_config_reply
48 /** \brief DHCP Proxy config 2 add / del request
49 @param client_index - opaque cookie to identify the sender
50 @param context - sender context, to match reply w/ request
51 @param rx_vrf_id - receive vrf id
52 @param server_vrf_id - server vrf id
53 @param if_ipv6 - ipv6 if non-zero, else ipv4
54 @param is_add - add the config if non-zero, else delete
55 @param insert_circuit_id - option82 suboption 1 fib number
56 @param dhcp_server[] - server address
57 @param dhcp_src_address[] - <fix this, need details>
59 define dhcp_proxy_config_2
69 u8 dhcp_src_address[16];
72 /** \brief DHCP Proxy config 2 add / del response
73 @param context - sender context, to match reply w/ request
74 @param retval - return code for request
76 define dhcp_proxy_config_2_reply
82 /** \brief DHCP Proxy set / unset vss request
83 @param client_index - opaque cookie to identify the sender
84 @param context - sender context, to match reply w/ request
85 @param tbl_id - table id
86 @param oui - first part of vpn id
87 @param fib_id - second part of vpn id
88 @param is_ipv6 - ip6 if non-zero, else ip4
89 @param is_add - set vss if non-zero, else delete
91 define dhcp_proxy_set_vss
102 /** \brief DHCP proxy set / unset vss response
103 @param context - sender context, to match reply w/ request
104 @param retval - return code for the request
106 define dhcp_proxy_set_vss_reply
112 /** \brief DHCP Client config add / del request
113 @param client_index - opaque cookie to identify the sender
114 @param context - sender context, to match reply w/ request
115 @param sw_if_index - index of the interface for DHCP client
116 @param hostname - hostname
117 @param is_add - add the config if non-zero, else delete
118 @param want_dhcp_event - DHCP event sent to the sender
119 via dhcp_compl_event API message if non-zero
120 @param pid - sender's pid
122 define dhcp_client_config
133 /** \brief DHCP Client config response
134 @param context - sender context, to match reply w/ request
135 @param retval - return code for the request
137 define dhcp_client_config_reply
143 /** \brief Tell client about a DHCP completion event
144 @param client_index - opaque cookie to identify the sender
145 @param pid - client pid registered to receive notification
146 @param is_ipv6 - if non-zero the address is ipv6, else ipv4
147 @param host_address - Host IP address
148 @param router_address - Router IP address
149 @param host_mac - Host MAC address
151 define dhcp_compl_event
158 u8 router_address[16];
164 * eval: (c-set-style "gnu")