Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
17c4f21f
Commit
17c4f21f
authored
Jul 11, 2017
by
Sven Meier
Committed by
Adam Wujek
Jul 12, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audit porting: ported the patches of the audit chapter 2.4.3
Streamlined length naming, other parts were already ported
parent
b612bab6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
fsm.c
fsm.c
+1
-1
constants.h
include/ppsi/constants.h
+1
-1
msgtype.c
msgtype.c
+1
-1
No files found.
fsm.c
View file @
17c4f21f
...
...
@@ -165,7 +165,7 @@ static int type_length[__PP_NR_MESSAGES_TYPES] = {
[
PPM_PDELAY_RESP
]
=
PP_PDELAY_RESP_LENGTH
,
[
PPM_FOLLOW_UP
]
=
PP_FOLLOW_UP_LENGTH
,
[
PPM_DELAY_RESP
]
=
PP_DELAY_RESP_LENGTH
,
[
PPM_PDELAY_R_FUP
]
=
PP_PDELAY_R
_F
UP_LENGTH
,
[
PPM_PDELAY_R_FUP
]
=
PP_PDELAY_R
ESP_FOLLOW_
UP_LENGTH
,
[
PPM_ANNOUNCE
]
=
PP_ANNOUNCE_LENGTH
,
[
PPM_SIGNALING
]
=
PP_HEADER_LENGTH
,
[
PPM_MANAGEMENT
]
=
PP_MANAGEMENT_LENGTH
,
...
...
include/ppsi/constants.h
View file @
17c4f21f
...
...
@@ -74,7 +74,7 @@ enum pp_timeouts {
#define PP_DELAY_REQ_LENGTH 44
#define PP_DELAY_RESP_LENGTH 54
#define PP_PDELAY_RESP_LENGTH 54
#define PP_PDELAY_R
_FUP_LENGTH
54
#define PP_PDELAY_R
ESP_FOLLOW_UP_LENGTH
54
#define PP_MANAGEMENT_LENGTH 48
#define PP_MINIMUM_LENGTH 44
...
...
msgtype.c
View file @
17c4f21f
...
...
@@ -27,7 +27,7 @@ struct pp_msgtype_info pp_msgtype_info[16] = {
"delay_resp"
,
PP_DELAY_RESP_LENGTH
,
PP_NP_GEN
,
PP_E2E_MECH
,
3
,
PP_LOG_REQUEST
},
[
PPM_PDELAY_R_FUP
]
=
{
"pdelay_resp_follow_up"
,
PP_PDELAY_R
_F
UP_LENGTH
,
"pdelay_resp_follow_up"
,
PP_PDELAY_R
ESP_FOLLOW_
UP_LENGTH
,
PP_NP_GEN
,
PP_P2P_MECH
,
5
,
0x7f
},
[
PPM_ANNOUNCE
]
=
{
"announce"
,
PP_ANNOUNCE_LENGTH
,
...
...
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