18 import "vnet/interface_types.api";
19 import "vnet/ip/ip_types.api";
40 vl_api_ip4_address_t
src;
41 vl_api_ip4_address_t
dst;
50 vl_api_ip4_address_t
src;
51 vl_api_ip4_address_t
dst;
54 vl_api_pnat_mask_t
mask;
64 vl_api_pnat_match_tuple_t
match;
68 autoendian define pnat_binding_add_reply
101 rpc pnat_bindings_get returns pnat_bindings_get_reply
102 stream pnat_bindings_details;
103 rpc pnat_interfaces_get returns pnat_interfaces_get_reply
107 define pnat_bindings_get
114 define pnat_bindings_get_reply
121 define pnat_bindings_details
128 define pnat_interfaces_get
135 define pnat_interfaces_get_reply
147 vl_api_pnat_mask_t lookup_mask[2];
155 description
"successfully rewritten";
162 description
"rewrite failed";
168 description
"packet too short for rewrite";
173 "/err/pnat-input" "pnat";
174 "/err/pnat-output" "pnat";