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

Method c_bit

scapy/contrib/macsec.py:108–110  ·  view source on GitHub ↗

returns the value of the C bit for packets sent through this SA

(self)

Source from the content-addressed store, hash-verified

106 return self.do_encrypt
107
108 def c_bit(self):
109 """returns the value of the C bit for packets sent through this SA"""
110 return self.do_encrypt or self.icvlen != DEFAULT_ICV_LEN
111
112 @staticmethod
113 def shortlen(pkt):

Callers 1

encapMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected