PadField which handles the i2len function to include padding
| 600 | |
| 601 | # IODWriteMultipleRe{q,s} |
| 602 | class PadFieldWithLen(PadField): |
| 603 | """PadField which handles the i2len function to include padding""" |
| 604 | |
| 605 | def i2len(self, pkt, val): |
| 606 | """get the length of the field, including the padding length""" |
| 607 | fld_len = self.fld.i2len(pkt, val) |
| 608 | return fld_len + self.padlen(fld_len, pkt) |
| 609 | |
| 610 | |
| 611 | class IODWriteMultipleReq(Block): |
no outgoing calls
no test coverage detected
searching dependent graphs…