scapy.contrib.openflow3 module

class scapy.contrib.openflow3.MatchField(name)

Bases: scapy.fields.PacketField

getfield(pkt, s)

Extract an internal value from a string

Extract from the raw packet s the field value belonging to layer pkt.

Returns a two-element list, first the raw packet string after having removed the extracted field, second the extracted field itself in internal representation.

class scapy.contrib.openflow3.OFPAT

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
classmethod dispatch_hook(_pkt=None, *args, **kargs)
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)
class scapy.contrib.openflow3.OFPATCopyTTLIn

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATCopyTTLIn'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATCopyTTLIn).type>, <Field (OFPATCopyTTLIn).len>, <Field (OFPATCopyTTLIn).pad>]
class scapy.contrib.openflow3.OFPATCopyTTLInID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATCopyTTLInID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATCopyTTLInID).type>, <Field (OFPATCopyTTLInID).len>]
class scapy.contrib.openflow3.OFPATCopyTTLOut

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATCopyTTLOut'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATCopyTTLOut).type>, <Field (OFPATCopyTTLOut).len>, <Field (OFPATCopyTTLOut).pad>]
class scapy.contrib.openflow3.OFPATCopyTTLOutID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATCopyTTLOutID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATCopyTTLOutID).type>, <Field (OFPATCopyTTLOutID).len>]
class scapy.contrib.openflow3.OFPATDecMPLSTTL

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATDecMPLSTTL'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATDecMPLSTTL).type>, <Field (OFPATDecMPLSTTL).len>, <Field (OFPATDecMPLSTTL).pad>]
class scapy.contrib.openflow3.OFPATDecMPLSTTLID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATDecMPLSTTLID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATDecMPLSTTLID).type>, <Field (OFPATDecMPLSTTLID).len>]
class scapy.contrib.openflow3.OFPATDecNwTTL

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATDecNwTTL'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATDecNwTTL).type>, <Field (OFPATDecNwTTL).len>, <Field (OFPATDecNwTTL).pad>]
class scapy.contrib.openflow3.OFPATDecNwTTLID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATDecNwTTLID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATDecNwTTLID).type>, <Field (OFPATDecNwTTLID).len>]
class scapy.contrib.openflow3.OFPATExperimenter

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATExperimenter'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATExperimenter).type>, <Field (OFPATExperimenter).len>, <Field (OFPATExperimenter).experimenter>]
class scapy.contrib.openflow3.OFPATExperimenterID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATExperimenterID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATExperimenterID).type>, <Field (OFPATExperimenterID).len>]
class scapy.contrib.openflow3.OFPATGroup

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATGroup'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATGroup).type>, <Field (OFPATGroup).len>, <Field (OFPATGroup).group_id>]
class scapy.contrib.openflow3.OFPATGroupID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATGroupID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATGroupID).type>, <Field (OFPATGroupID).len>]
class scapy.contrib.openflow3.OFPATID

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
classmethod dispatch_hook(_pkt=None, *args, **kargs)
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)
class scapy.contrib.openflow3.OFPATOutput

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATOutput'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATOutput).type>, <Field (OFPATOutput).len>, <Field (OFPATOutput).port>, <Field (OFPATOutput).max_len>, <Field (OFPATOutput).pad>]
class scapy.contrib.openflow3.OFPATOutputID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATOutputID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATOutputID).type>, <Field (OFPATOutputID).len>]
class scapy.contrib.openflow3.OFPATPopMPLS

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATPopMPLS'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATPopMPLS).type>, <Field (OFPATPopMPLS).len>, <Field (OFPATPopMPLS).ethertype>, <Field (OFPATPopMPLS).pad>]
class scapy.contrib.openflow3.OFPATPopMPLSID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATPopMPLSID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATPopMPLSID).type>, <Field (OFPATPopMPLSID).len>]
class scapy.contrib.openflow3.OFPATPopPBB

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATPopPBB'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATPopPBB).type>, <Field (OFPATPopPBB).len>, <Field (OFPATPopPBB).pad>]
class scapy.contrib.openflow3.OFPATPopPBBID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATPopPBBID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATPopPBBID).type>, <Field (OFPATPopPBBID).len>]
class scapy.contrib.openflow3.OFPATPopVLAN

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATPopVLAN'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATPopVLAN).type>, <Field (OFPATPopVLAN).len>, <Field (OFPATPopVLAN).pad>]
class scapy.contrib.openflow3.OFPATPopVLANID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATPopVLANID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATPopVLANID).type>, <Field (OFPATPopVLANID).len>]
class scapy.contrib.openflow3.OFPATPushMPLS

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATPushMPLS'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATPushMPLS).type>, <Field (OFPATPushMPLS).len>, <Field (OFPATPushMPLS).ethertype>, <Field (OFPATPushMPLS).pad>]
class scapy.contrib.openflow3.OFPATPushMPLSID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATPushMPLSID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATPushMPLSID).type>, <Field (OFPATPushMPLSID).len>]
class scapy.contrib.openflow3.OFPATPushPBB

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATPushPBB'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATPushPBB).type>, <Field (OFPATPushPBB).len>, <Field (OFPATPushPBB).ethertype>, <Field (OFPATPushPBB).pad>]
class scapy.contrib.openflow3.OFPATPushPBBID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATPushPBBID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATPushPBBID).type>, <Field (OFPATPushPBBID).len>]
class scapy.contrib.openflow3.OFPATPushVLAN

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATPushVLAN'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATPushVLAN).type>, <Field (OFPATPushVLAN).len>, <Field (OFPATPushVLAN).ethertype>, <Field (OFPATPushVLAN).pad>]
class scapy.contrib.openflow3.OFPATPushVLANID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATPushVLANID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATPushVLANID).type>, <Field (OFPATPushVLANID).len>]
class scapy.contrib.openflow3.OFPATSetDlDst

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetDlDst'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetDlDst).type>, <Field (OFPATSetDlDst).len>, <Field (OFPATSetDlDst).dl_addr>, <Field (OFPATSetDlDst).pad>]
class scapy.contrib.openflow3.OFPATSetDlDstID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetDlDstID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetDlDstID).type>, <Field (OFPATSetDlDstID).len>]
class scapy.contrib.openflow3.OFPATSetDlSrc

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetDlSrc'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetDlSrc).type>, <Field (OFPATSetDlSrc).len>, <Field (OFPATSetDlSrc).dl_addr>, <Field (OFPATSetDlSrc).pad>]
class scapy.contrib.openflow3.OFPATSetDlSrcID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetDlSrcID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetDlSrcID).type>, <Field (OFPATSetDlSrcID).len>]
class scapy.contrib.openflow3.OFPATSetField

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetField'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <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 (OFPATSetField).type>, <Field (OFPATSetField).len>, <Field (OFPATSetField).field>]
post_build(p, pay)

DEV: called right after the current layer is build.

Parameters:
  • pkt (str) – the current packet (build by self_buil function)
  • pay (str) – the packet payload (build by do_build_payload function)
Returns:

a string of the packet with the payload

class scapy.contrib.openflow3.OFPATSetFieldID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetFieldID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetFieldID).type>, <Field (OFPATSetFieldID).len>]
class scapy.contrib.openflow3.OFPATSetMPLSLabel

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetMPLSLabel'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetMPLSLabel).type>, <Field (OFPATSetMPLSLabel).len>, <Field (OFPATSetMPLSLabel).mpls_label>]
class scapy.contrib.openflow3.OFPATSetMPLSLabelID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetMPLSLabelID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetMPLSLabelID).type>, <Field (OFPATSetMPLSLabelID).len>]
class scapy.contrib.openflow3.OFPATSetMPLSTC

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetMPLSTC'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetMPLSTC).type>, <Field (OFPATSetMPLSTC).len>, <Field (OFPATSetMPLSTC).mpls_tc>, <Field (OFPATSetMPLSTC).pad>]
class scapy.contrib.openflow3.OFPATSetMPLSTCID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetMPLSTCID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetMPLSTCID).type>, <Field (OFPATSetMPLSTCID).len>]
class scapy.contrib.openflow3.OFPATSetMPLSTTL

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetMPLSTTL'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetMPLSTTL).type>, <Field (OFPATSetMPLSTTL).len>, <Field (OFPATSetMPLSTTL).mpls_ttl>, <Field (OFPATSetMPLSTTL).pad>]
class scapy.contrib.openflow3.OFPATSetMPLSTTLID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetMPLSTTLID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetMPLSTTLID).type>, <Field (OFPATSetMPLSTTLID).len>]
class scapy.contrib.openflow3.OFPATSetNwDst

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetNwDst'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetNwDst).type>, <Field (OFPATSetNwDst).len>, <Field (OFPATSetNwDst).nw_addr>]
class scapy.contrib.openflow3.OFPATSetNwDstID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetNwDstID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetNwDstID).type>, <Field (OFPATSetNwDstID).len>]
class scapy.contrib.openflow3.OFPATSetNwSrc

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetNwSrc'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetNwSrc).type>, <Field (OFPATSetNwSrc).len>, <Field (OFPATSetNwSrc).nw_addr>]
class scapy.contrib.openflow3.OFPATSetNwSrcID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetNwSrcID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetNwSrcID).type>, <Field (OFPATSetNwSrcID).len>]
class scapy.contrib.openflow3.OFPATSetNwTTL

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetNwTTL'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetNwTTL).type>, <Field (OFPATSetNwTTL).len>, <Field (OFPATSetNwTTL).nw_ttl>, <Field (OFPATSetNwTTL).pad>]
class scapy.contrib.openflow3.OFPATSetNwTTLID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetNwTTLID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetNwTTLID).type>, <Field (OFPATSetNwTTLID).len>]
class scapy.contrib.openflow3.OFPATSetNwToS

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetNwToS'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetNwToS).type>, <Field (OFPATSetNwToS).len>, <Field (OFPATSetNwToS).nw_tos>, <Field (OFPATSetNwToS).pad>]
class scapy.contrib.openflow3.OFPATSetNwToSID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetNwToSID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetNwToSID).type>, <Field (OFPATSetNwToSID).len>]
class scapy.contrib.openflow3.OFPATSetQueue

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetQueue'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetQueue).type>, <Field (OFPATSetQueue).len>, <Field (OFPATSetQueue).queue_id>]
class scapy.contrib.openflow3.OFPATSetQueueID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetQueueID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetQueueID).type>, <Field (OFPATSetQueueID).len>]
class scapy.contrib.openflow3.OFPATSetTpDst

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetTpDst'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetTpDst).type>, <Field (OFPATSetTpDst).len>, <Field (OFPATSetTpDst).tp_port>, <Field (OFPATSetTpDst).pad>]
class scapy.contrib.openflow3.OFPATSetTpDstID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetTpDstID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetTpDstID).type>, <Field (OFPATSetTpDstID).len>]
class scapy.contrib.openflow3.OFPATSetTpSrc

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetTpSrc'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetTpSrc).type>, <Field (OFPATSetTpSrc).len>, <Field (OFPATSetTpSrc).tp_port>, <Field (OFPATSetTpSrc).pad>]
class scapy.contrib.openflow3.OFPATSetTpSrcID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetTpSrcID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetTpSrcID).type>, <Field (OFPATSetTpSrcID).len>]
class scapy.contrib.openflow3.OFPATSetVLANPCP

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetVLANPCP'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetVLANPCP).type>, <Field (OFPATSetVLANPCP).len>, <Field (OFPATSetVLANPCP).vlan_pcp>, <Field (OFPATSetVLANPCP).pad>]
class scapy.contrib.openflow3.OFPATSetVLANPCPID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetVLANPCPID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetVLANPCPID).type>, <Field (OFPATSetVLANPCPID).len>]
class scapy.contrib.openflow3.OFPATSetVLANVID

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetVLANVID'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetVLANVID).type>, <Field (OFPATSetVLANVID).len>, <Field (OFPATSetVLANVID).vlan_vid>, <Field (OFPATSetVLANVID).pad>]
class scapy.contrib.openflow3.OFPATSetVLANVIDID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATSetVLANVIDID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATSetVLANVIDID).type>, <Field (OFPATSetVLANVIDID).len>]
class scapy.contrib.openflow3.OFPATStripVLAN

Bases: scapy.contrib.openflow3.OFPAT

aliastypes = [<class 'scapy.contrib.openflow3.OFPATStripVLAN'>, <class 'scapy.contrib.openflow3.OFPAT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATStripVLAN).type>, <Field (OFPATStripVLAN).len>, <Field (OFPATStripVLAN).pad>]
class scapy.contrib.openflow3.OFPATStripVLANID

Bases: scapy.contrib.openflow3.OFPATID

aliastypes = [<class 'scapy.contrib.openflow3.OFPATStripVLANID'>, <class 'scapy.contrib.openflow3.OFPATID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPATStripVLANID).type>, <Field (OFPATStripVLANID).len>]
class scapy.contrib.openflow3.OFPBucket

Bases: scapy.contrib.openflow._ofp_header_item

aliastypes = [<class 'scapy.contrib.openflow3.OFPBucket'>, <class 'scapy.contrib.openflow._ofp_header_item'>, <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 (OFPBucket).len>, <Field (OFPBucket).weight>, <Field (OFPBucket).watch_port>, <Field (OFPBucket).watch_group>, <Field (OFPBucket).pad>, <Field (OFPBucket).actions>]
class scapy.contrib.openflow3.OFPBucketStats

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.openflow3.OFPBucketStats'>, <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 (OFPBucketStats).packet_count>, <Field (OFPBucketStats).byte_count>]
class scapy.contrib.openflow3.OFPETBadAction

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPETBadAction'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPETBadAction).version>, <Field (OFPETBadAction).type>, <Field (OFPETBadAction).len>, <Field (OFPETBadAction).xid>, <Field (OFPETBadAction).errtype>, <Field (OFPETBadAction).errcode>, <Field (OFPETBadAction).data>]
class scapy.contrib.openflow3.OFPETBadInstruction

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPETBadInstruction'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPETBadInstruction).version>, <Field (OFPETBadInstruction).type>, <Field (OFPETBadInstruction).len>, <Field (OFPETBadInstruction).xid>, <Field (OFPETBadInstruction).errtype>, <Field (OFPETBadInstruction).errcode>, <Field (OFPETBadInstruction).data>]
class scapy.contrib.openflow3.OFPETBadMatch

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPETBadMatch'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPETBadMatch).version>, <Field (OFPETBadMatch).type>, <Field (OFPETBadMatch).len>, <Field (OFPETBadMatch).xid>, <Field (OFPETBadMatch).errtype>, <Field (OFPETBadMatch).errcode>, <Field (OFPETBadMatch).data>]
class scapy.contrib.openflow3.OFPETBadRequest

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPETBadRequest'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPETBadRequest).version>, <Field (OFPETBadRequest).type>, <Field (OFPETBadRequest).len>, <Field (OFPETBadRequest).xid>, <Field (OFPETBadRequest).errtype>, <Field (OFPETBadRequest).errcode>, <Field (OFPETBadRequest).data>]
class scapy.contrib.openflow3.OFPETExperimenter

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPETExperimenter'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPETExperimenter).version>, <Field (OFPETExperimenter).type>, <Field (OFPETExperimenter).len>, <Field (OFPETExperimenter).xid>, <Field (OFPETExperimenter).errtype>, <Field (OFPETExperimenter).exp_type>, <Field (OFPETExperimenter).experimenter>, <Field (OFPETExperimenter).data>]
class scapy.contrib.openflow3.OFPETFlowModFailed

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPETFlowModFailed'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPETFlowModFailed).version>, <Field (OFPETFlowModFailed).type>, <Field (OFPETFlowModFailed).len>, <Field (OFPETFlowModFailed).xid>, <Field (OFPETFlowModFailed).errtype>, <Field (OFPETFlowModFailed).errcode>, <Field (OFPETFlowModFailed).data>]
class scapy.contrib.openflow3.OFPETGroupModFailed

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPETGroupModFailed'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPETGroupModFailed).version>, <Field (OFPETGroupModFailed).type>, <Field (OFPETGroupModFailed).len>, <Field (OFPETGroupModFailed).xid>, <Field (OFPETGroupModFailed).errtype>, <Field (OFPETGroupModFailed).errcode>, <Field (OFPETGroupModFailed).data>]
class scapy.contrib.openflow3.OFPETHelloFailed

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPETHelloFailed'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPETHelloFailed).version>, <Field (OFPETHelloFailed).type>, <Field (OFPETHelloFailed).len>, <Field (OFPETHelloFailed).xid>, <Field (OFPETHelloFailed).errtype>, <Field (OFPETHelloFailed).errcode>, <Field (OFPETHelloFailed).data>]
class scapy.contrib.openflow3.OFPETMeterModFailed

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPETMeterModFailed'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPETMeterModFailed).version>, <Field (OFPETMeterModFailed).type>, <Field (OFPETMeterModFailed).len>, <Field (OFPETMeterModFailed).xid>, <Field (OFPETMeterModFailed).errtype>, <Field (OFPETMeterModFailed).errcode>, <Field (OFPETMeterModFailed).data>]
class scapy.contrib.openflow3.OFPETPortModFailed

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPETPortModFailed'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPETPortModFailed).version>, <Field (OFPETPortModFailed).type>, <Field (OFPETPortModFailed).len>, <Field (OFPETPortModFailed).xid>, <Field (OFPETPortModFailed).errtype>, <Field (OFPETPortModFailed).errcode>, <Field (OFPETPortModFailed).data>]
class scapy.contrib.openflow3.OFPETQueueOpFailed

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPETQueueOpFailed'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPETQueueOpFailed).version>, <Field (OFPETQueueOpFailed).type>, <Field (OFPETQueueOpFailed).len>, <Field (OFPETQueueOpFailed).xid>, <Field (OFPETQueueOpFailed).errtype>, <Field (OFPETQueueOpFailed).errcode>, <Field (OFPETQueueOpFailed).data>]
class scapy.contrib.openflow3.OFPETRoleRequestFailed

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPETRoleRequestFailed'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPETRoleRequestFailed).version>, <Field (OFPETRoleRequestFailed).type>, <Field (OFPETRoleRequestFailed).len>, <Field (OFPETRoleRequestFailed).xid>, <Field (OFPETRoleRequestFailed).errtype>, <Field (OFPETRoleRequestFailed).errcode>, <Field (OFPETRoleRequestFailed).data>]
class scapy.contrib.openflow3.OFPETSwitchConfigFailed

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPETSwitchConfigFailed'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPETSwitchConfigFailed).version>, <Field (OFPETSwitchConfigFailed).type>, <Field (OFPETSwitchConfigFailed).len>, <Field (OFPETSwitchConfigFailed).xid>, <Field (OFPETSwitchConfigFailed).errtype>, <Field (OFPETSwitchConfigFailed).errcode>, <Field (OFPETSwitchConfigFailed).data>]
class scapy.contrib.openflow3.OFPETTableFeaturesFailed

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPETTableFeaturesFailed'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPETTableFeaturesFailed).version>, <Field (OFPETTableFeaturesFailed).type>, <Field (OFPETTableFeaturesFailed).len>, <Field (OFPETTableFeaturesFailed).xid>, <Field (OFPETTableFeaturesFailed).errtype>, <Field (OFPETTableFeaturesFailed).errcode>, <Field (OFPETTableFeaturesFailed).data>]
class scapy.contrib.openflow3.OFPETTableModFailed

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPETTableModFailed'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPETTableModFailed).version>, <Field (OFPETTableModFailed).type>, <Field (OFPETTableModFailed).len>, <Field (OFPETTableModFailed).xid>, <Field (OFPETTableModFailed).errtype>, <Field (OFPETTableModFailed).errcode>, <Field (OFPETTableModFailed).data>]
class scapy.contrib.openflow3.OFPFlowStats

Bases: scapy.contrib.openflow._ofp_header_item

aliastypes = [<class 'scapy.contrib.openflow3.OFPFlowStats'>, <class 'scapy.contrib.openflow._ofp_header_item'>, <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 (OFPFlowStats).len>, <Field (OFPFlowStats).table_id>, <Field (OFPFlowStats).pad1>, <Field (OFPFlowStats).duration_sec>, <Field (OFPFlowStats).duration_nsec>, <Field (OFPFlowStats).priority>, <Field (OFPFlowStats).idle_timeout>, <Field (OFPFlowStats).hard_timeout>, <Field (OFPFlowStats).flags>, <Field (OFPFlowStats).pad2>, <Field (OFPFlowStats).cookie>, <Field (OFPFlowStats).packet_count>, <Field (OFPFlowStats).byte_count>, <Field (OFPFlowStats).match>, <Field (OFPFlowStats).instructions>]
class scapy.contrib.openflow3.OFPGroupDesc

Bases: scapy.contrib.openflow._ofp_header_item

aliastypes = [<class 'scapy.contrib.openflow3.OFPGroupDesc'>, <class 'scapy.contrib.openflow._ofp_header_item'>, <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 (OFPGroupDesc).len>, <Field (OFPGroupDesc).type>, <Field (OFPGroupDesc).pad>, <Field (OFPGroupDesc).group_id>, <Field (OFPGroupDesc).buckets>]
class scapy.contrib.openflow3.OFPGroupStats

Bases: scapy.contrib.openflow._ofp_header_item

aliastypes = [<class 'scapy.contrib.openflow3.OFPGroupStats'>, <class 'scapy.contrib.openflow._ofp_header_item'>, <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 (OFPGroupStats).len>, <Field (OFPGroupStats).pad1>, <Field (OFPGroupStats).group_id>, <Field (OFPGroupStats).ref_count>, <Field (OFPGroupStats).pad2>, <Field (OFPGroupStats).packet_count>, <Field (OFPGroupStats).byte_count>, <Field (OFPGroupStats).duration_sec>, <Field (OFPGroupStats).duration_nsec>, <Field (OFPGroupStats).bucket_stats>]
class scapy.contrib.openflow3.OFPHET

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPHET'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
classmethod dispatch_hook(_pkt=None, *args, **kargs)
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)
class scapy.contrib.openflow3.OFPHETVersionBitmap

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPHETVersionBitmap'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPHETVersionBitmap).type>, <Field (OFPHETVersionBitmap).len>, <Field (OFPHETVersionBitmap).bitmap>]
class scapy.contrib.openflow3.OFPIT

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPIT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
classmethod dispatch_hook(_pkt=None, *args, **kargs)
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)
class scapy.contrib.openflow3.OFPITApplyActions

