def get_packet_num()

in tools/tftp_tester.py [0:0]


def get_packet_num(pkt):
    return int.from_bytes(pkt[2:4], byteorder="big")