ipsec: ipsec-tun protect
[vpp.git] / src / vnet / buffer.h
index 5114dc6..812fe74 100644 (file)
@@ -188,8 +188,8 @@ typedef struct
          /* in/out variables */
          struct
          {
-           u32 next_index;     /* index of next node - ignored if "feature" node */
-           u32 error_next_index;       /* index of next node if error - ignored if 'feature' node */
+           u32 next_index;     /* index of next node - used by custom apps */
+           u32 error_next_index;       /* index of next node if error - used by custom apps */
            u16 estimated_mtu;  /* estimated MTU calculated during reassembly */
            u16 owner_thread_index;
          };
@@ -239,9 +239,9 @@ typedef struct
     {
       u32 feature_bitmap;
       u16 bd_index;            /* bridge-domain index */
+      u16 l2fib_sn;            /* l2fib bd/int seq_num */
       u8 l2_len;               /* ethernet header length */
       u8 shg;                  /* split-horizon group */
-      u16 l2fib_sn;            /* l2fib bd/int seq_num */
       u8 bd_age;               /* aging enabled */
     } l2;
 
@@ -276,6 +276,7 @@ typedef struct
     struct
     {
       u32 sad_index;
+      u32 protect_index;
     } ipsec;
 
     /* MAP */