ip: add support for buffer offload metadata in ip midchain
[vpp.git] / src / vnet / adj / adj_nbr.h
index 5d0f844..4874e73 100644 (file)
@@ -75,6 +75,13 @@ extern adj_index_t adj_nbr_add_or_lock_w_rewrite(fib_protocol_t nh_proto,
                                                 const ip46_address_t *nh_addr,
                                                 u32 sw_if_index,
                                                 u8 *rewrite);
+
+/**
+ * Set the MTU on an adjacency
+ *
+ */
+extern void adj_nbr_set_mtu(adj_index_t ai, u16 mtu);
+
 /**
  * @brief When adding a rewrite to an adjacency these are flags that
  * apply to that rewrite
@@ -91,7 +98,7 @@ typedef enum adj_nbr_rewrite_flag_t_
 
     /**
      * An indication that the rewrite is complete, i.e. that it fully describes
-     * the link-layer addressing for the desintation.
+     * the link-layer addressing for the destintation.
      * The opposite of this is an incomplete rewrite that describes the ARP/ND
      * rewrite when probing.
      */