mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Remove un-necessary VLANid type in order to simplify code and avoid un-necessary and's
This commit is contained in:
parent
02e27e388a
commit
05ecf9eb90
42 changed files with 209 additions and 194 deletions
|
|
@ -36,10 +36,10 @@ class AlertsQueue {
|
|||
AlertsQueue(NetworkInterface *iface);
|
||||
|
||||
void pushOutsideDhcpRangeAlert(u_int8_t* cli_mac, Mac *sender_mac,
|
||||
u_int32_t ip, u_int32_t router_ip, VLANid vlan_id);
|
||||
u_int32_t ip, u_int32_t router_ip, u_int16_t vlan_id);
|
||||
void pushMacIpAssociationChangedAlert(u_int32_t ip, u_int8_t *old_mac, u_int8_t *new_mac, Mac *new_host_mac);
|
||||
void pushBroadcastDomainTooLargeAlert(const u_int8_t *src_mac, const u_int8_t *dst_mac,
|
||||
u_int32_t spa, u_int32_t tpa, VLANid vlan_id);
|
||||
u_int32_t spa, u_int32_t tpa, u_int16_t vlan_id);
|
||||
void pushLoginTrace(const char*user, bool authorized);
|
||||
void pushNfqFlushedAlert(int queue_len, int queue_len_pct, int queue_dropped);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue