FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
nat44_ei.api
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020 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:
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
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.
14  */
15 
16 option version = "1.1.1";
17 import "vnet/ip/ip_types.api";
18 import "vnet/interface_types.api";
19 import "plugins/nat/lib/nat_types.api";
20 
22 {
23  NAT44_EI_NONE = 0x00,
31 };
32 
33 /** \brief Enable/disable NAT44 plugin
34  @param client_index - opaque cookie to identify the sender
35  @param context - sender context, to match reply w/ request
36  @param inside_vrf - inside vrf id
37  @param outside_vrf - outside vrf id
38  @param users - maximum number of users per thread
39  @param user_memory - overwrite hash allocation parameter
40  @param sessions - maximum number of sessions per thread
41  @param session_memory - overwrite hash allocation parameter
42  @param user_sessions - maximum number of sessions per user
43  @param enable - true if enable, false if disable
44  @param flags - flag NAT44_EI_IS_STATIC_MAPPING_ONLY,
45  NAT44_EI_IS_CONNECTION_TRACKING,
46  NAT44_EI_IS_OUT2IN_DPO
47 */
48 autoreply define nat44_ei_plugin_enable_disable {
49  option in_progress;
59  bool enable;
60  vl_api_nat44_ei_config_flags_t flags;
61 };
62 
63 /** \brief Show NAT44 plugin running config
64  @param client_index - opaque cookie to identify the sender
65  @param context - sender context, to match reply w/ request
66 */
67 define nat44_ei_show_running_config
68 {
69  option in_progress;
72 };
73 
74 /** \brief Show NAT44 plugin running config reply
75  @param context - sender context, to match reply w/ request
76  @param retval - return code for the request
77  @param inside_vrf - default inside VRF id
78  @param outside_vrf - outside VRF id
79  @param users - maximum number of users per worker thread
80  @param sessions - maximum number of sessions per worker thread
81  @param user_sessions - maximum number of sessions per user
82  @param user_buckets - number of user hash buckets
83  @param translation_buckets - number of translation hash buckets
84  @param flags - flag NAT44_EI_IS_STATIC_MAPPING_ONLY,
85  NAT44_EI_IS_CONNECTION_TRACKING,
86  NAT44_EI_IS_OUT2IN_DPO
87 */
88 define nat44_ei_show_running_config_reply
89 {
90  option in_progress;
102  vl_api_nat_timeouts_t timeouts;
103  vl_api_nat_log_level_t log_level;
104  vl_api_nat44_ei_config_flags_t flags;
105 };
106 
107 /** \brief Set NAT44 logging level
108  @param client_index - opaque cookie to identify the sender
109  @param context - sender context, to match reply w/ request
110  @param log_level - logging level
111 */
112 autoreply define nat44_ei_set_log_level {
113  option deprecated;
116  vl_api_nat_log_level_t log_level;
117 };
118 
119 /** \brief Set NAT workers
120  @param client_index - opaque cookie to identify the sender
121  @param context - sender context, to match reply w/ request
122  @param worker_mask - NAT workers mask
123 */
124 autoreply define nat44_ei_set_workers {
125  option in_progress;
129 };
130 
131 /** \brief Dump NAT workers
132  @param client_index - opaque cookie to identify the sender
133  @param context - sender context, to match reply w/ request
134 */
135 define nat44_ei_worker_dump {
136  option in_progress;
139 };
140 
141 /** \brief NAT workers details response
142  @param context - sender context, to match reply w/ request
143  @param worker_index - worker index
144  @param lcore_id - lcore ID
145  @param name - worker name
146 */
147 define nat44_ei_worker_details {
148  option in_progress;
152  string name[64];
153 };
154 
155 /** \brief Enable/disable NAT IPFIX logging
156  @param client_index - opaque cookie to identify the sender
157  @param context - sender context, to match reply w/ request
158  @param domain_id - observation domain ID
159  @param src_port - source port number
160  @param enable - true if enable, false if disable
161 */
162 autoreply define nat44_ei_ipfix_enable_disable {
163  option in_progress;
168  bool enable;
169 };
170 
171 /** \brief Set values of timeouts for NAT sessions (seconds)
172  @param client_index - opaque cookie to identify the sender
173  @param context - sender context, to match reply w/ request
174  @param udp - UDP timeout (default 300sec)
175  @param tcp_established - TCP established timeout (default 7440sec)
176  @param tcp_transitory - TCP transitory timeout (default 240sec)
177  @param icmp - ICMP timeout (default 60sec)
178 */
179 autoreply define nat44_ei_set_timeouts {
180  option in_progress;
187 };
188 
189 /** \brief Set address and port assignment algorithm
190  @param client_index - opaque cookie to identify the sender
191  @param context - sender context, to match reply w/ request
192  @param alg - address and port assignment algorithm:
193  0 - default, 1 - MAP-E, 2 - port range
194  (see nat44_ei_addr_and_port_alloc_alg_t in nat.h)
195  @param psid_offset - number of offset bits (valid only for MAP-E alg)
196  @param psid_length - length of PSID (valid only for MAP-E alg)
197  @param psid - Port Set Identifier (PSID) value (valid only for MAP-E alg)
198  @param start_port - beginning of the port range
199  @param end_port - end of the port range
200 */
201 autoreply define nat44_ei_set_addr_and_port_alloc_alg {
202  option in_progress;
211 };
212 
213 /** \brief Get address and port assignment algorithm
214  @param client_index - opaque cookie to identify the sender
215  @param context - sender context, to match reply w/ request
216 */
217 define nat44_ei_get_addr_and_port_alloc_alg {
218  option deprecated;
221 };
222 
223 /** \brief Get address and port assignment algorithm reply
224  @param context - sender context, to match reply w/ request
225  @param retval - return code
226  @param alg - address and port assignment algorithm:
227  0 - default, 1 - MAP-E, 2 - port range
228  (see nat44_ei_addr_and_port_alloc_alg_t in nat.h)
229  @param psid_offset - number of offset bits (valid only for MAP-E alg)
230  @param psid_length - length of PSID (valid only for MAP-E alg)
231  @param psid - Port Set Identifier (PSID) value (valid only for MAP-E alg)
232  @param start_port - beginning of the port range
233  @param end_port - end of the port range
234 */
235 define nat44_ei_get_addr_and_port_alloc_alg_reply {
236  option deprecated;
245 };
246 
247 /** \brief Set TCP MSS rewriting configuration
248  @param client_index - opaque cookie to identify the sender
249  @param context - sender context, to match reply w/ request
250  @param mss_value - MSS value to be used for MSS rewriting
251  @param enable - if true enable MSS rewriting feature else disable
252 */
253 autoreply define nat44_ei_set_mss_clamping {
254  option in_progress;
258  bool enable;
259 };
260 
261 /** \brief Get TCP MSS rewriting configuration
262  @param client_index - opaque cookie to identify the sender
263  @param context - sender context, to match reply w/ request
264 */
265 define nat44_ei_get_mss_clamping {
266  option deprecated;
269 };
270 
271 /** \brief Get TCP MSS rewriting configuration reply
272  @param context - sender context, to match reply w/ request
273  @param retval - return code
274  @param mss_value - MSS value to be used for MSS rewriting
275  @param enable - if true enable MSS rewriting feature else disable
276 */
277 define nat44_ei_get_mss_clamping_reply {
278  option deprecated;
282  bool enable;
283 };
284 
285 /** \brief Set HA listener (local settings)
286  @param client_index - opaque cookie to identify the sender
287  @param context - sender context, to match reply w/ request
288  @param ip_address - local IP4 address
289  @param port - local UDP port number
290  @param path_mtu - path MTU between local and failover
291 */
292 autoreply define nat44_ei_ha_set_listener {
293  option in_progress;
296  vl_api_ip4_address_t ip_address;
299 };
300 
301 /** \brief Set HA failover (remote settings)
302  @param client_index - opaque cookie to identify the sender
303  @param context - sender context, to match reply w/ request
304  @param ip_address - failover IP4 address
305  @param port - failvoer UDP port number
306  @param session_refresh_interval - number of seconds after which to send
307  session counters refresh
308 */
309 autoreply define nat44_ei_ha_set_failover {
310  option in_progress;
313  vl_api_ip4_address_t ip_address;
316 };
317 
318 /** \brief Get HA listener/local configuration
319  @param client_index - opaque cookie to identify the sender
320  @param context - sender context, to match reply w/ request
321 */
322 define nat44_ei_ha_get_listener {
323  option deprecated;
326 };
327 
328 /** \brief Get HA listener/local configuration reply
329  @param context - sender context, to match reply w/ request
330  @param retval - return code
331  @param ip_address - local IP4 address
332  @param port - local UDP port number
333  @param path_mtu - Path MTU between local and failover
334 */
335 define nat44_ei_ha_get_listener_reply {
336  option deprecated;
339  vl_api_ip4_address_t ip_address;
342 };
343 
344 /** \brief Get HA failover/remote settings
345  @param client_index - opaque cookie to identify the sender
346  @param context - sender context, to match reply w/ request
347 */
348 define nat44_ei_ha_get_failover {
349  option deprecated;
352 };
353 
354 /** \brief Get HA failover/remote settings reply
355  @param context - sender context, to match reply w/ request
356  @param retval - return code
357  @param ip_address - failover IP4 address
358  @param port - failvoer UDP port number
359  @param session_refresh_interval - number of seconds after which to send
360  session counters refresh
361 */
362 define nat44_ei_ha_get_failover_reply {
363  option deprecated;
366  vl_api_ip4_address_t ip_address;
369 };
370 
371 /** \brief Flush the current HA data (for testing)
372  @param client_index - opaque cookie to identify the sender
373  @param context - sender context, to match reply w/ request
374 */
375 autoreply define nat44_ei_ha_flush {
376  option in_progress;
379 };
380 
381 /** \brief Resync HA (resend existing sessions to new failover)
382  @param client_index - opaque cookie to identify the sender
383  @param context - sender context, to match reply w/ request
384  @param want_resync_event - resync completed event sent to the sender via
385  nat44_ei_ha_resync_completed_event API message if
386  non-zero
387  @param pid - sender's pid
388 */
389 autoreply define nat44_ei_ha_resync
390 {
391  option in_progress;
396 };
397 
398 /** \brief Tell client about a HA resync completion event
399  @param client_index - opaque cookie to identify the sender
400  @param pid - client pid registered to receive notification
401  @param missed_count - number of missed (not ACKed) messages
402 */
403 define nat44_ei_ha_resync_completed_event
404 {
405  option in_progress;
409 };
410 
412  rpc nat44_ei_ha_resync returns nat44_ei_ha_resync_reply events nat44_ei_ha_resync_completed_event;
413 };
414 
415 /** \brief Del NAT44 user
416  @param client_index - opaque cookie to identify the sender
417  @param context - sender context, to match reply w/ request
418  @param ip_address - IPv4 address
419  @param fib_index - FIB index
420 */
421 autoreply define nat44_ei_del_user {
422  option in_progress;
425  vl_api_ip4_address_t ip_address;
427 };
428 
429 /** \brief Add/del NAT44 address range
430  @param client_index - opaque cookie to identify the sender
431  @param context - sender context, to match reply w/ request
432  @param first_ip_address - first IPv4 address
433  @param last_ip_address - last IPv4 address
434  @param vrf_id - VRF id of tenant, ~0 means independent of VRF
435  @param is_add - true if add, false if delete
436 
437 */
438 autoreply define nat44_ei_add_del_address_range {
439  option in_progress;
442  vl_api_ip4_address_t first_ip_address;
443  vl_api_ip4_address_t last_ip_address;
445  bool is_add;
446 };
447 
448 /** \brief Dump NAT44 addresses
449  @param client_index - opaque cookie to identify the sender
450  @param context - sender context, to match reply w/ request
451 */
452 define nat44_ei_address_dump {
453  option in_progress;
456 };
457 
458 /** \brief NAT44 address details response
459  @param context - sender context, to match reply w/ request
460  @param ip_address - IPv4 address
461  @param vrf_id - VRF id of tenant, ~0 means independent of VRF
462 */
463 define nat44_ei_address_details {
464  option in_progress;
466  vl_api_ip4_address_t ip_address;
468 };
469 
470 /** \brief Enable/disable NAT44 feature on the interface
471  @param client_index - opaque cookie to identify the sender
472  @param context - sender context, to match reply w/ request
473  @param is_add - true if add, false if delete
474  @param flags - flag NAT_IS_INSIDE if interface is inside else
475  interface is outside
476  @param sw_if_index - software index of the interface
477 */
478 autoreply define nat44_ei_interface_add_del_feature {
479  option in_progress;
482  bool is_add;
483  vl_api_nat44_ei_config_flags_t flags;
484  vl_api_interface_index_t sw_if_index;
485 };
486 
487 /** \brief Dump interfaces with NAT44 feature
488  @param client_index - opaque cookie to identify the sender
489  @param context - sender context, to match reply w/ request
490 */
491 define nat44_ei_interface_dump {
492  option in_progress;
495 };
496 
497 /** \brief NAT44 interface details response
498  @param context - sender context, to match reply w/ request
499  @param sw_if_index - software index of the interface
500  @param flags - flag NAT_IS_INSIDE if interface is inside,
501  flag NAT_IS_OUTSIDE if interface is outside
502  and if both flags are set the interface is
503  both inside and outside
504 */
505 define nat44_ei_interface_details {
506  option in_progress;
508  vl_api_nat44_ei_config_flags_t flags;
509  vl_api_interface_index_t sw_if_index;
510 };
511 
512 /** \brief Enable/disbale NAT44 as an interface output feature (postrouting
513  in2out translation)
514  @param client_index - opaque cookie to identify the sender
515  @param context - sender context, to match reply w/ request
516  @param is_add - true if add, false if delete
517  @param flags - flag NAT_IS_INSIDE if interface is inside else
518  interface is outside
519  @param sw_if_index - software index of the interface
520 */
522  option deprecated;
525  bool is_add;
526  vl_api_nat44_ei_config_flags_t flags;
527  vl_api_interface_index_t sw_if_index;
528 };
529 
530 /** \brief Dump interfaces with NAT44 output feature
531  @param client_index - opaque cookie to identify the sender
532  @param context - sender context, to match reply w/ request
533 */
534 define nat44_ei_interface_output_feature_dump {
535  option deprecated;
538 };
539 
540 /** \brief NAT44 interface with output feature details response
541  @param context - sender context, to match reply w/ request
542  @param flags - flag NAT_IS_INSIDE if interface is inside else
543  interface is outside
544  @param sw_if_index - software index of the interface
545 */
546 define nat44_ei_interface_output_feature_details {
547  option deprecated;
549  vl_api_nat44_ei_config_flags_t flags;
550  vl_api_interface_index_t sw_if_index;
551 };
552 
553 /** \brief Add/delete NAT44 static mapping
554  @param client_index - opaque cookie to identify the sender
555  @param context - sender context, to match reply w/ request
556  @param is_add - true if add, false if delete
557  @param flags - flag NAT44_EI_IS_ADDR_ONLY if address only mapping
558  @param local_ip_address - local IPv4 address
559  @param external_ip_address - external IPv4 address
560  @param protocol - IP protocol, used only if addr_only=0
561  @param local_port - local port number, used only if addr_only=0
562  @param external_port - external port number, used only if addr_only=0
563  @param external_sw_if_index - external interface (if set
564  external_ip_address is ignored, ~0 means not
565  used)
566  @param vfr_id - VRF ID
567  @param tag - opaque string tag
568 */
570  option in_progress;
573  bool is_add;
574  vl_api_nat44_ei_config_flags_t flags;
575  vl_api_ip4_address_t local_ip_address;
576  vl_api_ip4_address_t external_ip_address;
580  vl_api_interface_index_t external_sw_if_index;
582  string tag[64];
583 };
584 
585 /** \brief Dump NAT44 static mappings
586  @param client_index - opaque cookie to identify the sender
587  @param context - sender context, to match reply w/ request
588 */
589 define nat44_ei_static_mapping_dump {
590  option in_progress;
593 };
594 
595 /** \brief NAT44 static mapping details response
596  @param context - sender context, to match reply w/ request
597  @param flags - flag NAT44_EI_IS_ADDR_ONLY if address only mapping,
598  @param local_ip_address - local IPv4 address
599  @param external_ip_address - external IPv4 address
600  @param protocol - IP protocol, valid only if no NAT_ADDR_ONLY flag
601  @param local_port - local port number, valid only if no NAT_ADDR_ONLY flag
602  @param external_port - external port number, valid only if no NAT_ADDR_ONLY flag
603  @param external_sw_if_index - external interface
604  @param vfr_id - VRF ID
605  @param tag - opaque string tag
606 */
607 define nat44_ei_static_mapping_details {
608  option in_progress;
610  vl_api_nat44_ei_config_flags_t flags;
611  vl_api_ip4_address_t local_ip_address;
612  vl_api_ip4_address_t external_ip_address;
616  vl_api_interface_index_t external_sw_if_index;
618  string tag[64];
619 };
620 
621 /** \brief Add/delete NAT44 identity mapping
622  @param client_index - opaque cookie to identify the sender
623  @param context - sender context, to match reply w/ request
624  @param is_add - true if add, false if delete
625  @param flags - flag NAT44_EI_IS_ADDR_ONLY if address only mapping
626  @param ip_address - IPv4 address
627  @param protocol - IP protocol
628  @param port - port number
629  @param sw_if_index - interface (if set ip_address is ignored, ~0 means not
630  used)
631  @param vfr_id - VRF ID (if ~0 use default VRF)
632  @param tag - opaque string tag
633 */
634 autoreply define nat44_ei_add_del_identity_mapping {
635  option deprecated;
638  bool is_add;
639  vl_api_nat44_ei_config_flags_t flags;
640  vl_api_ip4_address_t ip_address;
643  vl_api_interface_index_t sw_if_index;
645  string tag[64];
646 };
647 
648 /** \brief Dump NAT44 identity mappings
649  @param client_index - opaque cookie to identify the sender
650  @param context - sender context, to match reply w/ request
651 */
652 define nat44_ei_identity_mapping_dump {
653  option deprecated;
656 };
657 
658 /** \brief NAT44 identity mapping details response
659  @param context - sender context, to match reply w/ request
660  @param flags - flag NAT44_EI_ADDR_ONLY if address only mapping
661  @param ip_address - IPv4 address
662  @param protocol - IP protocol
663  @param port - port number
664  @param sw_if_index - interface
665  @param vfr_id - VRF ID
666  @param tag - opaque string tag
667 */
668 define nat44_ei_identity_mapping_details {
669  option deprecated;
671  vl_api_nat44_ei_config_flags_t flags;
672  vl_api_ip4_address_t ip_address;
675  vl_api_interface_index_t sw_if_index;
677  string tag[64];
678 };
679 
680 /** \brief Add/delete NAT44 pool address from specific interfce
681  @param client_index - opaque cookie to identify the sender
682  @param context - sender context, to match reply w/ request
683  @param is_add - true if add, false if delete
684  @param sw_if_index - software index of the interface
685  @param flags - flag NAT_TWICE_NAT if NAT address range for external hosts
686 */
687 autoreply define nat44_ei_add_del_interface_addr {
688  option deprecated;
691  bool is_add;
692  vl_api_interface_index_t sw_if_index;
693  vl_api_nat44_ei_config_flags_t flags;
694 };
695 
696 /** \brief Dump NAT44 pool addresses interfaces
697  @param client_index - opaque cookie to identify the sender
698  @param context - sender context, to match reply w/ request
699 */
700 define nat44_ei_interface_addr_dump {
701  option deprecated;
704 };
705 
706 /** \brief NAT44 pool addresses interfaces details response
707  @param context - sender context, to match reply w/ request
708  @param sw_if_index - software index of the interface
709 
710 */
711 define nat44_ei_interface_addr_details {
712  option deprecated;
714  vl_api_interface_index_t sw_if_index;
715 };
716 
717 /** \brief Dump NAT44 users
718  @param client_index - opaque cookie to identify the sender
719  @param context - sender context, to match reply w/ request
720 */
721 define nat44_ei_user_dump {
722  option in_progress;
725 };
726 
727 /** \brief NAT44 users response
728  @param context - sender context, to match reply w/ request
729  @vrf_id - VRF ID
730  @param ip_address - IPv4 address
731  @param nsessions - number of dynamic sessions
732  @param nstaticsessions - number of static sessions
733 */
734 define nat44_ei_user_details {
735  option in_progress;
738  vl_api_ip4_address_t ip_address;
741 };
742 
743 /** \brief NAT44 user's sessions
744  @param client_index - opaque cookie to identify the sender
745  @param context - sender context, to match reply w/ request
746  @param ip_address - IPv4 address of the user to dump
747  @param vrf_id - VRF_ID
748 */
749 define nat44_ei_user_session_dump {
750  option in_progress;
753  vl_api_ip4_address_t ip_address;
755 };
756 
757 /** \brief NAT44 user's sessions response
758  @param context - sender context, to match reply w/ request
759  @param outside_ip_address - outside IPv4 address
760  @param outside_port - outside port
761  @param inside_ip_address - inside IPv4 address
762  @param inside_port - inside port
763  @param protocol - protocol
764  @param flags - flag NAT_IS_STATIC if session is static
765  @param last_heard - last heard timer
766  @param total_bytes - count of bytes sent through session
767  @param total_pkts - count of pakets sent through session
768  @param ext_host_address - external host IPv4 address
769  @param ext_host_port - external host port
770 */
771 define nat44_ei_user_session_details {
772  option in_progress;
774  vl_api_ip4_address_t outside_ip_address;
776  vl_api_ip4_address_t inside_ip_address;
779  vl_api_nat44_ei_config_flags_t flags;
783  vl_api_ip4_address_t ext_host_address;
785 };
786 
787 /** \brief Delete NAT44 session
788  @param client_index - opaque cookie to identify the sender
789  @param context - sender context, to match reply w/ request
790  @param ip_address - IPv4 address
791  @param protocol - IP protocol
792  @param port - port number
793  @param vfr_id - VRF ID
794  @param flags - flag NAT_IS_INSIDE if interface is inside or
795  interface is outside,
796  flag NAT_IS_EXT_HOST_VALID if external host address and
797  port are valid
798  @param ext_host_address - external host IPv4 address
799  @param ext_host_port - external host port
800 */
801 autoreply define nat44_ei_del_session {
802  option in_progress;
805  vl_api_ip4_address_t address;
809  vl_api_nat44_ei_config_flags_t flags;
810  vl_api_ip4_address_t ext_host_address;
812 };
813 
814 /** \brief Enable/disable forwarding for NAT44
815  Forward packets which don't match existing translation
816  or static mapping instead of dropping them.
817  @param client_index - opaque cookie to identify the sender
818  @param context - sender context, to match reply w/ request
819  @param enable - true for enable, false for disable
820 */
821 autoreply define nat44_ei_forwarding_enable_disable {
822  option in_progress;
825  bool enable;
826 };
827 
828 /** \brief Set NAT handoff frame queue options
829  @param client_index - opaque cookie to identify the sender
830  @param context - sender context, to match reply w/ request
831  @param frame_queue_nelts - number of worker handoff frame queue elements
832 */
833 autoreply define nat44_ei_set_fq_options {
834  option in_progress;
838 };
839 
840 /** \brief Show NAT handoff frame queue options
841  @param client_index - opaque cookie to identify the sender
842  @param context - sender context, to match reply w/ request
843 */
844 define nat44_ei_show_fq_options
845 {
846  option in_progress;
849 };
850 
851 /** \brief Show NAT handoff frame queue options reply
852  @param context - sender context, to match reply w/ request
853  @param retval - return code for the request
854  @param frame_queue_nelts - number of worker handoff frame queue elements
855 */
856 define nat44_ei_show_fq_options_reply
857 {
858  option in_progress;
862 };
NAT44_EI_STATIC_MAPPING_ONLY
@ NAT44_EI_STATIC_MAPPING_ONLY
Definition: nat44_ei.api:24
vl_api_nat44_ei_static_mapping_details_t::context
u32 context
Definition: nat44_ei.api:609
vl_api_nat44_ei_interface_dump_t
Dump interfaces with NAT44 feature.
Definition: nat44_ei.api:491
vl_api_nat44_ei_add_del_interface_addr_t::client_index
u32 client_index
Definition: nat44_ei.api:689
vl_api_nat44_ei_static_mapping_details_t::tag
string tag[64]
Definition: nat44_ei.api:618
vl_api_nat44_ei_interface_addr_details_t::deprecated
option deprecated
Definition: nat44_ei.api:712
vl_api_nat44_ei_add_del_static_mapping_t::local_ip_address
vl_api_ip4_address_t local_ip_address
Definition: nat44_ei.api:575
NAT44_EI_ADDR_ONLY_MAPPING
@ NAT44_EI_ADDR_ONLY_MAPPING
Definition: nat44_ei.api:27
vl_api_nat44_ei_identity_mapping_details_t::vrf_id
u32 vrf_id
Definition: nat44_ei.api:676
vl_api_nat44_ei_show_running_config_reply_t::outside_vrf
u32 outside_vrf
Definition: nat44_ei.api:94
vl_api_nat44_ei_add_del_identity_mapping_t::ip_address
vl_api_ip4_address_t ip_address
Definition: nat44_ei.api:640
vl_api_nat44_ei_interface_output_feature_details_t::flags
vl_api_nat44_ei_config_flags_t flags
Definition: nat44_ei.api:549
vl_api_nat44_ei_show_running_config_reply_t::user_buckets
u32 user_buckets
Definition: nat44_ei.api:98
vl_api_nat44_ei_static_mapping_details_t::external_sw_if_index
vl_api_interface_index_t external_sw_if_index
Definition: nat44_ei.api:616
vl_api_nat44_ei_add_del_static_mapping_t::in_progress
option in_progress
Definition: nat44_ei.api:570
NAT44_EI_STATIC_MAPPING
@ NAT44_EI_STATIC_MAPPING
Definition: nat44_ei.api:30
vl_api_nat44_ei_set_addr_and_port_alloc_alg_t::psid
u16 psid
Definition: nat44_ei.api:208
vl_api_nat44_ei_interface_details_t::flags
vl_api_nat44_ei_config_flags_t flags
Definition: nat44_ei.api:508
vl_api_nat44_ei_show_running_config_reply_t::flags
vl_api_nat44_ei_config_flags_t flags
Definition: nat44_ei.api:104
vl_api_nat44_ei_add_del_interface_addr_t
Add/delete NAT44 pool address from specific interfce.
Definition: nat44_ei.api:687
vl_api_nat44_ei_worker_dump_t::context
u32 context
Definition: nat44_ei.api:138
vl_api_nat44_ei_add_del_address_range_t::client_index
u32 client_index
Definition: nat44_ei.api:440
vl_api_nat44_ei_ha_set_failover_t::context
u32 context
Definition: nat44_ei.api:312
vl_api_nat44_ei_user_details_t::nstaticsessions
u32 nstaticsessions
Definition: nat44_ei.api:740
vl_api_nat44_ei_add_del_static_mapping_t::is_add
bool is_add
Definition: nat44_ei.api:573
vl_api_nat44_ei_set_timeouts_t::context
u32 context
Definition: nat44_ei.api:182
vl_api_nat44_ei_show_fq_options_reply_t::in_progress
option in_progress
Definition: nat44_ei.api:858
vl_api_nat44_ei_get_mss_clamping_t::deprecated
option deprecated
Definition: nat44_ei.api:266
vl_api_nat44_ei_show_running_config_reply_t
Show NAT44 plugin running config reply.
Definition: nat44_ei.api:88
vl_api_nat44_ei_interface_add_del_output_feature_t::client_index
u32 client_index
Definition: nat44_ei.api:523
vl_api_nat44_ei_get_mss_clamping_t
Get TCP MSS rewriting configuration.
Definition: nat44_ei.api:265
vl_api_nat44_ei_interface_add_del_feature_t::context
u32 context
Definition: nat44_ei.api:481
vl_api_nat44_ei_add_del_static_mapping_t::flags
vl_api_nat44_ei_config_flags_t flags
Definition: nat44_ei.api:574
vl_api_nat44_ei_del_user_t::ip_address
vl_api_ip4_address_t ip_address
Definition: nat44_ei.api:425
vl_api_nat44_ei_interface_output_feature_details_t
NAT44 interface with output feature details response.
Definition: nat44_ei.api:546
vl_api_nat44_ei_identity_mapping_dump_t::deprecated
option deprecated
Definition: nat44_ei.api:653
vl_api_nat44_ei_plugin_enable_disable_t::enable
bool enable
Definition: nat44_ei.api:59
vl_api_nat44_ei_interface_addr_dump_t::deprecated
option deprecated
Definition: nat44_ei.api:701
vl_api_nat44_ei_set_mss_clamping_t
Set TCP MSS rewriting configuration.
Definition: nat44_ei.api:253
vl_api_nat44_ei_show_running_config_t::context
u32 context
Definition: nat44_ei.api:71
vl_api_nat44_ei_ha_get_listener_t::context
u32 context
Definition: nat44_ei.api:325
vl_api_nat44_ei_interface_output_feature_dump_t::client_index
u32 client_index
Definition: nat44_ei.api:536
vl_api_nat44_ei_add_del_interface_addr_t::deprecated
option deprecated
Definition: nat44_ei.api:688
vl_api_nat44_ei_del_user_t::client_index
u32 client_index
Definition: nat44_ei.api:423
name
string name[64]
Definition: fib.api:25
vl_api_nat44_ei_user_session_details_t::ext_host_port
u16 ext_host_port
Definition: nat44_ei.api:784
vl_api_nat44_ei_plugin_enable_disable_t::flags
vl_api_nat44_ei_config_flags_t flags
Definition: nat44_ei.api:60
vl_api_nat44_ei_set_workers_t
Set NAT workers.
Definition: nat44_ei.api:124
vl_api_nat44_ei_show_running_config_reply_t::users
u32 users
Definition: nat44_ei.api:95
vl_api_nat44_ei_set_fq_options_t::frame_queue_nelts
u32 frame_queue_nelts
Definition: nat44_ei.api:837
NAT44_EI_IF_INSIDE
@ NAT44_EI_IF_INSIDE
Definition: nat44_ei.api:28
vl_api_nat44_ei_set_fq_options_t::context
u32 context
Definition: nat44_ei.api:836
vl_api_nat44_ei_add_del_identity_mapping_t::is_add
bool is_add
Definition: nat44_ei.api:638
vl_api_nat44_ei_show_fq_options_t::context
u32 context
Definition: nat44_ei.api:848
vl_api_nat44_ei_add_del_identity_mapping_t::deprecated
option deprecated
Definition: nat44_ei.api:635
vl_api_nat44_ei_ha_get_listener_t
Get HA listener/local configuration.
Definition: nat44_ei.api:322
vl_api_nat44_ei_user_details_t::context
u32 context
Definition: nat44_ei.api:736
vl_api_nat44_ei_add_del_static_mapping_t::local_port
u16 local_port
Definition: nat44_ei.api:578
vl_api_nat44_ei_set_workers_t::in_progress
option in_progress
Definition: nat44_ei.api:125
vl_api_nat44_ei_get_addr_and_port_alloc_alg_reply_t::alg
u8 alg
Definition: nat44_ei.api:239
vl_api_nat44_ei_user_session_details_t::flags
vl_api_nat44_ei_config_flags_t flags
Definition: nat44_ei.api:779
vl_api_nat44_ei_static_mapping_details_t::protocol
u8 protocol
Definition: nat44_ei.api:613
vl_api_nat44_ei_del_user_t::fib_index
u32 fib_index
Definition: nat44_ei.api:426
vl_api_nat44_ei_worker_dump_t
Dump NAT workers.
Definition: nat44_ei.api:135
vl_api_nat44_ei_add_del_identity_mapping_t::client_index
u32 client_index
Definition: nat44_ei.api:636
vl_api_nat44_ei_user_session_details_t::protocol
u16 protocol
Definition: nat44_ei.api:778
vl_api_nat44_ei_user_session_dump_t::client_index
u32 client_index
Definition: nat44_ei.api:751
vl_api_nat44_ei_interface_dump_t::in_progress
option in_progress
Definition: nat44_ei.api:492
vl_api_nat44_ei_static_mapping_details_t::vrf_id
u32 vrf_id
Definition: nat44_ei.api:617
vl_api_nat44_ei_plugin_enable_disable_t::user_memory
u32 user_memory
Definition: nat44_ei.api:55
vl_api_nat44_ei_get_addr_and_port_alloc_alg_reply_t::psid_offset
u8 psid_offset
Definition: nat44_ei.api:240
vl_api_nat44_ei_ha_get_failover_reply_t::port
u16 port
Definition: nat44_ei.api:367
vl_api_nat44_ei_user_session_details_t::outside_port
u16 outside_port
Definition: nat44_ei.api:775
u16
unsigned short u16
Definition: types.h:57
vl_api_nat44_ei_ha_resync_t::in_progress
option in_progress
Definition: nat44_ei.api:391
vl_api_nat44_ei_get_mss_clamping_t::context
u32 context
Definition: nat44_ei.api:268
vl_api_nat44_ei_ha_get_listener_reply_t::port
u16 port
Definition: nat44_ei.api:340
vl_api_nat44_ei_user_details_t::nsessions
u32 nsessions
Definition: nat44_ei.api:739
NAT44_EI_OUT2IN_DPO
@ NAT44_EI_OUT2IN_DPO
Definition: nat44_ei.api:26
vl_api_nat44_ei_ha_resync_completed_event_t::client_index
u32 client_index
Definition: nat44_ei.api:406
vl_api_nat44_ei_set_addr_and_port_alloc_alg_t::psid_length
u8 psid_length
Definition: nat44_ei.api:207
vl_api_nat44_ei_show_fq_options_reply_t::context
u32 context
Definition: nat44_ei.api:859
vl_api_nat44_ei_set_mss_clamping_t::mss_value
u16 mss_value
Definition: nat44_ei.api:257
vl_api_nat44_ei_set_log_level_t
Set NAT44 logging level.
Definition: nat44_ei.api:112
vl_api_nat44_ei_add_del_identity_mapping_t::protocol
u8 protocol
Definition: nat44_ei.api:641
vl_api_nat44_ei_identity_mapping_dump_t::context
u32 context
Definition: nat44_ei.api:655
vl_api_nat44_ei_add_del_static_mapping_t::external_ip_address
vl_api_ip4_address_t external_ip_address
Definition: nat44_ei.api:576
vl_api_nat44_ei_user_session_details_t::inside_port
u16 inside_port
Definition: nat44_ei.api:777
vl_api_nat44_ei_plugin_enable_disable_t::sessions
u32 sessions
Definition: nat44_ei.api:56
vl_api_nat44_ei_show_running_config_reply_t::translation_buckets
u32 translation_buckets
Definition: nat44_ei.api:99
vl_api_nat44_ei_interface_output_feature_details_t::context
u32 context
Definition: nat44_ei.api:548
vl_api_nat44_ei_user_dump_t::context
u32 context
Definition: nat44_ei.api:724
vl_api_nat44_ei_get_addr_and_port_alloc_alg_t
Get address and port assignment algorithm.
Definition: nat44_ei.api:217
vl_api_nat44_ei_ha_set_listener_t
Set HA listener (local settings)
Definition: nat44_ei.api:292
vl_api_nat44_ei_interface_output_feature_dump_t
Dump interfaces with NAT44 output feature.
Definition: nat44_ei.api:534
service
service
Definition: nat44_ei.api:411
vl_api_nat44_ei_ha_set_listener_t::client_index
u32 client_index
Definition: nat44_ei.api:294
vl_api_nat44_ei_user_session_dump_t::in_progress
option in_progress
Definition: nat44_ei.api:750
vl_api_nat44_ei_interface_addr_details_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: nat44_ei.api:714
vl_api_nat44_ei_forwarding_enable_disable_t::enable
bool enable
Definition: nat44_ei.api:825
vl_api_nat44_ei_set_addr_and_port_alloc_alg_t
Set address and port assignment algorithm.
Definition: nat44_ei.api:201
vl_api_nat44_ei_add_del_static_mapping_t::vrf_id
u32 vrf_id
Definition: nat44_ei.api:581
vl_api_nat44_ei_set_addr_and_port_alloc_alg_t::start_port
u16 start_port
Definition: nat44_ei.api:209
vl_api_nat44_ei_del_session_t::vrf_id
u32 vrf_id
Definition: nat44_ei.api:808
vl_api_nat44_ei_identity_mapping_details_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: nat44_ei.api:675
vl_api_nat44_ei_show_running_config_t
Show NAT44 plugin running config.
Definition: nat44_ei.api:67
i32
signed int i32
Definition: types.h:77
vl_api_nat44_ei_set_mss_clamping_t::context
u32 context
Definition: nat44_ei.api:256
vl_api_nat44_ei_set_log_level_t::log_level
vl_api_nat_log_level_t log_level
Definition: nat44_ei.api:116
vl_api_nat44_ei_add_del_static_mapping_t::protocol
u8 protocol
Definition: nat44_ei.api:577
vl_api_nat44_ei_interface_output_feature_dump_t::context
u32 context
Definition: nat44_ei.api:537
vl_api_nat44_ei_ha_get_failover_t::context
u32 context
Definition: nat44_ei.api:351
vl_api_nat44_ei_user_session_details_t::inside_ip_address
vl_api_ip4_address_t inside_ip_address
Definition: nat44_ei.api:776
vl_api_nat44_ei_ha_resync_t::want_resync_event
u8 want_resync_event
Definition: nat44_ei.api:394
vl_api_nat44_ei_interface_details_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: nat44_ei.api:509
vl_api_nat44_ei_interface_addr_dump_t
Dump NAT44 pool addresses interfaces.
Definition: nat44_ei.api:700
vl_api_nat44_ei_get_addr_and_port_alloc_alg_reply_t::end_port
u16 end_port
Definition: nat44_ei.api:244
vl_api_nat44_ei_ha_get_listener_t::client_index
u32 client_index
Definition: nat44_ei.api:324
vl_api_nat44_ei_set_mss_clamping_t::client_index
u32 client_index
Definition: nat44_ei.api:255
vl_api_nat44_ei_add_del_identity_mapping_t
Add/delete NAT44 identity mapping.
Definition: nat44_ei.api:634
vl_api_nat44_ei_address_details_t::ip_address
vl_api_ip4_address_t ip_address
Definition: nat44_ei.api:466
vl_api_nat44_ei_set_workers_t::client_index
u32 client_index
Definition: nat44_ei.api:126
vl_api_nat44_ei_ha_flush_t
Flush the current HA data (for testing)
Definition: nat44_ei.api:375
vl_api_nat44_ei_ha_get_failover_reply_t::session_refresh_interval
u32 session_refresh_interval
Definition: nat44_ei.api:368
vl_api_nat44_ei_add_del_static_mapping_t
Add/delete NAT44 static mapping.
Definition: nat44_ei.api:569
vl_api_nat44_ei_ipfix_enable_disable_t::enable
bool enable
Definition: nat44_ei.api:168
vl_api_nat44_ei_identity_mapping_details_t::protocol
u8 protocol
Definition: nat44_ei.api:673
vl_api_nat44_ei_add_del_address_range_t::last_ip_address
vl_api_ip4_address_t last_ip_address
Definition: nat44_ei.api:443
vl_api_nat44_ei_static_mapping_dump_t
Dump NAT44 static mappings.
Definition: nat44_ei.api:589
vl_api_nat44_ei_set_addr_and_port_alloc_alg_t::alg
u8 alg
Definition: nat44_ei.api:205
vl_api_nat44_ei_user_details_t::vrf_id
u32 vrf_id
Definition: nat44_ei.api:737
vl_api_nat44_ei_del_user_t::in_progress
option in_progress
Definition: nat44_ei.api:422
vl_api_nat44_ei_user_details_t::ip_address
vl_api_ip4_address_t ip_address
Definition: nat44_ei.api:738
vl_api_nat44_ei_user_session_details_t::outside_ip_address
vl_api_ip4_address_t outside_ip_address
Definition: nat44_ei.api:774
vl_api_nat44_ei_static_mapping_dump_t::in_progress
option in_progress
Definition: nat44_ei.api:590
vl_api_nat44_ei_worker_details_t::lcore_id
u32 lcore_id
Definition: nat44_ei.api:151
vl_api_nat44_ei_ha_set_listener_t::in_progress
option in_progress
Definition: nat44_ei.api:293
vl_api_nat44_ei_set_addr_and_port_alloc_alg_t::context
u32 context
Definition: nat44_ei.api:204
vl_api_nat44_ei_add_del_static_mapping_t::context
u32 context
Definition: nat44_ei.api:572
vl_api_nat44_ei_static_mapping_details_t::local_port
u16 local_port
Definition: nat44_ei.api:614
vl_api_nat44_ei_del_session_t::in_progress
option in_progress
Definition: nat44_ei.api:802
vl_api_nat44_ei_add_del_static_mapping_t::client_index
u32 client_index
Definition: nat44_ei.api:571
vl_api_nat44_ei_user_session_details_t::ext_host_address
vl_api_ip4_address_t ext_host_address
Definition: nat44_ei.api:783
vl_api_nat44_ei_get_addr_and_port_alloc_alg_reply_t::context
u32 context
Definition: nat44_ei.api:237
vl_api_nat44_ei_del_session_t::client_index
u32 client_index
Definition: nat44_ei.api:803
vl_api_nat44_ei_set_addr_and_port_alloc_alg_t::end_port
u16 end_port
Definition: nat44_ei.api:210
vl_api_nat44_ei_user_session_dump_t::ip_address
vl_api_ip4_address_t ip_address
Definition: nat44_ei.api:753
vl_api_nat44_ei_ha_set_failover_t::ip_address
vl_api_ip4_address_t ip_address
Definition: nat44_ei.api:313
vl_api_nat44_ei_forwarding_enable_disable_t::client_index
u32 client_index
Definition: nat44_ei.api:823
vl_api_nat44_ei_ha_get_failover_t::client_index
u32 client_index
Definition: nat44_ei.api:350
vl_api_nat44_ei_ha_resync_t::pid
u32 pid
Definition: nat44_ei.api:395
vl_api_nat44_ei_ha_resync_completed_event_t::in_progress
option in_progress
Definition: nat44_ei.api:405
vl_api_nat44_ei_ipfix_enable_disable_t::client_index
u32 client_index
Definition: nat44_ei.api:164
vl_api_nat44_ei_set_log_level_t::context
u32 context
Definition: nat44_ei.api:115
vl_api_nat44_ei_add_del_static_mapping_t::tag
string tag[64]
Definition: nat44_ei.api:582
vl_api_nat44_ei_interface_dump_t::context
u32 context
Definition: nat44_ei.api:494
vl_api_nat44_ei_ha_get_listener_reply_t::ip_address
vl_api_ip4_address_t ip_address
Definition: nat44_ei.api:339
vl_api_nat44_ei_get_addr_and_port_alloc_alg_reply_t::deprecated
option deprecated
Definition: nat44_ei.api:236
vl_api_nat44_ei_del_session_t::ext_host_port
u16 ext_host_port
Definition: nat44_ei.api:811
vl_api_nat44_ei_get_addr_and_port_alloc_alg_reply_t::start_port
u16 start_port
Definition: nat44_ei.api:243
vl_api_nat44_ei_show_fq_options_reply_t::retval
i32 retval
Definition: nat44_ei.api:860
vl_api_nat44_ei_set_log_level_t::deprecated
option deprecated
Definition: nat44_ei.api:113
vl_api_nat44_ei_static_mapping_details_t::flags
vl_api_nat44_ei_config_flags_t flags
Definition: nat44_ei.api:610
vl_api_nat44_ei_interface_details_t::context
u32 context
Definition: nat44_ei.api:507
vl_api_nat44_ei_show_running_config_reply_t::retval
i32 retval
Definition: nat44_ei.api:92
vl_api_nat44_ei_interface_details_t
NAT44 interface details response.
Definition: nat44_ei.api:505
vl_api_nat44_ei_show_running_config_reply_t::user_sessions
u32 user_sessions
Definition: nat44_ei.api:97
vl_api_nat44_ei_identity_mapping_dump_t
Dump NAT44 identity mappings.
Definition: nat44_ei.api:652
vl_api_nat44_ei_identity_mapping_details_t::flags
vl_api_nat44_ei_config_flags_t flags
Definition: nat44_ei.api:671
vl_api_nat44_ei_ha_set_failover_t::client_index
u32 client_index
Definition: nat44_ei.api:311
vl_api_nat44_ei_del_session_t::flags
vl_api_nat44_ei_config_flags_t flags
Definition: nat44_ei.api:809
NAT44_EI_CONNECTION_TRACKING
@ NAT44_EI_CONNECTION_TRACKING
Definition: nat44_ei.api:25
vl_api_nat44_ei_add_del_address_range_t::in_progress
option in_progress
Definition: nat44_ei.api:439
vl_api_nat44_ei_identity_mapping_details_t::deprecated
option deprecated
Definition: nat44_ei.api:669
vl_api_nat44_ei_user_dump_t::in_progress
option in_progress
Definition: nat44_ei.api:722
nat44_ei_add_del_static_mapping
int nat44_ei_add_del_static_mapping(ip4_address_t l_addr, ip4_address_t e_addr, u16 l_port, u16 e_port, nat_protocol_t proto, u32 sw_if_index, u32 vrf_id, u8 addr_only, u8 identity_nat, u8 *tag, u8 is_add)
Add/delete NAT44-EI static mapping.
Definition: nat44_ei.c:1853
vl_api_nat44_ei_add_del_address_range_t::vrf_id
u32 vrf_id
Definition: nat44_ei.api:444
vl_api_nat44_ei_show_running_config_reply_t::context
u32 context
Definition: nat44_ei.api:91
vl_api_nat44_ei_ha_get_failover_reply_t
Get HA failover/remote settings reply.
Definition: nat44_ei.api:362
NAT44_EI_IF_OUTSIDE
@ NAT44_EI_IF_OUTSIDE
Definition: nat44_ei.api:29
vl_api_nat44_ei_ha_resync_completed_event_t
Tell client about a HA resync completion event.
Definition: nat44_ei.api:403
vl_api_nat44_ei_ha_get_failover_reply_t::retval
i32 retval
Definition: nat44_ei.api:365
vl_api_nat44_ei_interface_add_del_feature_t::is_add
bool is_add
Definition: nat44_ei.api:482
vl_api_nat44_ei_identity_mapping_details_t::port
u16 port
Definition: nat44_ei.api:674
events
static perfmon_event_t events[]
Definition: core.c:21
vl_api_nat44_ei_show_running_config_t::client_index
u32 client_index
Definition: nat44_ei.api:70
vl_api_nat44_ei_add_del_interface_addr_t::flags
vl_api_nat44_ei_config_flags_t flags
Definition: nat44_ei.api:693
vl_api_nat44_ei_ha_set_failover_t
Set HA failover (remote settings)
Definition: nat44_ei.api:309
vl_api_nat44_ei_show_running_config_reply_t::ipfix_logging_enabled
bool ipfix_logging_enabled
Definition: nat44_ei.api:101
vl_api_nat44_ei_ha_get_listener_reply_t::context
u32 context
Definition: nat44_ei.api:337
vl_api_nat44_ei_set_timeouts_t::client_index
u32 client_index
Definition: nat44_ei.api:181
vl_api_nat44_ei_user_details_t
NAT44 users response.
Definition: nat44_ei.api:734
vl_api_nat44_ei_del_session_t::ext_host_address
vl_api_ip4_address_t ext_host_address
Definition: nat44_ei.api:810
vl_api_nat44_ei_static_mapping_details_t
NAT44 static mapping details response.
Definition: nat44_ei.api:607
vl_api_nat44_ei_identity_mapping_details_t::tag
string tag[64]
Definition: nat44_ei.api:677
vl_api_nat44_ei_forwarding_enable_disable_t::context
u32 context
Definition: nat44_ei.api:824
nat44_ei_del_session
int nat44_ei_del_session(nat44_ei_main_t *nm, ip4_address_t *addr, u16 port, nat_protocol_t proto, u32 vrf_id, int is_in)
Delete NAT44-EI session.
Definition: nat44_ei.c:1785
vl_api_nat44_ei_interface_add_del_output_feature_t::deprecated
option deprecated
Definition: nat44_ei.api:522
vl_api_nat44_ei_interface_output_feature_dump_t::deprecated
option deprecated
Definition: nat44_ei.api:535
vl_api_nat44_ei_static_mapping_details_t::external_ip_address
vl_api_ip4_address_t external_ip_address
Definition: nat44_ei.api:612
vl_api_nat44_ei_show_running_config_reply_t::sessions
u32 sessions
Definition: nat44_ei.api:96
vl_api_nat44_ei_del_session_t::port
u16 port
Definition: nat44_ei.api:807
vl_api_nat44_ei_add_del_identity_mapping_t::context
u32 context
Definition: nat44_ei.api:637
vl_api_nat44_ei_interface_add_del_feature_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: nat44_ei.api:484
vl_api_nat44_ei_ipfix_enable_disable_t::domain_id
u32 domain_id
Definition: nat44_ei.api:166
vl_api_nat44_ei_forwarding_enable_disable_t::in_progress
option in_progress
Definition: nat44_ei.api:822
vl_api_nat44_ei_ha_get_failover_reply_t::context
u32 context
Definition: nat44_ei.api:364
vl_api_nat44_ei_interface_addr_details_t
NAT44 pool addresses interfaces details response.
Definition: nat44_ei.api:711
vl_api_nat44_ei_del_user_t
Del NAT44 user.
Definition: nat44_ei.api:421
vl_api_nat44_ei_ha_set_failover_t::port
u16 port
Definition: nat44_ei.api:314
vl_api_nat44_ei_get_addr_and_port_alloc_alg_reply_t
Get address and port assignment algorithm reply.
Definition: nat44_ei.api:235
vl_api_nat44_ei_interface_add_del_output_feature_t::is_add
bool is_add
Definition: nat44_ei.api:525
vl_api_nat44_ei_get_mss_clamping_reply_t
Get TCP MSS rewriting configuration reply.
Definition: nat44_ei.api:277
vl_api_nat44_ei_show_fq_options_t
Show NAT handoff frame queue options.
Definition: nat44_ei.api:844
vl_api_nat44_ei_show_running_config_reply_t::in_progress
option in_progress
Definition: nat44_ei.api:90
vl_api_nat44_ei_ha_get_listener_reply_t::deprecated
option deprecated
Definition: nat44_ei.api:336
vl_api_nat44_ei_address_dump_t::context
u32 context
Definition: nat44_ei.api:455
vl_api_nat44_ei_set_timeouts_t::icmp
u32 icmp
Definition: nat44_ei.api:186
vl_api_nat44_ei_set_fq_options_t::client_index
u32 client_index
Definition: nat44_ei.api:835
vl_api_nat44_ei_show_running_config_reply_t::timeouts
vl_api_nat_timeouts_t timeouts
Definition: nat44_ei.api:102
vl_api_nat44_ei_ha_get_listener_reply_t
Get HA listener/local configuration reply.
Definition: nat44_ei.api:335
vl_api_nat44_ei_set_log_level_t::client_index
u32 client_index
Definition: nat44_ei.api:114
vl_api_nat44_ei_ipfix_enable_disable_t
Enable/disable NAT IPFIX logging.
Definition: nat44_ei.api:162
vl_api_nat44_ei_worker_dump_t::client_index
u32 client_index
Definition: nat44_ei.api:137
vl_api_nat44_ei_user_session_dump_t::vrf_id
u32 vrf_id
Definition: nat44_ei.api:754
vl_api_nat44_ei_interface_add_del_output_feature_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: nat44_ei.api:527
vl_api_nat44_ei_show_running_config_reply_t::forwarding_enabled
bool forwarding_enabled
Definition: nat44_ei.api:100
vl_api_nat44_ei_interface_add_del_feature_t
Enable/disable NAT44 feature on the interface.
Definition: nat44_ei.api:478
vl_api_nat44_ei_add_del_address_range_t::context
u32 context
Definition: nat44_ei.api:441
vl_api_nat44_ei_add_del_static_mapping_t::external_sw_if_index
vl_api_interface_index_t external_sw_if_index
Definition: nat44_ei.api:580
vl_api_nat44_ei_add_del_identity_mapping_t::port
u16 port
Definition: nat44_ei.api:642
vl_api_nat44_ei_set_addr_and_port_alloc_alg_t::client_index
u32 client_index
Definition: nat44_ei.api:203
vl_api_nat44_ei_add_del_identity_mapping_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: nat44_ei.api:643
vl_api_nat44_ei_get_addr_and_port_alloc_alg_t::deprecated
option deprecated
Definition: nat44_ei.api:218
u64
unsigned long u64
Definition: types.h:89
vl_api_nat44_ei_add_del_interface_addr_t::context
u32 context
Definition: nat44_ei.api:690
vl_api_nat44_ei_address_dump_t::in_progress
option in_progress
Definition: nat44_ei.api:453
vl_api_nat44_ei_show_running_config_reply_t::inside_vrf
u32 inside_vrf
Definition: nat44_ei.api:93
vl_api_nat44_ei_identity_mapping_details_t::context
u32 context
Definition: nat44_ei.api:670
vl_api_nat44_ei_user_details_t::in_progress
option in_progress
Definition: nat44_ei.api:735
vl_api_nat44_ei_interface_add_del_output_feature_t::context
u32 context
Definition: nat44_ei.api:524
vl_api_nat44_ei_get_mss_clamping_reply_t::deprecated
option deprecated
Definition: nat44_ei.api:278
vl_api_nat44_ei_add_del_interface_addr_t::is_add
bool is_add
Definition: nat44_ei.api:691
vl_api_nat44_ei_set_timeouts_t::tcp_transitory
u32 tcp_transitory
Definition: nat44_ei.api:185
vl_api_nat44_ei_interface_addr_dump_t::context
u32 context
Definition: nat44_ei.api:703
vl_api_nat44_ei_user_session_details_t
NAT44 user's sessions response.
Definition: nat44_ei.api:771
vl_api_nat44_ei_add_del_address_range_t::is_add
bool is_add
Definition: nat44_ei.api:445
vl_api_nat44_ei_set_fq_options_t
Set NAT handoff frame queue options.
Definition: nat44_ei.api:833
u32
unsigned int u32
Definition: types.h:88
vl_api_nat44_ei_identity_mapping_dump_t::client_index
u32 client_index
Definition: nat44_ei.api:654
vl_api_nat44_ei_user_dump_t
Dump NAT44 users.
Definition: nat44_ei.api:721
vl_api_nat44_ei_ha_get_failover_t::deprecated
option deprecated
Definition: nat44_ei.api:349
vl_api_nat44_ei_forwarding_enable_disable_t
Enable/disable forwarding for NAT44 Forward packets which don't match existing translation or static ...
Definition: nat44_ei.api:821
vl_api_nat44_ei_interface_output_feature_details_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: nat44_ei.api:550
vl_api_nat44_ei_ipfix_enable_disable_t::in_progress
option in_progress
Definition: nat44_ei.api:163
vl_api_nat44_ei_user_session_details_t::total_pkts
u32 total_pkts
Definition: nat44_ei.api:782
vl_api_nat44_ei_ha_resync_t::client_index
u32 client_index
Definition: nat44_ei.api:392
nat44_ei_config_flags
nat44_ei_config_flags
Definition: nat44_ei.api:21
vl_api_nat44_ei_set_timeouts_t::in_progress
option in_progress
Definition: nat44_ei.api:180
vl_api_nat44_ei_get_addr_and_port_alloc_alg_t::client_index
u32 client_index
Definition: nat44_ei.api:219
vl_api_nat44_ei_set_addr_and_port_alloc_alg_t::in_progress
option in_progress
Definition: nat44_ei.api:202
vl_api_nat44_ei_interface_addr_details_t::context
u32 context
Definition: nat44_ei.api:713
nat44_ei_interface_add_del_output_feature
int nat44_ei_interface_add_del_output_feature(u32 sw_if_index, u8 is_inside, int is_del)
Definition: nat44_ei.c:747
vl_api_nat44_ei_set_mss_clamping_t::in_progress
option in_progress
Definition: nat44_ei.api:254
version
option version
Definition: nat44_ei.api:16
nat44_ei_set_workers
int nat44_ei_set_workers(uword *bitmap)
Definition: nat44_ei.c:252
vl_api_nat44_ei_interface_add_del_output_feature_t::flags
vl_api_nat44_ei_config_flags_t flags
Definition: nat44_ei.api:526
vl_api_nat44_ei_worker_details_t::name
string name[64]
Definition: nat44_ei.api:152
vl_api_nat44_ei_ha_set_failover_t::session_refresh_interval
u32 session_refresh_interval
Definition: nat44_ei.api:315
vl_api_nat44_ei_set_workers_t::context
u32 context
Definition: nat44_ei.api:127
vl_api_nat44_ei_user_session_details_t::total_bytes
u64 total_bytes
Definition: nat44_ei.api:781
vl_api_nat44_ei_ipfix_enable_disable_t::src_port
u16 src_port
Definition: nat44_ei.api:167
vl_api_nat44_ei_set_fq_options_t::in_progress
option in_progress
Definition: nat44_ei.api:834
vl_api_nat44_ei_ha_get_listener_reply_t::path_mtu
u32 path_mtu
Definition: nat44_ei.api:341
vl_api_nat44_ei_address_dump_t::client_index
u32 client_index
Definition: nat44_ei.api:454
vl_api_nat44_ei_worker_details_t::context
u32 context
Definition: nat44_ei.api:149
vl_api_nat44_ei_del_user_t::context
u32 context
Definition: nat44_ei.api:424
vl_api_nat44_ei_ha_flush_t::client_index
u32 client_index
Definition: nat44_ei.api:377
vl_api_nat44_ei_address_details_t::vrf_id
u32 vrf_id
Definition: nat44_ei.api:467
vl_api_nat44_ei_ha_resync_completed_event_t::pid
u32 pid
Definition: nat44_ei.api:407
vl_api_nat44_ei_get_addr_and_port_alloc_alg_reply_t::psid_length
u8 psid_length
Definition: nat44_ei.api:241
vl_api_nat44_ei_worker_details_t::worker_index
u32 worker_index
Definition: nat44_ei.api:150
vl_api_nat44_ei_get_addr_and_port_alloc_alg_reply_t::psid
u16 psid
Definition: nat44_ei.api:242
vl_api_nat44_ei_get_mss_clamping_reply_t::mss_value
u16 mss_value
Definition: nat44_ei.api:281
vl_api_nat44_ei_set_mss_clamping_t::enable
bool enable
Definition: nat44_ei.api:258
u8
unsigned char u8
Definition: types.h:56
vl_api_nat44_ei_get_mss_clamping_reply_t::retval
i32 retval
Definition: nat44_ei.api:280
vl_api_nat44_ei_address_details_t::in_progress
option in_progress
Definition: nat44_ei.api:464
vl_api_nat44_ei_ha_resync_completed_event_t::missed_count
u32 missed_count
Definition: nat44_ei.api:408
vl_api_nat44_ei_interface_add_del_output_feature_t
Enable/disbale NAT44 as an interface output feature (postrouting in2out translation)
Definition: nat44_ei.api:521
vl_api_nat44_ei_worker_details_t
NAT workers details response.
Definition: nat44_ei.api:147
vl_api_nat44_ei_get_mss_clamping_reply_t::enable
bool enable
Definition: nat44_ei.api:282
vl_api_nat44_ei_plugin_enable_disable_t
Enable/disable NAT44 plugin.
Definition: nat44_ei.api:48
vl_api_nat44_ei_interface_dump_t::client_index
u32 client_index
Definition: nat44_ei.api:493
vl_api_nat44_ei_interface_output_feature_details_t::deprecated
option deprecated
Definition: nat44_ei.api:547
vl_api_nat44_ei_plugin_enable_disable_t::in_progress
option in_progress
Definition: nat44_ei.api:49
vl_api_nat44_ei_set_workers_t::worker_mask
u64 worker_mask
Definition: nat44_ei.api:128
vl_api_nat44_ei_user_session_details_t::last_heard
u64 last_heard
Definition: nat44_ei.api:780
vl_api_nat44_ei_ha_get_failover_reply_t::ip_address
vl_api_ip4_address_t ip_address
Definition: nat44_ei.api:366
vl_api_nat44_ei_static_mapping_dump_t::client_index
u32 client_index
Definition: nat44_ei.api:591
vl_api_nat44_ei_ha_resync_t
Resync HA (resend existing sessions to new failover)
Definition: nat44_ei.api:389
vl_api_nat44_ei_worker_details_t::in_progress
option in_progress
Definition: nat44_ei.api:148
vl_api_nat44_ei_get_addr_and_port_alloc_alg_reply_t::retval
i32 retval
Definition: nat44_ei.api:238
vl_api_nat44_ei_ha_get_listener_reply_t::retval
i32 retval
Definition: nat44_ei.api:338
vl_api_nat44_ei_show_running_config_t::in_progress
option in_progress
Definition: nat44_ei.api:69
vl_api_nat44_ei_del_session_t
Delete NAT44 session.
Definition: nat44_ei.api:801
vl_api_nat44_ei_ha_get_failover_t
Get HA failover/remote settings.
Definition: nat44_ei.api:348
vl_api_nat44_ei_ha_resync_t::context
u32 context
Definition: nat44_ei.api:393
vl_api_nat44_ei_get_mss_clamping_t::client_index
u32 client_index
Definition: nat44_ei.api:267
vl_api_nat44_ei_static_mapping_details_t::local_ip_address
vl_api_ip4_address_t local_ip_address
Definition: nat44_ei.api:611
vl_api_nat44_ei_set_timeouts_t::udp
u32 udp
Definition: nat44_ei.api:183
vl_api_nat44_ei_show_fq_options_t::in_progress
option in_progress
Definition: nat44_ei.api:846
vl_api_nat44_ei_interface_addr_dump_t::client_index
u32 client_index
Definition: nat44_ei.api:702
vl_api_nat44_ei_plugin_enable_disable_t::client_index
u32 client_index
Definition: nat44_ei.api:50
vl_api_nat44_ei_add_del_address_range_t::first_ip_address
vl_api_ip4_address_t first_ip_address
Definition: nat44_ei.api:442
vl_api_nat44_ei_del_session_t::context
u32 context
Definition: nat44_ei.api:804
NAT44_EI_NONE
@ NAT44_EI_NONE
Definition: nat44_ei.api:23
vl_api_nat44_ei_plugin_enable_disable_t::outside_vrf
u32 outside_vrf
Definition: nat44_ei.api:53
vl_api_nat44_ei_interface_details_t::in_progress
option in_progress
Definition: nat44_ei.api:506
vl_api_nat44_ei_add_del_interface_addr_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: nat44_ei.api:692
vl_api_nat44_ei_user_dump_t::client_index
u32 client_index
Definition: nat44_ei.api:723
vl_api_nat44_ei_plugin_enable_disable_t::context
u32 context
Definition: nat44_ei.api:51
vl_api_nat44_ei_interface_add_del_feature_t::in_progress
option in_progress
Definition: nat44_ei.api:479
vl_api_nat44_ei_add_del_identity_mapping_t::vrf_id
u32 vrf_id
Definition: nat44_ei.api:644
vl_api_nat44_ei_ha_flush_t::context
u32 context
Definition: nat44_ei.api:378
vl_api_nat44_ei_get_mss_clamping_reply_t::context
u32 context
Definition: nat44_ei.api:279
vl_api_nat44_ei_set_timeouts_t::tcp_established
u32 tcp_established
Definition: nat44_ei.api:184
vl_api_nat44_ei_ha_set_listener_t::context
u32 context
Definition: nat44_ei.api:295
vl_api_nat44_ei_plugin_enable_disable_t::session_memory
u32 session_memory
Definition: nat44_ei.api:57
vl_api_nat44_ei_show_fq_options_reply_t
Show NAT handoff frame queue options reply.
Definition: nat44_ei.api:856
vl_api_nat44_ei_del_session_t::address
vl_api_ip4_address_t address
Definition: nat44_ei.api:805
vl_api_nat44_ei_user_session_details_t::in_progress
option in_progress
Definition: nat44_ei.api:772
vl_api_nat44_ei_user_session_dump_t
NAT44 user's sessions.
Definition: nat44_ei.api:749
vl_api_nat44_ei_ha_set_listener_t::port
u16 port
Definition: nat44_ei.api:297
vl_api_nat44_ei_add_del_static_mapping_t::external_port
u16 external_port
Definition: nat44_ei.api:579
vl_api_nat44_ei_add_del_identity_mapping_t::tag
string tag[64]
Definition: nat44_ei.api:645
vl_api_nat44_ei_del_session_t::protocol
u8 protocol
Definition: nat44_ei.api:806
vl_api_nat44_ei_ipfix_enable_disable_t::context
u32 context
Definition: nat44_ei.api:165
vl_api_nat44_ei_identity_mapping_details_t
NAT44 identity mapping details response.
Definition: nat44_ei.api:668
vl_api_nat44_ei_plugin_enable_disable_t::inside_vrf
u32 inside_vrf
Definition: nat44_ei.api:52
vl_api_nat44_ei_interface_add_del_feature_t::flags
vl_api_nat44_ei_config_flags_t flags
Definition: nat44_ei.api:483
vl_api_nat44_ei_show_fq_options_reply_t::frame_queue_nelts
u32 frame_queue_nelts
Definition: nat44_ei.api:861
vl_api_nat44_ei_ha_set_listener_t::ip_address
vl_api_ip4_address_t ip_address
Definition: nat44_ei.api:296
vl_api_nat44_ei_ha_flush_t::in_progress
option in_progress
Definition: nat44_ei.api:376
vl_api_nat44_ei_show_running_config_reply_t::log_level
vl_api_nat_log_level_t log_level
Definition: nat44_ei.api:103
vl_api_nat44_ei_user_session_dump_t::context
u32 context
Definition: nat44_ei.api:752
vl_api_nat44_ei_ha_get_listener_t::deprecated
option deprecated
Definition: nat44_ei.api:323
vl_api_nat44_ei_add_del_address_range_t
Add/del NAT44 address range.
Definition: nat44_ei.api:438
vl_api_nat44_ei_interface_add_del_feature_t::client_index
u32 client_index
Definition: nat44_ei.api:480
vl_api_nat44_ei_add_del_identity_mapping_t::flags
vl_api_nat44_ei_config_flags_t flags
Definition: nat44_ei.api:639
vl_api_nat44_ei_static_mapping_details_t::external_port
u16 external_port
Definition: nat44_ei.api:615
vl_api_nat44_ei_address_details_t::context
u32 context
Definition: nat44_ei.api:465
vl_api_nat44_ei_address_details_t
NAT44 address details response.
Definition: nat44_ei.api:463
vl_api_nat44_ei_plugin_enable_disable_t::user_sessions
u32 user_sessions
Definition: nat44_ei.api:58
vl_api_nat44_ei_identity_mapping_details_t::ip_address
vl_api_ip4_address_t ip_address
Definition: nat44_ei.api:672
vl_api_nat44_ei_static_mapping_details_t::in_progress
option in_progress
Definition: nat44_ei.api:608
vl_api_nat44_ei_get_addr_and_port_alloc_alg_t::context
u32 context
Definition: nat44_ei.api:220
vl_api_nat44_ei_plugin_enable_disable_t::users
u32 users
Definition: nat44_ei.api:54
vl_api_nat44_ei_worker_dump_t::in_progress
option in_progress
Definition: nat44_ei.api:136
vl_api_nat44_ei_set_addr_and_port_alloc_alg_t::psid_offset
u8 psid_offset
Definition: nat44_ei.api:206
vl_api_nat44_ei_address_dump_t
Dump NAT44 addresses.
Definition: nat44_ei.api:452
vl_api_nat44_ei_ha_set_failover_t::in_progress
option in_progress
Definition: nat44_ei.api:310
vl_api_nat44_ei_ha_get_failover_reply_t::deprecated
option deprecated
Definition: nat44_ei.api:363
vl_api_nat44_ei_ha_set_listener_t::path_mtu
u32 path_mtu
Definition: nat44_ei.api:298
vl_api_nat44_ei_set_timeouts_t
Set values of timeouts for NAT sessions (seconds)
Definition: nat44_ei.api:179
vl_api_nat44_ei_user_session_details_t::context
u32 context
Definition: nat44_ei.api:773
vl_api_nat44_ei_static_mapping_dump_t::context
u32 context
Definition: nat44_ei.api:592
vl_api_nat44_ei_show_fq_options_t::client_index
u32 client_index
Definition: nat44_ei.api:847