def prettyPrintPacket(ctrl_table):
print('<STR_LIT>')<EOL>print("<STR_LIT>".format('<STR_LIT:id>', ctrl_table['<STR_LIT:id>']))<EOL>ctrl_table.pop('<STR_LIT:id>')<EOL>for key, value in ctrl_table.items():<EOL><INDENT>print("<STR_LIT>".format(key, value))<EOL><DEDENT>
This will pretty print out a packet's fields.

in: dictionary of a packet
out: nothing ... everything is printed to screen