Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
21fd7cb0
Commit
21fd7cb0
authored
Dec 18, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@6284
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
974eb11c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
openair-cn/GTPV1-U/GTPURH/xt_GTPURH.c
openair-cn/GTPV1-U/GTPURH/xt_GTPURH.c
+4
-4
No files found.
openair-cn/GTPV1-U/GTPURH/xt_GTPURH.c
View file @
21fd7cb0
...
@@ -403,14 +403,14 @@ _gtpurh_tg4_rem(struct sk_buff *orig_skb_pP, const struct xt_action_param *par_p
...
@@ -403,14 +403,14 @@ _gtpurh_tg4_rem(struct sk_buff *orig_skb_pP, const struct xt_action_param *par_p
}
}
skb_reserve
(
new_skb_p
,
LL_MAX_HEADER
);
skb_reserve
(
new_skb_p
,
LL_MAX_HEADER
+
ntohs
(
iph2_p
->
tot_len
)
);
new_skb_p
->
protocol
=
skb_p
->
protocol
;
new_skb_p
->
protocol
=
skb_p
->
protocol
;
skb_reset_network_header
(
new_skb_p
);
new_ip_p
=
(
void
*
)
skb_push
(
new_skb_p
,
ntohs
(
iph2_p
->
tot_len
)
-
(
iph2_p
->
ihl
<<
2
));
new_ip_p
=
(
void
*
)
skb_put
(
new_skb_p
,
iph2_p
->
ihl
<<
2
);
skb_reset_transport_header
(
new_skb_p
);
skb_reset_transport_header
(
new_skb_p
);
skb_put
(
new_skb_p
,
ntohs
(
iph2_p
->
tot_len
)
-
(
iph2_p
->
ihl
<<
2
)
);
new_ip_p
=
(
void
*
)
skb_push
(
new_skb_p
,
iph2_p
->
ihl
<<
2
);
memcpy
(
new_ip_p
,
iph2_p
,
ntohs
(
iph2_p
->
tot_len
));
memcpy
(
new_ip_p
,
iph2_p
,
ntohs
(
iph2_p
->
tot_len
));
skb_reset_network_header
(
new_skb_p
);
new_skb_p
->
mark
=
ntohl
(
gtpuh_p
->
tunid
);
new_skb_p
->
mark
=
ntohl
(
gtpuh_p
->
tunid
);
//new_skb_p->mark = skb_p->mark;
//new_skb_p->mark = skb_p->mark;
...
...
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