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

Method getfield_and_val

scapy/layers/dcerpc.py:2626–2630  ·  view source on GitHub ↗
(self, attr)

Source from the content-addressed store, hash-verified

2624 return cur
2625
2626 def getfield_and_val(self, attr):
2627 try:
2628 return Packet.getfield_and_val(self, attr)
2629 except ValueError:
2630 return self._ndrlayer().getfield_and_val(attr)
2631
2632 def valueof(self, name):
2633 return self._ndrlayer().valueof(name)

Callers

nothing calls this directly

Calls 2

_ndrlayerMethod · 0.95
getfield_and_valMethod · 0.45

Tested by

no test coverage detected