api: Cleanup APIs interface.api
[vpp.git] / src / vnet / ip / ip_types_api.h
index 4c79bf1..09ca0e6 100644 (file)
@@ -23,6 +23,7 @@
 #include <vnet/ip/ip.h>
 #include <vnet/fib/fib_types.h>
 #include <vnet/mfib/mfib_types.h>
+#include <vlibapi/api_types.h>
 
 /**
  * Forward declarations so we need not #include the API definitions here
@@ -41,6 +42,8 @@ extern int ip_address_family_decode (int _af, ip_address_family_t * out);
 extern int ip_address_family_encode (ip_address_family_t af);
 extern int ip_proto_decode (int _af, ip_protocol_t * out);
 extern int ip_proto_encode (ip_protocol_t af);
+extern ip_dscp_t ip_dscp_decode (u8 _dscp);
+extern u8 ip_dscp_encode (ip_dscp_t dscp);
 
 /**
  * Decode/Encode for struct/union types