MCPcopy Index your code
hub / github.com/secdev/scapy / post_build

Method post_build

scapy/layers/netflow.py:105–109  ·  view source on GitHub ↗
(self, pkt, pay)

Source from the content-addressed store, hash-verified

103 UTCTimeField("unixNanoSeconds", 0, use_nano=True)]
104
105 def post_build(self, pkt, pay):
106 if self.count is None:
107 count = len(self.layers()) - 1
108 pkt = struct.pack("!H", count) + pkt[2:]
109 return pkt + pay
110
111
112class NetflowRecordV1(Packet):

Callers

nothing calls this directly

Calls 1

layersMethod · 0.45

Tested by

no test coverage detected