diff options
author | Dave Barach <dave@barachs.net> | 2018-10-18 15:37:49 -0400 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-10-19 07:06:07 +0000 |
commit | bf3443b0f852f5a4c551d12f926defbd047f2161 (patch) | |
tree | 533966f8461d3c0af618435047f215a85e99aa87 /src/vnet/pg/edit.h | |
parent | ecbd20b6e9a2291908bb51a9b708a11eb86010b3 (diff) |
Add pool_get_zero, pool_get_aligned_zero macros
Shorthand for the pattern:
pool_get (<pool>, ep);
memset (ep, 0, sizeof(*ep));
Should have done this years ago.
Change-Id: Ideeb27a79ff4ca3e9a077c973b297671d1fa2d26
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet/pg/edit.h')
0 files changed, 0 insertions, 0 deletions