MCPcopy Create free account
hub / github.com/secdev/scapy / getfieldval

Method getfieldval

scapy/contrib/coap.py:226–230  ·  view source on GitHub ↗
(self, attr)

Source from the content-addressed store, hash-verified

224 ]
225
226 def getfieldval(self, attr):
227 v = getattr(self, attr)
228 if v:
229 return v
230 return Packet.getfieldval(self, attr)
231
232 def post_dissect(self, pay):
233 for k in self.options:

Callers 15

getfieldMethod · 0.45
m2iMethod · 0.45
HPackHdrStringClass · 0.45
self_buildMethod · 0.45
H2PaddedDataFrameClass · 0.45
get_data_lenMethod · 0.45
get_hdrs_lenMethod · 0.45
get_hdrs_lenMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected