ip: Replace Sematics for Interface IP addresses
[vpp.git] / src / plugins / gbp / gbp_subnet.h
index b6906de..6fbef01 100644 (file)
@@ -23,12 +23,14 @@ typedef enum gbp_subnet_type_t_
   GBP_SUBNET_TRANSPORT,
   GBP_SUBNET_STITCHED_INTERNAL,
   GBP_SUBNET_STITCHED_EXTERNAL,
+  GBP_SUBNET_L3_OUT,
+  GBP_SUBNET_ANON_L3_OUT,
 } gbp_subnet_type_t;
 
 extern int gbp_subnet_add (u32 rd_id,
                           const fib_prefix_t * pfx,
                           gbp_subnet_type_t type,
-                          u32 sw_if_index, epg_id_t epg);
+                          u32 sw_if_index, sclass_t sclass);
 
 extern int gbp_subnet_del (u32 rd_id, const fib_prefix_t * pfx);
 
@@ -36,7 +38,7 @@ typedef walk_rc_t (*gbp_subnet_cb_t) (u32 rd_id,
                                      const fib_prefix_t * pfx,
                                      gbp_subnet_type_t type,
                                      u32 sw_if_index,
-                                     epg_id_t epg, void *ctx);
+                                     sclass_t sclass, void *ctx);
 
 extern void gbp_subnet_walk (gbp_subnet_cb_t cb, void *ctx);