X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvlib%2Fmain.h;h=8b6f94786196ccd0be12ee1f5eb462bacbe16831;hb=6a5adc369591fcac2447e9809deaa22f56b53911;hp=16e4120067d68fa676bb1a0083c0df32460d83a4;hpb=2a3fb1a28b170ac1d37815983611e83d148811d4;p=vpp.git diff --git a/src/vlib/main.h b/src/vlib/main.h index 16e4120067d..8b6f9478619 100644 --- a/src/vlib/main.h +++ b/src/vlib/main.h @@ -100,8 +100,13 @@ typedef struct vlib_main_t /* Name for e.g. syslog. */ char *name; - /* Start and size of CLIB heap. */ + /* Start of the heap. */ void *heap_base; + + /* Truncated version, to create frame indices */ + void *heap_aligned_base; + + /* Size of the heap */ uword heap_size; /* Pool of buffer free lists. */