returns the value of the C bit for packets sent through this SA
(self)
| 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): |