GIT.Harvie.CZ
/
svn
/
Prometheus-QoS
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
max nesting limit according to include/uapi/linux/pkt_sched.h: #define TC_HTB_MAXDEPTH 8
[svn/Prometheus-QoS/.git]
/
ipstruct.h
diff --git
a/ipstruct.h
b/ipstruct.h
index ad5bf38fc7318bd80e9be31aa4dbcaff0818ac52..797fb7bb72bca3bcd2f0f64157c1ffc08d9f1c11 100644
(file)
--- a/
ipstruct.h
+++ b/
ipstruct.h
@@
-13,6
+13,7
@@
struct IP
int fixedprio;
\r
int group;
\r
int lmsid;
\r
int fixedprio;
\r
int group;
\r
int lmsid;
\r
+ int pps_limit;
\r
unsigned long long direct;
\r
unsigned long long proxy;
\r
unsigned long long upload;
\r
unsigned long long direct;
\r
unsigned long long proxy;
\r
unsigned long long upload;
\r
@@
-24,6
+25,7
@@
struct IP
struct Keyword *keyword;
\r
int v6;
\r
int mask;
\r
struct Keyword *keyword;
\r
int v6;
\r
int mask;
\r
+ struct IP *uplink;
\r
list(IP);
\r
};
\r
\r
list(IP);
\r
};
\r
\r
@@
-54,9
+56,16
@@
struct Keyword
char *html_color;
\r
int ip_count;
\r
char *leaf_discipline;
\r
char *html_color;
\r
int ip_count;
\r
char *leaf_discipline;
\r
-
\r
+ int allowed_avgmtu; /* this is for calculating packet limits, 0 = no limit*/
\r
list(Keyword);
\r
};
\r
\r
list(Keyword);
\r
};
\r
\r
+struct Macro
\r
+{
\r
+ char *rewrite_from;
\r
+ char *rewrite_to;
\r
+ list(Macro);
\r
+};
\r
+
\r
void TheIP(char *ipaddr, int is_network);
\r
/* function implemented in parsehosts.c */
\r
void TheIP(char *ipaddr, int is_network);
\r
/* function implemented in parsehosts.c */
\r
This page took
0.122223 seconds
and
4
git commands to generate.