Module Expr Str Import alias Import alias Import alias Import alias FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Yield TupleLoad NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Str BinOpAdd Str AttributeLoad NameLoad attr Index Num SubscriptLoad Call AttributeLoad NameLoad attr Str BinOpAdd Str AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore IfExp CompareIs NameLoad NameLoad Call NameLoad NameLoad Assign NameStore IfExp CompareIs NameLoad NameLoad Call NameLoad NameLoad For NameStore NameLoad body For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareNotEq NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BinOpBitAnd NameLoad Num AugAssignRShift NameStore Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BinOpBitAnd NameLoad Num AugAssignRShift NameStore Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BinOpBitAnd NameLoad Num Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BinOpBitAnd NameLoad Num AugAssignRShift NameStore Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BinOpBitAnd NameLoad Num AugAssignRShift NameStore Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BinOpBitAnd NameLoad Num AugAssignRShift NameStore Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BinOpBitAnd NameLoad Num AugAssignRShift NameStore Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BinOpBitAnd NameLoad Num AugAssignRShift NameStore Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BinOpBitAnd NameLoad Num AugAssignRShift NameStore Num Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad Str attr NameLoad decorator_list Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Str handlers ExceptHandler type AttributeLoad NameLoad attr body Print AttributeLoad NameLoad attr Return For TupleStore NameStore NameStore NameLoad body If CompareIn NameLoad TupleLoad Str Str body Print AttributeLoad NameLoad attr Return orelse If CompareEq NameLoad Str body Assign NameStore NameLoad Assign NameStore NameLoad orelse If CompareEq NameLoad Str body Assign NameStore NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Call NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign NameStore NameLoad orelse If CompareEq NameLoad Str body Assign NameStore NameLoad If UnaryOpNot NameLoad body Print AttributeLoad NameLoad attr Return If NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad If NameLoad body If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Print Str Return With Call NameLoad NameLoad Str NameStore body While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str orelse For TupleStore NameStore NameStore TupleLoad TupleLoad Str NameLoad TupleLoad Str NameLoad body Print NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Print Str Call AttributeLoad NameLoad attr orelse Print Str Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Import alias ImportFrom alias Expr Call NameLoad AttributeLoad NameLoad attr
N/A N/A 
Report on pcap files.

 N/A struct N/A getopt N/A pcap N/A dpkt get_macs N/A N/A fname N/A N/A N/A pc N/A N/A pcap pcap fname N/A N/A ts pkt pc N/A N/A pkt N/A N/A N/A dpkt ethernet Ethernet pkt N/A N/A N/A ts N/A N/A N/A struct unpack !Q N/A N/A pkt src N/A 0 N/A N/A N/A struct unpack !Q N/A N/A pkt dst N/A 0 N/A get_unique_macs N/A N/A namelist dstset srcset N/A None None N/A N/A dstset N/A N/A dstset None N/A set dstset N/A srcset N/A N/A srcset None N/A set srcset N/A fname namelist N/A N/A N/A ts src dst N/A get_macs fname N/A N/A N/A N/A srcset add N/A MACaddress src N/A N/A dst 281474976710655 N/A N/A N/A N/A dstset add N/A MACaddress dst N/A N/A dstset srcset N/A MACaddress N/A long N/A to_cisco N/A N/A self N/A N/A N/A N/A to_cisco self N/A to_hex N/A N/A self N/A N/A N/A N/A to_hex self N/A __hex__ N/A N/A self N/A N/A N/A N/A to_hex self N/A __str__ N/A N/A self N/A N/A N/A N/A to_hex self N/A N/A to_cisco N/A N/A l N/A N/A N/A s N/A N/A N/A N/A s append N/A N/A {0:04x} format N/A l 65535 N/A l 16 N/A N/A N/A s append N/A N/A {0:04x} format N/A l 65535 N/A l 16 N/A N/A N/A s append N/A N/A {0:04x} format N/A l 65535 N/A N/A N/A s reverse N/A N/A N/A . join s N/A to_hex N/A N/A l N/A N/A N/A s N/A N/A N/A N/A s append N/A N/A {0:02x} format N/A l 255 N/A l 8 N/A N/A N/A s append N/A N/A {0:02x} format N/A l 255 N/A l 8 N/A N/A N/A s append N/A N/A {0:02x} format N/A l 255 N/A l 8 N/A N/A N/A s append N/A N/A {0:02x} format N/A l 255 N/A l 8 N/A N/A N/A s append N/A N/A {0:02x} format N/A l 255 N/A l 8 N/A N/A N/A s append N/A N/A {0:02x} format N/A l 255 N/A l 8 N/A N/A N/A s reverse N/A N/A N/A : join s N/A N/A CISCO_CF_TEMPLATE mac-address-table static {mac} vlan {vlan} interface {interface} pcap_report N/A N/A argv N/A N/A N/A pcapinfo [-h?] [-m] [-c] <pcap file>...

    Report information about pcap files.
    Where::

        -h (?)      Print this help.
        -m          Report the set of unique MAC addresses contained in the files.
        -c          Print Cisco style MAC addesses. Otherwise, hex strings.
        -C <fname>  Write Cisco config file for static mac entries.
        -v <id>     Supply VLAN ID for destination MAC when writing Cisco config.
        -i <intf>   Supply Cisco destination interface when writing Cisco config.
     N/A writecisco False N/A reportmacs False N/A ciscostyle False N/A fname None N/A vlan None N/A intf None N/A N/A N/A N/A optlist args N/A N/A getopt getopt N/A argv N/A 1 h?mcC:v:i: N/A N/A N/A N/A getopt GetoptError N/A N/A N/A smtpcli __doc__ N/A N/A N/A opt val optlist N/A N/A N/A opt N/A -? -h N/A N/A N/A pcap_report __doc__ N/A N/A N/A N/A opt -C N/A N/A fname val N/A writecisco True N/A N/A N/A opt -m N/A N/A reportmacs True N/A N/A N/A opt -v N/A N/A vlan N/A int val N/A N/A N/A opt -i N/A N/A intf val N/A N/A N/A opt -c N/A N/A ciscostyle True N/A N/A args N/A N/A N/A pcap_report __doc__ N/A N/A reportmacs N/A N/A N/A dst src N/A get_unique_macs args N/A writecisco N/A N/A N/A N/A vlan None N/A intf None N/A N/A You need to supply vlan and interface options. N/A N/A N/A open fname w fo N/A N/A dst N/A N/A mac N/A N/A dst pop N/A N/A N/A fo write N/A N/A CISCO_CF_TEMPLATE format mac N/A N/A mac to_cisco vlan vlan interface intf N/A N/A N/A fo write N/A N/A N/A fo write end
 N/A N/A N/A h s N/A N/A Destination Macs: dst N/A Source macs: src N/A N/A h N/A s N/A N/A mac N/A N/A s pop N/A ciscostyle N/A N/A N/A N/A mac to_cisco N/A N/A N/A N/A mac to_hex N/A N/A N/A __name__ __main__ N/A N/A sys pycopia autodebug N/A N/A pcap_report N/A sys argv