Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FDio/vpp
/ GetSize
Method
GetSize
extras/packetforge/ProtocolHeader.py:188–194 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
186
phf.Size = size
187
188
def
GetSize(self):
189
size = 0
190
191
for
field in self.fields:
192
size += field.Size
193
194
return
size >> 3
195
196
def
AppendAuto(self, size):
197
for
phf in self.fields:
Callers
1
Forge
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected