in tools/tftp_tester.py [0:0]
def gen_RRQ(self):
"""Initial RRQ packet and the expected response type OACK"""
b = bytearray(as2bytes(TFTP.RRQ))
b.extend(str0(self.filename))
b.extend(str0("octet"))
b.extend(str0("tsize"))
b.extend(str0("0"))
b.extend(str0("blksize"))
b.extend(str0(str(self.blksize)))
return b