Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iproute2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
iproute2
Commits
46207451
Commit
46207451
authored
Aug 30, 2004
by
osdl.net!shemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Copy of 2.6.9-rc2
(Logical change 1.73)
parent
d2c4ee1b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
8 deletions
+19
-8
include/linux/pkt_sched.h
include/linux/pkt_sched.h
+19
-8
No files found.
include/linux/pkt_sched.h
View file @
46207451
...
...
@@ -401,7 +401,16 @@ enum {
#define TCA_ATM_MAX TCA_ATM_STATE
/* Network section */
/* Network emulator */
enum
{
TCA_NETEM_UNSPEC
,
TCA_NETEM_CORR
,
TCA_NETEM_DELAY_DIST
,
};
#define TCA_NETEM_MAX TCA_NETEM_DELAY_DIST
struct
tc_netem_qopt
{
...
...
@@ -410,14 +419,16 @@ struct tc_netem_qopt
__u32
loss
;
/* random packet loss (0=none ~0=100%) */
__u32
gap
;
/* re-ordering gap (0 for delay all) */
__u32
duplicate
;
/* random packet dup (0=none ~0=100%) */
__u32
jitter
;
/* delay sigma (us) */
__u32
delay_corr
;
/* delay correllation (0=none ~0=100%) */
__u32
loss_corr
;
/* packet loss correllation (0=none ~0=100%) */
__u32
dup_corr
;
/* duplicate correlation (0=none ~0=100%) */
__u32
jitter
;
/* random jitter in latency (us) */
};
__s16
delay_dist
[
0
];
/* delay distribution table (optional) */
#define TCA_NETEM_TABLEFACTOR 8192
struct
tc_netem_corr
{
__u32
delay_corr
;
/* delay correlation */
__u32
loss_corr
;
/* packet loss correlation */
__u32
dup_corr
;
/* duplicate correlation */
};
#define NETEM_DIST_SCALE 8192
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment