scapy.contrib.aoe module

class scapy.contrib.aoe.AOE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.aoe.AOE'>, <class 'scapy.packet.Packet'>]
extract_padding(s)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (AOE).version>, <Field (AOE).flags>, <Field (AOE).error>, <Field (AOE).major>, <Field (AOE).minor>, <Field (AOE).cmd>, <Field (AOE).tag>, <scapy.fields.ConditionalField object>, <scapy.fields.ConditionalField object>, <scapy.fields.ConditionalField object>, <scapy.fields.ConditionalField object>]
payload_guess = [({'cmd': 0}, <class 'scapy.contrib.aoe.IssueATACommand'>), ({'cmd': 1}, <class 'scapy.contrib.aoe.QueryConfigInformation'>), ({'cmd': 2}, <class 'scapy.contrib.aoe.MacMaskList'>), ({'cmd': 3}, <class 'scapy.contrib.aoe.ReserveRelease'>)]
class scapy.contrib.aoe.Directive

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.aoe.Directive'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (Directive).reserved>, <Field (Directive).dcmd>, <Field (Directive).mac_addr>]
class scapy.contrib.aoe.IssueATACommand

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.aoe.IssueATACommand'>, <class 'scapy.packet.Packet'>]
extract_padding(s)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (IssueATACommand).flags>, <Field (IssueATACommand).err_feature>, <Field (IssueATACommand).sector_count>, <Field (IssueATACommand).cmd_status>, <Field (IssueATACommand).lba0>, <Field (IssueATACommand).lba1>, <Field (IssueATACommand).lba2>, <Field (IssueATACommand).lba3>, <Field (IssueATACommand).lba4>, <Field (IssueATACommand).lba5>, <Field (IssueATACommand).reserved>, <Field (IssueATACommand).data>]
class scapy.contrib.aoe.MacMaskList

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.aoe.MacMaskList'>, <class 'scapy.packet.Packet'>]
extract_padding(s)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (MacMaskList).reserved>, <Field (MacMaskList).mcmd>, <Field (MacMaskList).merror>, <Field (MacMaskList).dir_count>, <Field (MacMaskList).directives>]
class scapy.contrib.aoe.QueryConfigInformation

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.aoe.QueryConfigInformation'>, <class 'scapy.packet.Packet'>]
extract_padding(s)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (QueryConfigInformation).buffer_count>, <Field (QueryConfigInformation).firmware>, <Field (QueryConfigInformation).sector_count>, <Field (QueryConfigInformation).aoe>, <Field (QueryConfigInformation).ccmd>, <Field (QueryConfigInformation).config_length>, <Field (QueryConfigInformation).config>]
class scapy.contrib.aoe.ReserveRelease

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.aoe.ReserveRelease'>, <class 'scapy.packet.Packet'>]
extract_padding(s)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (ReserveRelease).rcmd>, <Field (ReserveRelease).nb_mac>, <Field (ReserveRelease).mac_addrs>]