diff options
author | Dave Barach <dave@barachs.net> | 2019-06-03 10:23:30 -0400 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-06-04 07:47:24 +0000 |
commit | 0c6ac791dde099346af1752aa92d0eb05fc2db11 (patch) | |
tree | f6dade9bb0beae5efb79cb04feb1fc62ed894679 /src/plugins/mactime/mactime.h | |
parent | d5cf64f8c2a08d2f41327cc99dd2d96f77d82ca3 (diff) |
mactime: upstream new features
Add per mac address data quotas (simple version)
Add mini-ACLs to turf "call home" traffic from a certain species of
security DVR.
Add FEATURE.yaml
Update the API version number
Type: feature
Feature-name: mactime
Change-Id: Ida6945f7791ab43909afa68dcf2f652b20c53afd
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/plugins/mactime/mactime.h')
-rw-r--r-- | src/plugins/mactime/mactime.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/mactime/mactime.h b/src/plugins/mactime/mactime.h index 8d4165212a4..928d7e940b6 100644 --- a/src/plugins/mactime/mactime.h +++ b/src/plugins/mactime/mactime.h @@ -36,6 +36,7 @@ typedef struct { u8 *device_name; u8 mac_address[6]; + u64 data_quota; u32 flags; clib_timebase_range_t *ranges; } mactime_device_t; @@ -45,6 +46,7 @@ typedef struct #define MACTIME_DEVICE_FLAG_STATIC_ALLOW (1<<1) #define MACTIME_DEVICE_FLAG_DYNAMIC_DROP (1<<2) #define MACTIME_DEVICE_FLAG_DYNAMIC_ALLOW (1<<3) +#define MACTIME_DEVICE_FLAG_DROP_UDP_10001 (1<<4) typedef struct { |