Home
last modified time | relevance | path

Searched refs:next_cls_cb (Results 1 – 2 of 2) sorted by relevance

/external/scapy/scapy/
Dfields.py462 … def __init__(self, name, default, cls=None, count_from=None, length_from=None, next_cls_cb=None): argument
522 self.next_cls_cb = next_cls_cb
546 if self.next_cls_cb is not None:
547 cls = self.next_cls_cb(pkt, [], None, s)
575 if self.next_cls_cb is not None:
576 cls = self.next_cls_cb(pkt, lst, p, remain)
/external/scapy/test/
Dfields.uts446 next_cls_cb=lambda pkt, lst, p, remain: pkt.detect_next_packet(lst, p, remain)
511 next_cls_cb=lambda pkt, lst, p, remain: pkt.detect_next_packet(lst, p, remain)