3 * @brief Kernel - user space transmition structures
7 #ifndef _TRAFFIC_CONTROL_TRAFFIC_STAT_TRANSMITION_H_
8 #define _TRAFFIC_CONTROL_TRAFFIC_STAT_TRANSMITION_H_
10 #include <linux/socket.h>
11 #include <linux/types.h>
13 #include <netinet/in.h>
14 #include <sys/types.h>
17 /* Used both in kernel module and in control daemon */
20 * @brief Entity for outgoing and incomming packet counter information.
21 * Used for serialization.
23 struct traffic_event {
29 enum traffic_restriction_type {
38 * @brief Traffic restriction structure for serialization
39 * type - traffic_restriction_type
41 struct traffic_restriction {
47 int snd_warning_threshold;
48 int rcv_warning_threshold;
51 #define RESOURCED_ALL_IFINDEX 1
53 #endif /*TRAFFIC_CONTROL_TRAFFIC_STAT_TRANSMITION */