Bases: scapy.contrib.openflow3.OFPIT

aliastypes = [<class 'scapy.contrib.openflow3.OFPITApplyActions'>, <class 'scapy.contrib.openflow3.OFPIT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPITApplyActions).type>, <Field (OFPITApplyActions).len>, <Field (OFPITApplyActions).pad>, <Field (OFPITApplyActions).actions>]
class scapy.contrib.openflow3.OFPITApplyActionsID

Bases: scapy.contrib.openflow3.OFPITID

aliastypes = [<class 'scapy.contrib.openflow3.OFPITApplyActionsID'>, <class 'scapy.contrib.openflow3.OFPITID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPITApplyActionsID).type>, <Field (OFPITApplyActionsID).len>]
class scapy.contrib.openflow3.OFPITClearActions

Bases: scapy.contrib.openflow3.OFPIT

aliastypes = [<class 'scapy.contrib.openflow3.OFPITClearActions'>, <class 'scapy.contrib.openflow3.OFPIT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPITClearActions).type>, <Field (OFPITClearActions).len>, <Field (OFPITClearActions).pad>]
class scapy.contrib.openflow3.OFPITClearActionsID

Bases: scapy.contrib.openflow3.OFPITID

aliastypes = [<class 'scapy.contrib.openflow3.OFPITClearActionsID'>, <class 'scapy.contrib.openflow3.OFPITID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPITClearActionsID).type>, <Field (OFPITClearActionsID).len>]
class scapy.contrib.openflow3.OFPITExperimenter

Bases: scapy.contrib.openflow3.OFPIT

aliastypes = [<class 'scapy.contrib.openflow3.OFPITExperimenter'>, <class 'scapy.contrib.openflow3.OFPIT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPITExperimenter).type>, <Field (OFPITExperimenter).len>, <Field (OFPITExperimenter).experimenter>]
class scapy.contrib.openflow3.OFPITExperimenterID

Bases: scapy.contrib.openflow3.OFPITID

aliastypes = [<class 'scapy.contrib.openflow3.OFPITExperimenterID'>, <class 'scapy.contrib.openflow3.OFPITID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPITExperimenterID).type>, <Field (OFPITExperimenterID).len>]
class scapy.contrib.openflow3.OFPITGotoTable

Bases: scapy.contrib.openflow3.OFPIT

aliastypes = [<class 'scapy.contrib.openflow3.OFPITGotoTable'>, <class 'scapy.contrib.openflow3.OFPIT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPITGotoTable).type>, <Field (OFPITGotoTable).len>, <Field (OFPITGotoTable).table_id>, <Field (OFPITGotoTable).pad>]
class scapy.contrib.openflow3.OFPITGotoTableID

Bases: scapy.contrib.openflow3.OFPITID

aliastypes = [<class 'scapy.contrib.openflow3.OFPITGotoTableID'>, <class 'scapy.contrib.openflow3.OFPITID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPITGotoTableID).type>, <Field (OFPITGotoTableID).len>]
class scapy.contrib.openflow3.OFPITID

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPITID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
classmethod dispatch_hook(_pkt=None, *args, **kargs)
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)
class scapy.contrib.openflow3.OFPITMeter

Bases: scapy.contrib.openflow3.OFPIT

aliastypes = [<class 'scapy.contrib.openflow3.OFPITMeter'>, <class 'scapy.contrib.openflow3.OFPIT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPITMeter).type>, <Field (OFPITMeter).len>, <Field (OFPITMeter).meter_id>]
class scapy.contrib.openflow3.OFPITMeterID

Bases: scapy.contrib.openflow3.OFPITID

aliastypes = [<class 'scapy.contrib.openflow3.OFPITMeterID'>, <class 'scapy.contrib.openflow3.OFPITID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPITMeterID).type>, <Field (OFPITMeterID).len>]
class scapy.contrib.openflow3.OFPITWriteActions

Bases: scapy.contrib.openflow3.OFPIT

aliastypes = [<class 'scapy.contrib.openflow3.OFPITWriteActions'>, <class 'scapy.contrib.openflow3.OFPIT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPITWriteActions).type>, <Field (OFPITWriteActions).len>, <Field (OFPITWriteActions).pad>, <Field (OFPITWriteActions).actions>]
class scapy.contrib.openflow3.OFPITWriteActionsID

Bases: scapy.contrib.openflow3.OFPITID

aliastypes = [<class 'scapy.contrib.openflow3.OFPITWriteActionsID'>, <class 'scapy.contrib.openflow3.OFPITID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPITWriteActionsID).type>, <Field (OFPITWriteActionsID).len>]
class scapy.contrib.openflow3.OFPITWriteMetadata

Bases: scapy.contrib.openflow3.OFPIT

aliastypes = [<class 'scapy.contrib.openflow3.OFPITWriteMetadata'>, <class 'scapy.contrib.openflow3.OFPIT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPITWriteMetadata).type>, <Field (OFPITWriteMetadata).len>, <Field (OFPITWriteMetadata).pad>, <Field (OFPITWriteMetadata).metadata>, <Field (OFPITWriteMetadata).metadata_mask>]
class scapy.contrib.openflow3.OFPITWriteMetadataID

Bases: scapy.contrib.openflow3.OFPITID

aliastypes = [<class 'scapy.contrib.openflow3.OFPITWriteMetadataID'>, <class 'scapy.contrib.openflow3.OFPITID'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPITWriteMetadataID).type>, <Field (OFPITWriteMetadataID).len>]
class scapy.contrib.openflow3.OFPMBT

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMBT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
classmethod dispatch_hook(_pkt=None, *args, **kargs)
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)
class scapy.contrib.openflow3.OFPMBTDSCPRemark

Bases: scapy.contrib.openflow3.OFPMBT

aliastypes = [<class 'scapy.contrib.openflow3.OFPMBTDSCPRemark'>, <class 'scapy.contrib.openflow3.OFPMBT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMBTDSCPRemark).type>, <Field (OFPMBTDSCPRemark).len>, <Field (OFPMBTDSCPRemark).rate>, <Field (OFPMBTDSCPRemark).burst_size>, <Field (OFPMBTDSCPRemark).prec_level>, <Field (OFPMBTDSCPRemark).pad>]
class scapy.contrib.openflow3.OFPMBTDrop

Bases: scapy.contrib.openflow3.OFPMBT

aliastypes = [<class 'scapy.contrib.openflow3.OFPMBTDrop'>, <class 'scapy.contrib.openflow3.OFPMBT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMBTDrop).type>, <Field (OFPMBTDrop).len>, <Field (OFPMBTDrop).rate>, <Field (OFPMBTDrop).burst_size>, <Field (OFPMBTDrop).pad>]
class scapy.contrib.openflow3.OFPMBTExperimenter

Bases: scapy.contrib.openflow3.OFPMBT

aliastypes = [<class 'scapy.contrib.openflow3.OFPMBTExperimenter'>, <class 'scapy.contrib.openflow3.OFPMBT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMBTExperimenter).type>, <Field (OFPMBTExperimenter).len>, <Field (OFPMBTExperimenter).rate>, <Field (OFPMBTExperimenter).burst_size>, <Field (OFPMBTExperimenter).experimenter>]
class scapy.contrib.openflow3.OFPMPReplyAggregate

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPReplyAggregate'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPReplyAggregate).version>, <Field (OFPMPReplyAggregate).type>, <Field (OFPMPReplyAggregate).len>, <Field (OFPMPReplyAggregate).xid>, <Field (OFPMPReplyAggregate).mp_type>, <Field (OFPMPReplyAggregate).flags>, <Field (OFPMPReplyAggregate).pad1>, <Field (OFPMPReplyAggregate).packet_count>, <Field (OFPMPReplyAggregate).byte_count>, <Field (OFPMPReplyAggregate).flow_count>, <Field (OFPMPReplyAggregate).pad2>]
class scapy.contrib.openflow3.OFPMPReplyDesc

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPReplyDesc'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPReplyDesc).version>, <Field (OFPMPReplyDesc).type>, <Field (OFPMPReplyDesc).len>, <Field (OFPMPReplyDesc).xid>, <Field (OFPMPReplyDesc).mp_type>, <Field (OFPMPReplyDesc).flags>, <Field (OFPMPReplyDesc).pad>, <Field (OFPMPReplyDesc).mfr_desc>, <Field (OFPMPReplyDesc).hw_desc>, <Field (OFPMPReplyDesc).sw_desc>, <Field (OFPMPReplyDesc).serial_num>, <Field (OFPMPReplyDesc).dp_desc>]
class scapy.contrib.openflow3.OFPMPReplyExperimenter

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPReplyExperimenter'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPReplyExperimenter).version>, <Field (OFPMPReplyExperimenter).type>, <Field (OFPMPReplyExperimenter).len>, <Field (OFPMPReplyExperimenter).xid>, <Field (OFPMPReplyExperimenter).mp_type>, <Field (OFPMPReplyExperimenter).flags>, <Field (OFPMPReplyExperimenter).pad1>, <Field (OFPMPReplyExperimenter).experimenter>, <Field (OFPMPReplyExperimenter).exp_type>]
class scapy.contrib.openflow3.OFPMPReplyFlow

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPReplyFlow'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPReplyFlow).version>, <Field (OFPMPReplyFlow).type>, <Field (OFPMPReplyFlow).len>, <Field (OFPMPReplyFlow).xid>, <Field (OFPMPReplyFlow).mp_type>, <Field (OFPMPReplyFlow).flags>, <Field (OFPMPReplyFlow).pad1>, <Field (OFPMPReplyFlow).flow_stats>]
class scapy.contrib.openflow3.OFPMPReplyGroup

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPReplyGroup'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPReplyGroup).version>, <Field (OFPMPReplyGroup).type>, <Field (OFPMPReplyGroup).len>, <Field (OFPMPReplyGroup).xid>, <Field (OFPMPReplyGroup).mp_type>, <Field (OFPMPReplyGroup).flags>, <Field (OFPMPReplyGroup).pad1>, <Field (OFPMPReplyGroup).group_stats>]
class scapy.contrib.openflow3.OFPMPReplyGroupDesc

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPReplyGroupDesc'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPReplyGroupDesc).version>, <Field (OFPMPReplyGroupDesc).type>, <Field (OFPMPReplyGroupDesc).len>, <Field (OFPMPReplyGroupDesc).xid>, <Field (OFPMPReplyGroupDesc).mp_type>, <Field (OFPMPReplyGroupDesc).flags>, <Field (OFPMPReplyGroupDesc).pad1>, <Field (OFPMPReplyGroupDesc).group_descs>]
class scapy.contrib.openflow3.OFPMPReplyGroupFeatures

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPReplyGroupFeatures'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPReplyGroupFeatures).version>, <Field (OFPMPReplyGroupFeatures).type>, <Field (OFPMPReplyGroupFeatures).len>, <Field (OFPMPReplyGroupFeatures).xid>, <Field (OFPMPReplyGroupFeatures).mp_type>, <Field (OFPMPReplyGroupFeatures).flags>, <Field (OFPMPReplyGroupFeatures).pad1>, <Field (OFPMPReplyGroupFeatures).types>, <Field (OFPMPReplyGroupFeatures).capabilities>, <Field (OFPMPReplyGroupFeatures).max_group_all>, <Field (OFPMPReplyGroupFeatures).max_group_select>, <Field (OFPMPReplyGroupFeatures).max_group_indirect>, <Field (OFPMPReplyGroupFeatures).max_group_ff>, <Field (OFPMPReplyGroupFeatures).actions_all>, <Field (OFPMPReplyGroupFeatures).actions_select>, <Field (OFPMPReplyGroupFeatures).actions_indirect>, <Field (OFPMPReplyGroupFeatures).actions_ff>]
class scapy.contrib.openflow3.OFPMPReplyMeter

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPReplyMeter'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPReplyMeter).version>, <Field (OFPMPReplyMeter).type>, <Field (OFPMPReplyMeter).len>, <Field (OFPMPReplyMeter).xid>, <Field (OFPMPReplyMeter).mp_type>, <Field (OFPMPReplyMeter).flags>, <Field (OFPMPReplyMeter).pad1>, <Field (OFPMPReplyMeter).meter_stats>]
class scapy.contrib.openflow3.OFPMPReplyMeterConfig

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPReplyMeterConfig'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPReplyMeterConfig).version>, <Field (OFPMPReplyMeterConfig).type>, <Field (OFPMPReplyMeterConfig).len>, <Field (OFPMPReplyMeterConfig).xid>, <Field (OFPMPReplyMeterConfig).mp_type>, <Field (OFPMPReplyMeterConfig).flags>, <Field (OFPMPReplyMeterConfig).pad1>, <Field (OFPMPReplyMeterConfig).meter_configs>]
class scapy.contrib.openflow3.OFPMPReplyMeterFeatures

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPReplyMeterFeatures'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPReplyMeterFeatures).version>, <Field (OFPMPReplyMeterFeatures).type>, <Field (OFPMPReplyMeterFeatures).len>, <Field (OFPMPReplyMeterFeatures).xid>, <Field (OFPMPReplyMeterFeatures).mp_type>, <Field (OFPMPReplyMeterFeatures).flags>, <Field (OFPMPReplyMeterFeatures).pad1>, <Field (OFPMPReplyMeterFeatures).max_meter>, <Field (OFPMPReplyMeterFeatures).band_types>, <Field (OFPMPReplyMeterFeatures).capabilities>, <Field (OFPMPReplyMeterFeatures).max_bands>, <Field (OFPMPReplyMeterFeatures).max_color>, <Field (OFPMPReplyMeterFeatures).pad2>]
class scapy.contrib.openflow3.OFPMPReplyPortDesc

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPReplyPortDesc'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPReplyPortDesc).version>, <Field (OFPMPReplyPortDesc).type>, <Field (OFPMPReplyPortDesc).len>, <Field (OFPMPReplyPortDesc).xid>, <Field (OFPMPReplyPortDesc).mp_type>, <Field (OFPMPReplyPortDesc).flags>, <Field (OFPMPReplyPortDesc).pad1>, <Field (OFPMPReplyPortDesc).ports>]
class scapy.contrib.openflow3.OFPMPReplyPortStats

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPReplyPortStats'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPReplyPortStats).version>, <Field (OFPMPReplyPortStats).type>, <Field (OFPMPReplyPortStats).len>, <Field (OFPMPReplyPortStats).xid>, <Field (OFPMPReplyPortStats).mp_type>, <Field (OFPMPReplyPortStats).flags>, <Field (OFPMPReplyPortStats).pad1>, <Field (OFPMPReplyPortStats).port_stats>]
class scapy.contrib.openflow3.OFPMPReplyQueue

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPReplyQueue'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPReplyQueue).version>, <Field (OFPMPReplyQueue).type>, <Field (OFPMPReplyQueue).len>, <Field (OFPMPReplyQueue).xid>, <Field (OFPMPReplyQueue).mp_type>, <Field (OFPMPReplyQueue).flags>, <Field (OFPMPReplyQueue).pad1>, <Field (OFPMPReplyQueue).queue_stats>]
class scapy.contrib.openflow3.OFPMPReplyTable

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPReplyTable'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPReplyTable).version>, <Field (OFPMPReplyTable).type>, <Field (OFPMPReplyTable).len>, <Field (OFPMPReplyTable).xid>, <Field (OFPMPReplyTable).mp_type>, <Field (OFPMPReplyTable).flags>, <Field (OFPMPReplyTable).pad1>, <Field (OFPMPReplyTable).table_stats>]
class scapy.contrib.openflow3.OFPMPReplyTableFeatures

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPReplyTableFeatures'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPReplyTableFeatures).version>, <Field (OFPMPReplyTableFeatures).type>, <Field (OFPMPReplyTableFeatures).len>, <Field (OFPMPReplyTableFeatures).xid>, <Field (OFPMPReplyTableFeatures).mp_type>, <Field (OFPMPReplyTableFeatures).flags>, <Field (OFPMPReplyTableFeatures).pad1>, <Field (OFPMPReplyTableFeatures).table_features>]
class scapy.contrib.openflow3.OFPMPRequestAggregate

Bases: scapy.contrib.openflow3.OFPMPRequestFlow

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPRequestAggregate'>, <class 'scapy.contrib.openflow3.OFPMPRequestFlow'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPRequestFlow,OFPMPRequestAggregate).version>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).type>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).len>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).xid>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).mp_type>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).flags>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).pad1>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).table_id>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).pad2>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).out_port>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).out_group>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).pad3>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).cookie>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).cookie_mask>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).match>]
class scapy.contrib.openflow3.OFPMPRequestDesc

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPRequestDesc'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPRequestDesc).version>, <Field (OFPMPRequestDesc).type>, <Field (OFPMPRequestDesc).len>, <Field (OFPMPRequestDesc).xid>, <Field (OFPMPRequestDesc).mp_type>, <Field (OFPMPRequestDesc).flags>, <Field (OFPMPRequestDesc).pad>]
class scapy.contrib.openflow3.OFPMPRequestExperimenter

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPRequestExperimenter'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPRequestExperimenter).version>, <Field (OFPMPRequestExperimenter).type>, <Field (OFPMPRequestExperimenter).len>, <Field (OFPMPRequestExperimenter).xid>, <Field (OFPMPRequestExperimenter).mp_type>, <Field (OFPMPRequestExperimenter).flags>, <Field (OFPMPRequestExperimenter).pad1>, <Field (OFPMPRequestExperimenter).experimenter>, <Field (OFPMPRequestExperimenter).exp_type>]
class scapy.contrib.openflow3.OFPMPRequestFlow

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPRequestFlow'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPRequestFlow,OFPMPRequestAggregate).version>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).type>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).len>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).xid>, <Field (OFPMPRequestFlow).mp_type>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).flags>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).pad1>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).table_id>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).pad2>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).out_port>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).out_group>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).pad3>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).cookie>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).cookie_mask>, <Field (OFPMPRequestFlow,OFPMPRequestAggregate).match>]
class scapy.contrib.openflow3.OFPMPRequestGroup

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPRequestGroup'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPRequestGroup).version>, <Field (OFPMPRequestGroup).type>, <Field (OFPMPRequestGroup).len>, <Field (OFPMPRequestGroup).xid>, <Field (OFPMPRequestGroup).mp_type>, <Field (OFPMPRequestGroup).flags>, <Field (OFPMPRequestGroup).pad1>, <Field (OFPMPRequestGroup).group_id>, <Field (OFPMPRequestGroup).pad2>]
class scapy.contrib.openflow3.OFPMPRequestGroupDesc

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPRequestGroupDesc'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPRequestGroupDesc).version>, <Field (OFPMPRequestGroupDesc).type>, <Field (OFPMPRequestGroupDesc).len>, <Field (OFPMPRequestGroupDesc).xid>, <Field (OFPMPRequestGroupDesc).mp_type>, <Field (OFPMPRequestGroupDesc).flags>, <Field (OFPMPRequestGroupDesc).pad1>]
class scapy.contrib.openflow3.OFPMPRequestGroupFeatures

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPRequestGroupFeatures'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPRequestGroupFeatures).version>, <Field (OFPMPRequestGroupFeatures).type>, <Field (OFPMPRequestGroupFeatures).len>, <Field (OFPMPRequestGroupFeatures).xid>, <Field (OFPMPRequestGroupFeatures).mp_type>, <Field (OFPMPRequestGroupFeatures).flags>, <Field (OFPMPRequestGroupFeatures).pad1>]
class scapy.contrib.openflow3.OFPMPRequestMeter

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPRequestMeter'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPRequestMeter).version>, <Field (OFPMPRequestMeter).type>, <Field (OFPMPRequestMeter).len>, <Field (OFPMPRequestMeter).xid>, <Field (OFPMPRequestMeter).mp_type>, <Field (OFPMPRequestMeter).flags>, <Field (OFPMPRequestMeter).pad1>, <Field (OFPMPRequestMeter).meter_id>, <Field (OFPMPRequestMeter).pad2>]
class scapy.contrib.openflow3.OFPMPRequestMeterConfig

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPRequestMeterConfig'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPRequestMeterConfig).version>, <Field (OFPMPRequestMeterConfig).type>, <Field (OFPMPRequestMeterConfig).len>, <Field (OFPMPRequestMeterConfig).xid>, <Field (OFPMPRequestMeterConfig).mp_type>, <Field (OFPMPRequestMeterConfig).flags>, <Field (OFPMPRequestMeterConfig).pad1>, <Field (OFPMPRequestMeterConfig).meter_id>, <Field (OFPMPRequestMeterConfig).pad2>]
class scapy.contrib.openflow3.OFPMPRequestMeterFeatures

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPRequestMeterFeatures'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPRequestMeterFeatures).version>, <Field (OFPMPRequestMeterFeatures).type>, <Field (OFPMPRequestMeterFeatures).len>, <Field (OFPMPRequestMeterFeatures).xid>, <Field (OFPMPRequestMeterFeatures).mp_type>, <Field (OFPMPRequestMeterFeatures).flags>, <Field (OFPMPRequestMeterFeatures).pad1>]
class scapy.contrib.openflow3.OFPMPRequestPortDesc

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPRequestPortDesc'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPRequestPortDesc).version>, <Field (OFPMPRequestPortDesc).type>, <Field (OFPMPRequestPortDesc).len>, <Field (OFPMPRequestPortDesc).xid>, <Field (OFPMPRequestPortDesc).mp_type>, <Field (OFPMPRequestPortDesc).flags>, <Field (OFPMPRequestPortDesc).pad1>, <Field (OFPMPRequestPortDesc).port_no>, <Field (OFPMPRequestPortDesc).pad>]
class scapy.contrib.openflow3.OFPMPRequestPortStats

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPRequestPortStats'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPRequestPortStats).version>, <Field (OFPMPRequestPortStats).type>, <Field (OFPMPRequestPortStats).len>, <Field (OFPMPRequestPortStats).xid>, <Field (OFPMPRequestPortStats).mp_type>, <Field (OFPMPRequestPortStats).flags>, <Field (OFPMPRequestPortStats).pad1>, <Field (OFPMPRequestPortStats).port_no>, <Field (OFPMPRequestPortStats).pad>]
class scapy.contrib.openflow3.OFPMPRequestQueue

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPRequestQueue'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPRequestQueue).version>, <Field (OFPMPRequestQueue).type>, <Field (OFPMPRequestQueue).len>, <Field (OFPMPRequestQueue).xid>, <Field (OFPMPRequestQueue).mp_type>, <Field (OFPMPRequestQueue).flags>, <Field (OFPMPRequestQueue).pad1>, <Field (OFPMPRequestQueue).port_no>, <Field (OFPMPRequestQueue).queue_id>]
class scapy.contrib.openflow3.OFPMPRequestTable

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPRequestTable'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPRequestTable).version>, <Field (OFPMPRequestTable).type>, <Field (OFPMPRequestTable).len>, <Field (OFPMPRequestTable).xid>, <Field (OFPMPRequestTable).mp_type>, <Field (OFPMPRequestTable).flags>, <Field (OFPMPRequestTable).pad1>]
class scapy.contrib.openflow3.OFPMPRequestTableFeatures

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPMPRequestTableFeatures'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPMPRequestTableFeatures).version>, <Field (OFPMPRequestTableFeatures).type>, <Field (OFPMPRequestTableFeatures).len>, <Field (OFPMPRequestTableFeatures).xid>, <Field (OFPMPRequestTableFeatures).mp_type>, <Field (OFPMPRequestTableFeatures).flags>, <Field (OFPMPRequestTableFeatures).pad1>, <Field (OFPMPRequestTableFeatures).table_features>]
class scapy.contrib.openflow3.OFPMatch

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.openflow3.OFPMatch'>, <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 (OFPMatch).type>, <Field (OFPMatch).len>, <Field (OFPMatch).oxm_fields>]
post_build(p, pay)

DEV: called right after the current layer is build.

Parameters:
  • pkt (str) – the current packet (build by self_buil function)
  • pay (str) – the packet payload (build by do_build_payload function)
Returns:

a string of the packet with the payload

class scapy.contrib.openflow3.OFPMeterBandStats

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.openflow3.OFPMeterBandStats'>, <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 (OFPMeterBandStats).packet_band_count>, <Field (OFPMeterBandStats).byte_band_count>]
class scapy.contrib.openflow3.OFPMeterConfig

Bases: scapy.contrib.openflow._ofp_header_item

aliastypes = [<class 'scapy.contrib.openflow3.OFPMeterConfig'>, <class 'scapy.contrib.openflow._ofp_header_item'>, <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 (OFPMeterConfig).len>, <Field (OFPMeterConfig).flags>, <Field (OFPMeterConfig).meter_id>, <Field (OFPMeterConfig).bands>]
class scapy.contrib.openflow3.OFPMeterStats

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.openflow3.OFPMeterStats'>, <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 (OFPMeterStats).meter_id>, <Field (OFPMeterStats).len>, <Field (OFPMeterStats).pad>, <Field (OFPMeterStats).flow_count>, <Field (OFPMeterStats).packet_in_count>, <Field (OFPMeterStats).byte_in_count>, <Field (OFPMeterStats).duration_sec>, <Field (OFPMeterStats).duration_nsec>, <Field (OFPMeterStats).band_stats>]
post_build(p, pay)

DEV: called right after the current layer is build.

Parameters:
  • pkt (str) – the current packet (build by self_buil function)
  • pay (str) – the packet payload (build by do_build_payload function)
Returns:

a string of the packet with the payload

class scapy.contrib.openflow3.OFPPacketQueue

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.openflow3.OFPPacketQueue'>, <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 (OFPPacketQueue).queue_id>, <Field (OFPPacketQueue).len>, <Field (OFPPacketQueue).pad>, <Field (OFPPacketQueue).properties>]
post_build(p, pay)

DEV: called right after the current layer is build.

Parameters:
  • pkt (str) – the current packet (build by self_buil function)
  • pay (str) – the packet payload (build by do_build_payload function)
Returns:

a string of the packet with the payload

class scapy.contrib.openflow3.OFPPort

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.openflow3.OFPPort'>, <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 (OFPPort).port_no>, <Field (OFPPort).pad1>, <Field (OFPPort).hw_addr>, <Field (OFPPort).pad2>, <Field (OFPPort).port_name>, <Field (OFPPort).config>, <Field (OFPPort).state>, <Field (OFPPort).curr>, <Field (OFPPort).advertised>, <Field (OFPPort).supported>, <Field (OFPPort).peer>, <Field (OFPPort).curr_speed>, <Field (OFPPort).max_speed>]
class scapy.contrib.openflow3.OFPPortStats

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.openflow3.OFPPortStats'>, <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 (OFPPortStats).port_no>, <Field (OFPPortStats).pad>, <Field (OFPPortStats).rx_packets>, <Field (OFPPortStats).tx_packets>, <Field (OFPPortStats).rx_bytes>, <Field (OFPPortStats).tx_bytes>, <Field (OFPPortStats).rx_dropped>, <Field (OFPPortStats).tx_dropped>, <Field (OFPPortStats).rx_errors>, <Field (OFPPortStats).tx_errors>, <Field (OFPPortStats).rx_frame_err>, <Field (OFPPortStats).rx_over_err>, <Field (OFPPortStats).rx_crc_err>, <Field (OFPPortStats).collisions>, <Field (OFPPortStats).duration_sec>, <Field (OFPPortStats).duration_nsec>]
class scapy.contrib.openflow3.OFPQT

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPQT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
classmethod dispatch_hook(_pkt=None, *args, **kargs)
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)
class scapy.contrib.openflow3.OFPQTMinRate

Bases: scapy.contrib.openflow3.OFPQT

aliastypes = [<class 'scapy.contrib.openflow3.OFPQTMinRate'>, <class 'scapy.contrib.openflow3.OFPQT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPQTMinRate).type>, <Field (OFPQTMinRate).len>, <Field (OFPQTMinRate).pad1>, <Field (OFPQTMinRate).rate>, <Field (OFPQTMinRate).pad2>]
class scapy.contrib.openflow3.OFPQTNone

Bases: scapy.contrib.openflow3.OFPQT

aliastypes = [<class 'scapy.contrib.openflow3.OFPQTNone'>, <class 'scapy.contrib.openflow3.OFPQT'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPQTNone).type>, <Field (OFPQTNone).len>, <Field (OFPQTNone).pad>]
class scapy.contrib.openflow3.OFPQueueStats

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.openflow3.OFPQueueStats'>, <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 (OFPQueueStats).port_no>, <Field (OFPQueueStats).queue_id>, <Field (OFPQueueStats).tx_bytes>, <Field (OFPQueueStats).tx_packets>, <Field (OFPQueueStats).tx_errors>, <Field (OFPQueueStats).duration_sec>, <Field (OFPQueueStats).duration_nsec>]
class scapy.contrib.openflow3.OFPTBarrierReply

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTBarrierReply'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTBarrierReply).version>, <Field (OFPTBarrierReply).type>, <Field (OFPTBarrierReply).len>, <Field (OFPTBarrierReply).xid>]
class scapy.contrib.openflow3.OFPTBarrierRequest

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTBarrierRequest'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTBarrierRequest).version>, <Field (OFPTBarrierRequest).type>, <Field (OFPTBarrierRequest).len>, <Field (OFPTBarrierRequest).xid>]
class scapy.contrib.openflow3.OFPTEchoReply

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTEchoReply'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTEchoReply).version>, <Field (OFPTEchoReply).type>, <Field (OFPTEchoReply).len>, <Field (OFPTEchoReply).xid>]
class scapy.contrib.openflow3.OFPTEchoRequest

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTEchoRequest'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTEchoRequest).version>, <Field (OFPTEchoRequest).type>, <Field (OFPTEchoRequest).len>, <Field (OFPTEchoRequest).xid>]
class scapy.contrib.openflow3.OFPTExperimenter

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTExperimenter'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTExperimenter).version>, <Field (OFPTExperimenter).type>, <Field (OFPTExperimenter).len>, <Field (OFPTExperimenter).xid>, <Field (OFPTExperimenter).experimenter>, <Field (OFPTExperimenter).exp_type>]
class scapy.contrib.openflow3.OFPTFPT

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFPT'>, <class 'scapy.packet.Packet'>]
classmethod dispatch_hook(_pkt=None, *args, **kargs)
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)
post_build(p, pay)

DEV: called right after the current layer is build.

Parameters:
  • pkt (str) – the current packet (build by self_buil function)
  • pay (str) – the packet payload (build by do_build_payload function)
Returns:

a string of the packet with the payload

class scapy.contrib.openflow3.OFPTFPTApplyActions

Bases: scapy.contrib.openflow3.OFPTFPT

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFPTApplyActions'>, <class 'scapy.contrib.openflow3.OFPTFPT'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFPTApplyActions).type>, <Field (OFPTFPTApplyActions).len>, <Field (OFPTFPTApplyActions).action_ids>]
class scapy.contrib.openflow3.OFPTFPTApplyActionsMiss

Bases: scapy.contrib.openflow3.OFPTFPT

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFPTApplyActionsMiss'>, <class 'scapy.contrib.openflow3.OFPTFPT'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFPTApplyActionsMiss).type>, <Field (OFPTFPTApplyActionsMiss).len>, <Field (OFPTFPTApplyActionsMiss).action_ids>]
class scapy.contrib.openflow3.OFPTFPTApplySetField

Bases: scapy.contrib.openflow3.OFPTFPT

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFPTApplySetField'>, <class 'scapy.contrib.openflow3.OFPTFPT'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFPTApplySetField).type>, <Field (OFPTFPTApplySetField).len>, <Field (OFPTFPTApplySetField).oxm_ids>]
class scapy.contrib.openflow3.OFPTFPTApplySetFieldMiss

Bases: scapy.contrib.openflow3.OFPTFPT

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFPTApplySetFieldMiss'>, <class 'scapy.contrib.openflow3.OFPTFPT'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFPTApplySetFieldMiss).type>, <Field (OFPTFPTApplySetFieldMiss).len>, <Field (OFPTFPTApplySetFieldMiss).oxm_ids>]
class scapy.contrib.openflow3.OFPTFPTExperimenter

Bases: scapy.contrib.openflow3.OFPTFPT

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFPTExperimenter'>, <class 'scapy.contrib.openflow3.OFPTFPT'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFPTExperimenter).type>, <Field (OFPTFPTExperimenter).len>, <Field (OFPTFPTExperimenter).experimenter>, <Field (OFPTFPTExperimenter).exp_type>, <Field (OFPTFPTExperimenter).experimenter_data>]
class scapy.contrib.openflow3.OFPTFPTExperimenterMiss

Bases: scapy.contrib.openflow3.OFPTFPT

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFPTExperimenterMiss'>, <class 'scapy.contrib.openflow3.OFPTFPT'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFPTExperimenterMiss).type>, <Field (OFPTFPTExperimenterMiss).len>, <Field (OFPTFPTExperimenterMiss).experimenter>, <Field (OFPTFPTExperimenterMiss).exp_type>, <Field (OFPTFPTExperimenterMiss).experimenter_data>]
class scapy.contrib.openflow3.OFPTFPTInstructions

Bases: scapy.contrib.openflow3.OFPTFPT

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFPTInstructions'>, <class 'scapy.contrib.openflow3.OFPTFPT'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFPTInstructions).type>, <Field (OFPTFPTInstructions).len>, <Field (OFPTFPTInstructions).instruction_ids>]
class scapy.contrib.openflow3.OFPTFPTInstructionsMiss

Bases: scapy.contrib.openflow3.OFPTFPT

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFPTInstructionsMiss'>, <class 'scapy.contrib.openflow3.OFPTFPT'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFPTInstructionsMiss).type>, <Field (OFPTFPTInstructionsMiss).len>, <Field (OFPTFPTInstructionsMiss).instruction_ids>]
class scapy.contrib.openflow3.OFPTFPTMatch

Bases: scapy.contrib.openflow3.OFPTFPT

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFPTMatch'>, <class 'scapy.contrib.openflow3.OFPTFPT'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFPTMatch).type>, <Field (OFPTFPTMatch).len>, <Field (OFPTFPTMatch).oxm_ids>]
class scapy.contrib.openflow3.OFPTFPTNextTables

Bases: scapy.contrib.openflow3.OFPTFPT

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFPTNextTables'>, <class 'scapy.contrib.openflow3.OFPTFPT'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFPTNextTables).type>, <Field (OFPTFPTNextTables).len>, <Field (OFPTFPTNextTables).next_table_ids>]
class scapy.contrib.openflow3.OFPTFPTNextTablesMiss

Bases: scapy.contrib.openflow3.OFPTFPT

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFPTNextTablesMiss'>, <class 'scapy.contrib.openflow3.OFPTFPT'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFPTNextTablesMiss).type>, <Field (OFPTFPTNextTablesMiss).len>, <Field (OFPTFPTNextTablesMiss).next_table_ids>]
class scapy.contrib.openflow3.OFPTFPTWildcards

Bases: scapy.contrib.openflow3.OFPTFPT

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFPTWildcards'>, <class 'scapy.contrib.openflow3.OFPTFPT'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFPTWildcards).type>, <Field (OFPTFPTWildcards).len>, <Field (OFPTFPTWildcards).oxm_ids>]
class scapy.contrib.openflow3.OFPTFPTWriteActions

Bases: scapy.contrib.openflow3.OFPTFPT

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFPTWriteActions'>, <class 'scapy.contrib.openflow3.OFPTFPT'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFPTWriteActions).type>, <Field (OFPTFPTWriteActions).len>, <Field (OFPTFPTWriteActions).action_ids>]
class scapy.contrib.openflow3.OFPTFPTWriteActionsMiss

Bases: scapy.contrib.openflow3.OFPTFPT

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFPTWriteActionsMiss'>, <class 'scapy.contrib.openflow3.OFPTFPT'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFPTWriteActionsMiss).type>, <Field (OFPTFPTWriteActionsMiss).len>, <Field (OFPTFPTWriteActionsMiss).action_ids>]
class scapy.contrib.openflow3.OFPTFPTWriteSetField

Bases: scapy.contrib.openflow3.OFPTFPT

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFPTWriteSetField'>, <class 'scapy.contrib.openflow3.OFPTFPT'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFPTWriteSetField).type>, <Field (OFPTFPTWriteSetField).len>, <Field (OFPTFPTWriteSetField).oxm_ids>]
class scapy.contrib.openflow3.OFPTFPTWriteSetFieldMiss

Bases: scapy.contrib.openflow3.OFPTFPT

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFPTWriteSetFieldMiss'>, <class 'scapy.contrib.openflow3.OFPTFPT'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFPTWriteSetFieldMiss).type>, <Field (OFPTFPTWriteSetFieldMiss).len>, <Field (OFPTFPTWriteSetFieldMiss).oxm_ids>]
class scapy.contrib.openflow3.OFPTFeaturesReply

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFeaturesReply'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFeaturesReply).version>, <Field (OFPTFeaturesReply).type>, <Field (OFPTFeaturesReply).len>, <Field (OFPTFeaturesReply).xid>, <Field (OFPTFeaturesReply).datapath_id>, <Field (OFPTFeaturesReply).n_buffers>, <Field (OFPTFeaturesReply).n_tables>, <Field (OFPTFeaturesReply).auxiliary_id>, <Field (OFPTFeaturesReply).pad>, <Field (OFPTFeaturesReply).capabilities>, <Field (OFPTFeaturesReply).reserved>]
class scapy.contrib.openflow3.OFPTFeaturesRequest

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFeaturesRequest'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFeaturesRequest).version>, <Field (OFPTFeaturesRequest).type>, <Field (OFPTFeaturesRequest).len>, <Field (OFPTFeaturesRequest).xid>]
class scapy.contrib.openflow3.OFPTFlowMod

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFlowMod'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFlowMod).version>, <Field (OFPTFlowMod).type>, <Field (OFPTFlowMod).len>, <Field (OFPTFlowMod).xid>, <Field (OFPTFlowMod).cookie>, <Field (OFPTFlowMod).cookie_mask>, <Field (OFPTFlowMod).table_id>, <Field (OFPTFlowMod).cmd>, <Field (OFPTFlowMod).idle_timeout>, <Field (OFPTFlowMod).hard_timeout>, <Field (OFPTFlowMod).priority>, <Field (OFPTFlowMod).buffer_id>, <Field (OFPTFlowMod).out_port>, <Field (OFPTFlowMod).out_group>, <Field (OFPTFlowMod).flags>, <Field (OFPTFlowMod).pad>, <Field (OFPTFlowMod).match>, <Field (OFPTFlowMod).instructions>]
class scapy.contrib.openflow3.OFPTFlowRemoved

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTFlowRemoved'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTFlowRemoved).version>, <Field (OFPTFlowRemoved).type>, <Field (OFPTFlowRemoved).len>, <Field (OFPTFlowRemoved).xid>, <Field (OFPTFlowRemoved).cookie>, <Field (OFPTFlowRemoved).priority>, <Field (OFPTFlowRemoved).reason>, <Field (OFPTFlowRemoved).table_id>, <Field (OFPTFlowRemoved).duration_sec>, <Field (OFPTFlowRemoved).duration_nsec>, <Field (OFPTFlowRemoved).idle_timeout>, <Field (OFPTFlowRemoved).hard_timeout>, <Field (OFPTFlowRemoved).packet_count>, <Field (OFPTFlowRemoved).byte_count>, <Field (OFPTFlowRemoved).match>]
class scapy.contrib.openflow3.OFPTGetAsyncReply

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTGetAsyncReply'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTGetAsyncReply,OFPTSetAsync).version>, <Field (OFPTGetAsyncReply).type>, <Field (OFPTGetAsyncReply,OFPTSetAsync).len>, <Field (OFPTGetAsyncReply,OFPTSetAsync).xid>, <Field (OFPTGetAsyncReply,OFPTSetAsync).packet_in_mask_master>, <Field (OFPTGetAsyncReply,OFPTSetAsync).packet_in_mask_slave>, <Field (OFPTGetAsyncReply,OFPTSetAsync).port_status_mask_master>, <Field (OFPTGetAsyncReply,OFPTSetAsync).port_status_mask_slave>, <Field (OFPTGetAsyncReply,OFPTSetAsync).flow_removed_mask_master>, <Field (OFPTGetAsyncReply,OFPTSetAsync).flow_removed_mask_slave>]
class scapy.contrib.openflow3.OFPTGetAsyncRequest

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTGetAsyncRequest'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTGetAsyncRequest).version>, <Field (OFPTGetAsyncRequest).type>, <Field (OFPTGetAsyncRequest).len>, <Field (OFPTGetAsyncRequest).xid>]
class scapy.contrib.openflow3.OFPTGetConfigReply

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTGetConfigReply'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTGetConfigReply).version>, <Field (OFPTGetConfigReply).type>, <Field (OFPTGetConfigReply).len>, <Field (OFPTGetConfigReply).xid>, <Field (OFPTGetConfigReply).flags>, <Field (OFPTGetConfigReply).miss_send_len>]
class scapy.contrib.openflow3.OFPTGetConfigRequest

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTGetConfigRequest'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTGetConfigRequest).version>, <Field (OFPTGetConfigRequest).type>, <Field (OFPTGetConfigRequest).len>, <Field (OFPTGetConfigRequest).xid>]
class scapy.contrib.openflow3.OFPTGroupMod

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTGroupMod'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTGroupMod).version>, <Field (OFPTGroupMod).type>, <Field (OFPTGroupMod).len>, <Field (OFPTGroupMod).xid>, <Field (OFPTGroupMod).cmd>, <Field (OFPTGroupMod).group_type>, <Field (OFPTGroupMod).pad>, <Field (OFPTGroupMod).group_id>, <Field (OFPTGroupMod).buckets>]
class scapy.contrib.openflow3.OFPTHello

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTHello'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTHello).version>, <Field (OFPTHello).type>, <Field (OFPTHello).len>, <Field (OFPTHello).xid>, <Field (OFPTHello).elements>]
class scapy.contrib.openflow3.OFPTMeterMod

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTMeterMod'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTMeterMod).version>, <Field (OFPTMeterMod).type>, <Field (OFPTMeterMod).len>, <Field (OFPTMeterMod).xid>, <Field (OFPTMeterMod).cmd>, <Field (OFPTMeterMod).flags>, <Field (OFPTMeterMod).meter_id>, <Field (OFPTMeterMod).bands>]
class scapy.contrib.openflow3.OFPTPacketIn

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTPacketIn'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTPacketIn).version>, <Field (OFPTPacketIn).type>, <Field (OFPTPacketIn).len>, <Field (OFPTPacketIn).xid>, <Field (OFPTPacketIn).buffer_id>, <Field (OFPTPacketIn).total_len>, <Field (OFPTPacketIn).reason>, <Field (OFPTPacketIn).table_id>, <Field (OFPTPacketIn).cookie>, <Field (OFPTPacketIn).match>, <Field (OFPTPacketIn).pad>, <Field (OFPTPacketIn).data>]
class scapy.contrib.openflow3.OFPTPacketOut

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTPacketOut'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTPacketOut).version>, <Field (OFPTPacketOut).type>, <Field (OFPTPacketOut).len>, <Field (OFPTPacketOut).xid>, <Field (OFPTPacketOut).buffer_id>, <Field (OFPTPacketOut).in_port>, <Field (OFPTPacketOut).actions_len>, <Field (OFPTPacketOut).pad>, <Field (OFPTPacketOut).actions>, <Field (OFPTPacketOut).data>]
class scapy.contrib.openflow3.OFPTPortMod

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTPortMod'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTPortMod).version>, <Field (OFPTPortMod).type>, <Field (OFPTPortMod).len>, <Field (OFPTPortMod).xid>, <Field (OFPTPortMod).port_no>, <Field (OFPTPortMod).pad1>, <Field (OFPTPortMod).hw_addr>, <Field (OFPTPortMod).pad2>, <Field (OFPTPortMod).config>, <Field (OFPTPortMod).mask>, <Field (OFPTPortMod).advertise>, <Field (OFPTPortMod).pad3>]
class scapy.contrib.openflow3.OFPTPortStatus

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTPortStatus'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTPortStatus).version>, <Field (OFPTPortStatus).type>, <Field (OFPTPortStatus).len>, <Field (OFPTPortStatus).xid>, <Field (OFPTPortStatus).reason>, <Field (OFPTPortStatus).pad>, <Field (OFPTPortStatus).desc>]
class scapy.contrib.openflow3.OFPTQueueGetConfigReply

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTQueueGetConfigReply'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTQueueGetConfigReply).version>, <Field (OFPTQueueGetConfigReply).type>, <Field (OFPTQueueGetConfigReply).len>, <Field (OFPTQueueGetConfigReply).xid>, <Field (OFPTQueueGetConfigReply).port>, <Field (OFPTQueueGetConfigReply).pad>, <Field (OFPTQueueGetConfigReply).queues>]
class scapy.contrib.openflow3.OFPTQueueGetConfigRequest

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTQueueGetConfigRequest'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTQueueGetConfigRequest).version>, <Field (OFPTQueueGetConfigRequest).type>, <Field (OFPTQueueGetConfigRequest).len>, <Field (OFPTQueueGetConfigRequest).xid>, <Field (OFPTQueueGetConfigRequest).port_no>, <Field (OFPTQueueGetConfigRequest).pad>]
class scapy.contrib.openflow3.OFPTRoleReply

Bases: scapy.contrib.openflow3.OFPTRoleRequest

aliastypes = [<class 'scapy.contrib.openflow3.OFPTRoleReply'>, <class 'scapy.contrib.openflow3.OFPTRoleRequest'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTRoleRequest,OFPTRoleReply).version>, <Field (OFPTRoleRequest,OFPTRoleReply).type>, <Field (OFPTRoleRequest,OFPTRoleReply).len>, <Field (OFPTRoleRequest,OFPTRoleReply).xid>, <Field (OFPTRoleRequest,OFPTRoleReply).role>, <Field (OFPTRoleRequest,OFPTRoleReply).pad>, <Field (OFPTRoleRequest,OFPTRoleReply).generation_id>]
class scapy.contrib.openflow3.OFPTRoleRequest

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTRoleRequest'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTRoleRequest,OFPTRoleReply).version>, <Field (OFPTRoleRequest).type>, <Field (OFPTRoleRequest,OFPTRoleReply).len>, <Field (OFPTRoleRequest,OFPTRoleReply).xid>, <Field (OFPTRoleRequest,OFPTRoleReply).role>, <Field (OFPTRoleRequest,OFPTRoleReply).pad>, <Field (OFPTRoleRequest,OFPTRoleReply).generation_id>]
class scapy.contrib.openflow3.OFPTSetAsync

Bases: scapy.contrib.openflow3.OFPTGetAsyncReply

aliastypes = [<class 'scapy.contrib.openflow3.OFPTSetAsync'>, <class 'scapy.contrib.openflow3.OFPTGetAsyncReply'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTGetAsyncReply,OFPTSetAsync).version>, <Field (OFPTGetAsyncReply,OFPTSetAsync).type>, <Field (OFPTGetAsyncReply,OFPTSetAsync).len>, <Field (OFPTGetAsyncReply,OFPTSetAsync).xid>, <Field (OFPTGetAsyncReply,OFPTSetAsync).packet_in_mask_master>, <Field (OFPTGetAsyncReply,OFPTSetAsync).packet_in_mask_slave>, <Field (OFPTGetAsyncReply,OFPTSetAsync).port_status_mask_master>, <Field (OFPTGetAsyncReply,OFPTSetAsync).port_status_mask_slave>, <Field (OFPTGetAsyncReply,OFPTSetAsync).flow_removed_mask_master>, <Field (OFPTGetAsyncReply,OFPTSetAsync).flow_removed_mask_slave>]
class scapy.contrib.openflow3.OFPTSetConfig

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTSetConfig'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTSetConfig).version>, <Field (OFPTSetConfig).type>, <Field (OFPTSetConfig).len>, <Field (OFPTSetConfig).xid>, <Field (OFPTSetConfig).flags>, <Field (OFPTSetConfig).miss_send_len>]
class scapy.contrib.openflow3.OFPTTableMod

Bases: scapy.contrib.openflow._ofp_header

aliastypes = [<class 'scapy.contrib.openflow3.OFPTTableMod'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OFPTTableMod).version>, <Field (OFPTTableMod).type>, <Field (OFPTTableMod).len>, <Field (OFPTTableMod).xid>, <Field (OFPTTableMod).table_id>, <Field (OFPTTableMod).pad>, <Field (OFPTTableMod).config>]
class scapy.contrib.openflow3.OFPTableFeatures

Bases: scapy.contrib.openflow._ofp_header_item

aliastypes = [<class 'scapy.contrib.openflow3.OFPTableFeatures'>, <class 'scapy.contrib.openflow._ofp_header_item'>, <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 (OFPTableFeatures).len>, <Field (OFPTableFeatures).table_id>, <Field (OFPTableFeatures).pad>, <Field (OFPTableFeatures).table_name>, <Field (OFPTableFeatures).metadata_match>, <Field (OFPTableFeatures).metadata_write>, <Field (OFPTableFeatures).config>, <Field (OFPTableFeatures).max_entries>, <Field (OFPTableFeatures).properties>]
class scapy.contrib.openflow3.OFPTableID

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.openflow3.OFPTableID'>, <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 (OFPTableID).table_id>]
class scapy.contrib.openflow3.OFPTableStats

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.openflow3.OFPTableStats'>, <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 (OFPTableStats).table_id>, <Field (OFPTableStats).pad1>, <Field (OFPTableStats).active_count>, <Field (OFPTableStats).lookup_count>, <Field (OFPTableStats).matched_count>]
class scapy.contrib.openflow3.OXMID

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.openflow3.OXMID'>, <class 'scapy.packet.Packet'>]
classmethod dispatch_hook(_pkt=None, *args, **kargs)
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)
class scapy.contrib.openflow3.OXMPacketListField(name, default, cls, length_from=None, autocomplete=False)

Bases: scapy.fields.PacketListField

addfield(pkt, s, val)

Add an internal value to a string

Copy the network representation of field val (belonging to layer pkt) to the raw string packet s, and return the new string packet.

autocomplete
getfield(pkt, s)

Extract an internal value from a string

Extract from the raw packet s the field value belonging to layer pkt.

Returns a two-element list, first the raw packet string after having removed the extracted field, second the extracted field itself in internal representation.

i2m(pkt, val)

Convert internal value to machine value

index
m2i(pkt, s)

Convert machine value to internal value

class scapy.contrib.openflow3.OpenFlow3

Bases: scapy.contrib.openflow.OpenFlow

aliastypes = [<class 'scapy.contrib.openflow3.OpenFlow3'>, <class 'scapy.contrib.openflow.OpenFlow'>, <class 'scapy.contrib.openflow._ofp_header'>, <class 'scapy.packet.Packet'>]
classmethod dispatch_hook(_pkt=None, *args, **kargs)
scapy.contrib.openflow3.add_ofp_oxm_fields(i, org)