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
27356a5e
Commit
27356a5e
authored
Jan 12, 2006
by
shemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndle DCCP in ipxfrm.c to allow using port numbers in the selector.
parent
97aa798a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
ChangeLog
ChangeLog
+6
-2
ip/ipxfrm.c
ip/ipxfrm.c
+2
-0
ip/xfrm.h
ip/xfrm.h
+3
-0
No files found.
ChangeLog
View file @
27356a5e
2006-01-12 Patrick McHardy <kaber@trash.net>
* Handle DCCP in ipxfrm.c to allow using port numbers in the selector.
2006-01-10 Masahide NAKAMURA <nakam@linux-ipv6.org>
* Add ip link ntable
...
...
@@ -19,11 +23,11 @@
* Add corrupt feature to netem
2005-12-02 Stephen Hemminger <shemminger@osdl.org
2005-12-02 Stephen Hemminger <shemminger@osdl.org
>
* Backout ambigious ip command matches
2005-11-22 Stephen Hemminger <shemminger@osdl.org
2005-11-22 Stephen Hemminger <shemminger@osdl.org
>
* Handle ambigious ip command matches
...
...
ip/ipxfrm.c
View file @
27356a5e
...
...
@@ -445,6 +445,7 @@ void xfrm_selector_print(struct xfrm_selector *sel, __u16 family,
case
IPPROTO_TCP
:
case
IPPROTO_UDP
:
case
IPPROTO_SCTP
:
case
IPPROTO_DCCP
:
default:
/* XXX */
if
(
sel
->
sport_mask
)
fprintf
(
fp
,
"sport %u "
,
ntohs
(
sel
->
sport
));
...
...
@@ -999,6 +1000,7 @@ static int xfrm_selector_upspec_parse(struct xfrm_selector *sel,
case
IPPROTO_TCP
:
case
IPPROTO_UDP
:
case
IPPROTO_SCTP
:
case
IPPROTO_DCCP
:
break
;
default:
fprintf
(
stderr
,
"
\"
sport
\"
and
\"
dport
\"
are invalid with proto=%s
\n
"
,
strxf_proto
(
sel
->
proto
));
...
...
ip/xfrm.h
View file @
27356a5e
...
...
@@ -32,6 +32,9 @@
#ifndef IPPROTO_SCTP
# define IPPROTO_SCTP 132
#endif
#ifndef IPPPROTO_DCCP
# define IPPROTO_DCCP 33
#endif
#define XFRMS_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_usersa_info))))
#define XFRMS_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct xfrm_usersa_info))
...
...
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