Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
senf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wiback
senf
Commits
7e8571cb
Commit
7e8571cb
authored
17 years ago
by
g0dil
Browse files
Options
Downloads
Patches
Plain Diff
Packets: Small bugfix to parser macros
parent
8d6dddd3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Packets/ParseHelpers.ih
+3
-3
3 additions, 3 deletions
Packets/ParseHelpers.ih
senf.dict
+18
-0
18 additions, 0 deletions
senf.dict
with
21 additions
and
3 deletions
Packets/ParseHelpers.ih
+
3
−
3
View file @
7e8571cb
...
...
@@ -105,7 +105,7 @@
BOOST_PP_CAT(SENF_PARSER_I_SIZE_, ofstype) (name, type), \
BOOST_PP_CAT(SENF_PARSER_I_INITBYTES_, ofstype) (name, type), \
access ) \
BOOST_PP_CAT(SENF_PARSER_I_FIELD_VAL_, rwtype) (name, type,
ofstype, access)
\
BOOST_PP_CAT(SENF_PARSER_I_FIELD_VAL_, rwtype) (name, type,
access)
\
public:
#
# ////////////////////////////////////////
...
...
@@ -186,7 +186,7 @@
return parse<type>( SENF_PARSER_OFFSET(name) ); \
}
#
# define SENF_PARSER_I_FIELD_VAL_ro(name, type,
ofstype, access)
\
# define SENF_PARSER_I_FIELD_VAL_ro(name, type,
access)
\
BOOST_PP_CAT(name, _t)::value_type name() const { \
return parse<type>( SENF_PARSER_OFFSET(name) ).value(); \
}
...
...
@@ -258,7 +258,7 @@
private: \
SENF_MPL_SLOT_SET(bitfield_size, BOOST_PP_CAT(name, _t)::fixed_bytes); \
access: \
BOOST_PP_CAT(SENF_PARSER_I_FIELD_VAL_, rwtype) (name, type,
ofstype, access)
\
BOOST_PP_CAT(SENF_PARSER_I_FIELD_VAL_, rwtype) (name, type,
access)
\
public:
#
# ////////////////////////////////////////
...
...
This diff is collapsed.
Click to expand it.
senf.dict
+
18
−
0
View file @
7e8571cb
...
...
@@ -22,6 +22,7 @@ aVectorCollection
BaseParser
berlios
bitfield
bool
bund
callback
callbacks
...
...
@@ -44,6 +45,7 @@ ConnectedUDPv
const
createAfter
createBefore
DatagramSection
DataPacket
dd
de
...
...
@@ -53,8 +55,11 @@ defaultInit
defgroup
deque
dil
dl
DNS
dontinclude
DSMCCSection
dt
ElementParser
endcode
enum
...
...
@@ -91,6 +96,7 @@ findNext
findPrev
fixme
fokus
foo
FooParser
ForwardingRoute
fraunhofer
...
...
@@ -141,11 +147,14 @@ ListN
ListPolicy
localhost
loopback
mac
MACAddress
mainpage
mixin
MPEGDVBBundle
multicast
MyList
MyParser
MyVector
namespace
nc
...
...
@@ -192,6 +201,7 @@ PacketTypeNotRegistered
param
ParseArray
parsecollection
ParseHelpers
parseint
ParseInt
ParseList
...
...
@@ -199,6 +209,10 @@ ParseListB
ParseListN
parseNextAs
parserlanguage
parsermacrofields
parsermacroinit
parsermacrooffset
parsermacrosbitfields
ParseVec
PassiveConnector
PassiveInput
...
...
@@ -230,6 +244,7 @@ registerSomePacket
RegistrationProxy
rerference
RFC
RO
RP
SafePacketParser
SatCom
...
...
@@ -237,6 +252,7 @@ Satelitenkommunikation
scons
ScopeId
screenshot
sec
senf
ServerSocketHandle
setBegin
...
...
@@ -261,6 +277,7 @@ SomeParser
SomeRegistryTag
SomeTag
someVector
ssi
std
stefan
STL
...
...
@@ -296,3 +313,4 @@ vlanId
VLanId
VoidPacketParser
www
xyz
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment