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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
f3ba6ed5
Commit
f3ba6ed5
authored
Jul 08, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5477
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
f445dc33
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
openair-cn/NAS/EURECOM-NAS/src/util/OctetString.c
openair-cn/NAS/EURECOM-NAS/src/util/OctetString.c
+8
-0
openair-cn/NAS/EURECOM-NAS/src/util/OctetString.h
openair-cn/NAS/EURECOM-NAS/src/util/OctetString.h
+2
-0
No files found.
openair-cn/NAS/EURECOM-NAS/src/util/OctetString.c
View file @
f3ba6ed5
...
@@ -59,3 +59,11 @@ void dump_octet_string_xml(OctetString *octetstring)
...
@@ -59,3 +59,11 @@ void dump_octet_string_xml(OctetString *octetstring)
printf
(
"</values>
\n
"
);
printf
(
"</values>
\n
"
);
}
}
void
dump_octet_string
(
OctetString
*
octetstring
)
{
int
i
;
printf
(
" <Length=%u><values>"
,
octetstring
->
length
);
for
(
i
=
0
;
i
<
octetstring
->
length
;
i
++
)
printf
(
"0x%x "
,
octetstring
->
value
[
i
]);
printf
(
"</values>
\n
"
);
}
openair-cn/NAS/EURECOM-NAS/src/util/OctetString.h
View file @
f3ba6ed5
...
@@ -44,5 +44,7 @@ int decode_octet_string(OctetString *octetstring, uint16_t pdulen, uint8_t *buff
...
@@ -44,5 +44,7 @@ int decode_octet_string(OctetString *octetstring, uint16_t pdulen, uint8_t *buff
void
dump_octet_string_xml
(
OctetString
*
octetstring
);
void
dump_octet_string_xml
(
OctetString
*
octetstring
);
void
dump_octet_string
(
OctetString
*
octetstring
);
#endif
/* OCTET_STRING_H_ */
#endif
/* OCTET_STRING_H_ */
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