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

Method _write_packet

scapy/utils.py:2093–2105  ·  view source on GitHub ↗
(self,
                      packet,  # type: Union[bytes, Packet]
                      linktype,  # type: int
                      sec=None,  # type: Optional[float]
                      usec=None,  # type: Optional[int]
                      caplen=None,  # type: Optional[int]
                      wirelen=None,  # type: Optional[int]
                      ifname=None,  # type: Optional[bytes]
                      direction=None,  # type: Optional[int]
                      comments=None,  # type: Optional[List[bytes]]
                      )

Source from the content-addressed store, hash-verified

2091 raise NotImplementedError
2092
2093 def _write_packet(self,
2094 packet, # type: Union[bytes, Packet]
2095 linktype, # type: int
2096 sec=None, # type: Optional[float]
2097 usec=None, # type: Optional[int]
2098 caplen=None, # type: Optional[int]
2099 wirelen=None, # type: Optional[int]
2100 ifname=None, # type: Optional[bytes]
2101 direction=None, # type: Optional[int]
2102 comments=None, # type: Optional[List[bytes]]
2103 ):
2104 # type: (...) -> None
2105 raise NotImplementedError
2106
2107 def _get_time(self,
2108 packet, # type: Union[bytes, Packet]

Callers 1

write_packetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected