Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1007)

Issue 332270043: 6EP tunnel decapsulation first draft

Can't Edit
Can't Publish+Mail
Start Review
Created:
6 years, 5 months ago by armangungor
Modified:
6 years, 5 months ago
Reviewers:
mustafa.alabaychi, voravitt, robert.herjulf.olsson, safa.ismail.si, dima.alissa, Alaiin
CC:
dkostic
Visibility:
Public.

Description

6EP tunnel decapsulation first draft BUG=

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -106 lines) Patch
A IoT_internal/tunnel_test/iep_simulator.py View 1 chunk +32 lines, -0 lines 0 comments Download
M core/net/tunnel/tunnel.c View 20 chunks +115 lines, -105 lines 3 comments Download
M core/net/tunnel/tunnel-eth-interface.c View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2
armangungor
Hi, Please review 6EP Tunnel Decapsulation.
6 years, 5 months ago (2017-11-19 00:55:24 UTC) #1
mustafa.alabaychi
6 years, 5 months ago (2017-11-22 09:29:42 UTC) #2
Thank you Arman! Great job!

https://codereview.appspot.com/332270043/diff/1/core/net/tunnel/tunnel.c
File core/net/tunnel/tunnel.c (right):

https://codereview.appspot.com/332270043/diff/1/core/net/tunnel/tunnel.c#newc...
core/net/tunnel/tunnel.c:571: resultpacket[payload_start+16] = src_port & 0xff;
I would appreciate if you could add per line comments to these lines to let us
within the team understand it easier.

https://codereview.appspot.com/332270043/diff/1/core/net/tunnel/tunnel.c#newc...
core/net/tunnel/tunnel.c:572: resultpacket[payload_start+17] = src_port >> 8;
the purpose of this 8 digit shift?

https://codereview.appspot.com/332270043/diff/1/core/net/tunnel/tunnel.c#newc...
core/net/tunnel/tunnel.c:784: if(uip_htons(tcphdr->destport) <
EPHEMERAL_PORTRANGE) {
The comments above do not belong home. Don't they?
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b