def getfield(self, pkt, s):
        i = self.m2i(pkt, s)
        remain = b""
        if conf.padding_layer in i:
            r = i[conf.padding_layer]
            del(r.underlayer.payload)
            remain = r.load
        return remain,i
dataset/ETHPy150Open phaethon/scapy/scapy/fields.py/PacketField.getfield/original