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
traffic->download bug fixed
[svn/Prometheus-QoS/.git]
/
ipstruct.h
diff --git
a/ipstruct.h
b/ipstruct.h
index ea797499a7d2328e0b97cf116a3973c73c1d73a9..d8427deb8efa5815341858433eff38e47f1b7e60 100644
(file)
--- a/
ipstruct.h
+++ b/
ipstruct.h
@@
-1,3
+1,5
@@
+/* Modified by: xChaos, 20131029 */
\r
+
\r
struct IP
\r
{
\r
char *addr;
\r
struct IP
\r
{
\r
char *addr;
\r
@@
-11,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
@@
-21,6
+24,8
@@
struct IP
unsigned long pktsdown;
\r
struct Keyword *keyword;
\r
int v6;
\r
unsigned long pktsdown;
\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
@@
-51,9
+56,9
@@
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
-void TheIP(char *ipaddr);
\r
+void TheIP(char *ipaddr
, int is_network
);
\r
/* function implemented in parsehosts.c */
\r
/* function implemented in parsehosts.c */
\r
This page took
0.124166 seconds
and
4
git commands to generate.