s_group("opcode", values=["\x00\x01","\x00\x02"]) # opcodes 1 and 2 expect a null terminated filename if s_block_start("filerequest", dep="opcode", dep_values=["\x00\x01", "\x00\x02"]): # filename s_string("ABCDABCD") # terminator s_static("\x00") # transfertype s_group("transfertype", values=["netascii","octet","mail","abcdabcd"]) # terminator s_static("\x00") s_block_end("filerequest")