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

Method _transmit_packet

scapy/layers/inet.py:2204–2206  ·  view source on GitHub ↗

Transmits a packet from TCPSession to the SuperSocket

(self, pkt)

Source from the content-addressed store, hash-verified

2202 Automaton.parse_args(self, filter=bpf, **kargs)
2203
2204 def _transmit_packet(self, pkt):
2205 """Transmits a packet from TCPSession to the SuperSocket"""
2206 self.oi.tcp.send(raw(pkt[TCP].payload))
2207
2208 def master_filter(self, pkt):
2209 return (IP in pkt and

Callers 1

receive_dataMethod · 0.95

Calls 2

rawFunction · 0.90
sendMethod · 0.45

Tested by

no test coverage detected