Module Expr Str Import alias Import alias ImportFrom alias alias FunctionDef arguments args NameParam defaults body If BinOpBitAnd Call NameLoad NameLoad Num body Assign NameStore BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Num For NameStore NameLoad body Assign NameStore BinOpAdd NameLoad BinOpBitAnd NameLoad Num Assign NameStore BinOpRShift NameLoad Num Assign NameStore BinOpBitAnd NameLoad Num Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore BinOpAdd NameLoad BinOpRShift NameLoad Num Return BinOpBitAnd UnaryOpInvert NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Return BinOpBitAnd SubscriptLoad Call AttributeLoad NameLoad attr Str NameLoad Index Num Num decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Slice Num Num Assign NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Slice Num Num Assign NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Slice Num Num Return BinOpAdd BinOpAdd BinOpAdd BinOpAdd SubscriptLoad NameLoad Slice Num Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Slice Num Num Assign NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Slice Num Num Assign NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Slice Num Num Return BinOpAdd BinOpAdd BinOpAdd BinOpAdd SubscriptLoad NameLoad Slice Num Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Slice Num Num Assign NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Slice Num Num Assign NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Slice Num Num Return BinOpAdd BinOpAdd BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Slice Num Num Assign NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Slice Num Num Assign NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Slice Num Num Return BinOpAdd BinOpAdd BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num decorator_list
N/A N/A Internet packet basic

Simple operations like performing checksums and swapping byte orders.
 N/A array N/A struct socket htons ntohs cksum N/A N/A s N/A N/A N/A N/A N/A len s 1 N/A N/A s N/A s N/A words N/A N/A array array h s N/A sum 0 N/A word words N/A N/A sum N/A sum N/A word 65535 N/A hi N/A sum 16 N/A lo N/A sum 65535 N/A sum N/A hi lo N/A sum N/A sum N/A sum 16 N/A N/A N/A sum 65535 N/A gets N/A N/A s N/A N/A N/A N/A N/A N/A N/A struct unpack h s N/A 0 65535 N/A mks N/A N/A h N/A N/A N/A N/A N/A struct pack h h N/A iph2net N/A N/A s N/A N/A N/A len N/A htons N/A gets N/A s N/A 2 4 N/A id N/A htons N/A gets N/A s N/A 4 6 N/A off N/A htons N/A gets N/A s N/A 6 8 N/A N/A N/A N/A N/A N/A s N/A 2 N/A mks len N/A mks id N/A mks off N/A s N/A 8 N/A net2iph N/A N/A s N/A N/A N/A len N/A ntohs N/A gets N/A s N/A 2 4 N/A id N/A ntohs N/A gets N/A s N/A 4 6 N/A off N/A ntohs N/A gets N/A s N/A 6 8 N/A N/A N/A N/A N/A N/A s N/A 2 N/A mks len N/A mks id N/A mks off N/A s N/A 8 N/A udph2net N/A N/A s N/A N/A N/A sp N/A htons N/A gets N/A s N/A 0 2 N/A dp N/A htons N/A gets N/A s N/A 2 4 N/A len N/A htons N/A gets N/A s N/A 4 6 N/A N/A N/A N/A N/A mks sp N/A mks dp N/A mks len N/A s N/A 6 N/A net2updh N/A N/A s N/A N/A N/A sp N/A ntohs N/A gets N/A s N/A 0 2 N/A dp N/A ntohs N/A gets N/A s N/A 2 4 N/A len N/A ntohs N/A gets N/A s N/A 4 6 N/A N/A N/A N/A N/A mks sp N/A mks dp N/A mks len N/A s N/A 6 N/A