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
f8fa979b
Commit
f8fa979b
authored
Sep 15, 2008
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2
parents
afd5dad9
a908898c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
7 deletions
+17
-7
etc/iproute2/rt_dsfield
etc/iproute2/rt_dsfield
+13
-0
man/man8/ip.8
man/man8/ip.8
+1
-4
tc/em_meta.c
tc/em_meta.c
+3
-3
No files found.
etc/iproute2/rt_dsfield
View file @
f8fa979b
...
...
@@ -12,3 +12,16 @@
0xa0 critical
0xc0 internet
0xe0 network
# Newer RFC2597 values
0x28 AF11
0x30 AF12
0x38 AF13
0x48 AF21
0x50 AF22
0x58 AF23
0x68 AF31
0x70 AF32
0x78 AF33
0x88 AF41
0x90 AF42
0x98 AF43
man/man8/ip.8
View file @
f8fa979b
...
...
@@ -2164,19 +2164,16 @@ flag is equivalent to the combination
.B It isn't work. Don't use it.
.TP
.RP
.BI dscp inherit
.BR "dscp inherit"
.RB ( " only IPv6 tunnels " )
Inherit DS field between inner and outer header.
.TP
.RP
.BI encaplim " ELIM"
.RB ( " only IPv6 tunnels " )
set a fixed encapsulation limit. Default is 4.
.TP
.RP
.BI flowlabel " FLOWLABEL"
.RB ( " only IPv6 tunnels " )
set a fixed flowlabel.
...
...
tc/em_meta.c
View file @
f8fa979b
...
...
@@ -262,7 +262,7 @@ parse_object(struct bstr *args, struct bstr *arg, struct tcf_meta_val *obj,
}
num
=
bstrtoul
(
arg
);
if
(
num
!=
LONG_MAX
)
{
if
(
num
!=
U
LONG_MAX
)
{
obj
->
kind
=
TCF_META_TYPE_INT
<<
12
;
obj
->
kind
|=
TCF_META_ID_VALUE
;
*
dst
=
(
unsigned
long
)
num
;
...
...
@@ -320,7 +320,7 @@ compatible:
a
=
bstr_next
(
a
);
shift
=
bstrtoul
(
a
);
if
(
shift
==
LONG_MAX
)
{
if
(
shift
==
U
LONG_MAX
)
{
PARSE_ERR
(
a
,
"meta: invalid shift, must "
\
"be numeric"
);
return
PARSE_FAILURE
;
...
...
@@ -338,7 +338,7 @@ compatible:
a
=
bstr_next
(
a
);
mask
=
bstrtoul
(
a
);
if
(
mask
==
LONG_MAX
)
{
if
(
mask
==
U
LONG_MAX
)
{
PARSE_ERR
(
a
,
"meta: invalid mask, must be "
\
"numeric"
);
return
PARSE_FAILURE
;
...
...
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