scapy.layers.dhcp6 module

DHCPv6: Dynamic Host Configuration Protocol for IPv6. [RFC 3315]

class scapy.layers.dhcp6.DHCP6

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6).msgtype>, <Field (DHCP6,DHCP6_Solicit,DHCP6_Advertise,DHCP6_Request,DHCP6_Confirm,DHCP6_Renew,DHCP6_Rebind,DHCP6_Reply,DHCP6_Release,DHCP6_Decline,DHCP6_Reconf,DHCP6_InfoRequest).trid>]
hashret()

DEV: returns a string that has the same value for a request and its answer.

class scapy.layers.dhcp6.DHCP6OptAuth

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptAuth'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptAuth).optcode>, <Field (DHCP6OptAuth).optlen>, <Field (DHCP6OptAuth).proto>, <Field (DHCP6OptAuth).alg>, <Field (DHCP6OptAuth).rdm>, <Field (DHCP6OptAuth).replay>, <Field (DHCP6OptAuth).authinfo>]
class scapy.layers.dhcp6.DHCP6OptBCMCSDomains

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptBCMCSDomains'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptBCMCSDomains).optcode>, <Field (DHCP6OptBCMCSDomains).optlen>, <Field (DHCP6OptBCMCSDomains).bcmcsdomains>]
class scapy.layers.dhcp6.DHCP6OptBCMCSServers

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptBCMCSServers'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptBCMCSServers).optcode>, <Field (DHCP6OptBCMCSServers).optlen>, <Field (DHCP6OptBCMCSServers).bcmcsservers>]
class scapy.layers.dhcp6.DHCP6OptBootFileUrl

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptBootFileUrl'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptBootFileUrl).optcode>, <Field (DHCP6OptBootFileUrl).optlen>, <Field (DHCP6OptBootFileUrl).optdata>]
class scapy.layers.dhcp6.DHCP6OptClientArchType

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptClientArchType'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptClientArchType).optcode>, <Field (DHCP6OptClientArchType).optlen>, <Field (DHCP6OptClientArchType).archtypes>]
class scapy.layers.dhcp6.DHCP6OptClientFQDN

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptClientFQDN'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptClientFQDN).optcode>, <Field (DHCP6OptClientFQDN).optlen>, <Field (DHCP6OptClientFQDN).res>, <Field (DHCP6OptClientFQDN).flags>, <Field (DHCP6OptClientFQDN).fqdn>]
class scapy.layers.dhcp6.DHCP6OptClientId

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptClientId'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptClientId).optcode>, <Field (DHCP6OptClientId,DHCP6OptServerId).optlen>, <Field (DHCP6OptClientId,DHCP6OptServerId).duid>]
class scapy.layers.dhcp6.DHCP6OptClientLinkLayerAddr

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptClientLinkLayerAddr'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptClientLinkLayerAddr).optcode>, <Field (DHCP6OptClientLinkLayerAddr).optlen>, <Field (DHCP6OptClientLinkLayerAddr).lltype>, <Field (DHCP6OptClientLinkLayerAddr).clladdr>]
class scapy.layers.dhcp6.DHCP6OptClientNetworkInterId

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptClientNetworkInterId'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptClientNetworkInterId).optcode>, <Field (DHCP6OptClientNetworkInterId).optlen>, <Field (DHCP6OptClientNetworkInterId).iitype>, <Field (DHCP6OptClientNetworkInterId).iimajor>, <Field (DHCP6OptClientNetworkInterId).iiminor>]
class scapy.layers.dhcp6.DHCP6OptDNSDomains

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptDNSDomains'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptDNSDomains).optcode>, <Field (DHCP6OptDNSDomains).optlen>, <Field (DHCP6OptDNSDomains).dnsdomains>]
class scapy.layers.dhcp6.DHCP6OptDNSServers

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptDNSServers'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptDNSServers).optcode>, <Field (DHCP6OptDNSServers).optlen>, <Field (DHCP6OptDNSServers).dnsservers>]
class scapy.layers.dhcp6.DHCP6OptERPDomain

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptERPDomain'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptERPDomain).optcode>, <Field (DHCP6OptERPDomain).optlen>, <Field (DHCP6OptERPDomain).erpdomain>]
class scapy.layers.dhcp6.DHCP6OptElapsedTime

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptElapsedTime'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptElapsedTime).optcode>, <Field (DHCP6OptElapsedTime).optlen>, <Field (DHCP6OptElapsedTime).elapsedtime>]
class scapy.layers.dhcp6.DHCP6OptGeoConf

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptGeoConf'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptGeoConf).optcode>, <Field (DHCP6OptGeoConf).optlen>, <Field (DHCP6OptGeoConf).optdata>]
class scapy.layers.dhcp6.DHCP6OptIAAddress

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptIAAddress'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptIAAddress).optcode>, <Field (DHCP6OptIAAddress).optlen>, <Field (DHCP6OptIAAddress).addr>, <Field (DHCP6OptIAAddress).preflft>, <Field (DHCP6OptIAAddress).validlft>, <Field (DHCP6OptIAAddress).iaaddropts>]
guess_payload_class(payload)

DEV: Guesses the next payload class from layer bonds. Can be overloaded to use a different mechanism.

Parameters:payload (str) – the layer’s payload
Returns:the payload class
class scapy.layers.dhcp6.DHCP6OptIAPrefix

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptIAPrefix'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptIAPrefix).optcode>, <Field (DHCP6OptIAPrefix).optlen>, <Field (DHCP6OptIAPrefix).preflft>, <Field (DHCP6OptIAPrefix).validlft>, <Field (DHCP6OptIAPrefix).plen>, <Field (DHCP6OptIAPrefix).prefix>, <Field (DHCP6OptIAPrefix).iaprefopts>]
class scapy.layers.dhcp6.DHCP6OptIA_NA

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptIA_NA'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptIA_NA).optcode>, <Field (DHCP6OptIA_NA).optlen>, <Field (DHCP6OptIA_NA).iaid>, <Field (DHCP6OptIA_NA).T1>, <Field (DHCP6OptIA_NA).T2>, <Field (DHCP6OptIA_NA).ianaopts>]
class scapy.layers.dhcp6.DHCP6OptIA_PD

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptIA_PD'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptIA_PD).optcode>, <Field (DHCP6OptIA_PD).optlen>, <Field (DHCP6OptIA_PD).iaid>, <Field (DHCP6OptIA_PD).T1>, <Field (DHCP6OptIA_PD).T2>, <Field (DHCP6OptIA_PD).iapdopt>]
class scapy.layers.dhcp6.DHCP6OptIA_TA

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptIA_TA'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptIA_TA).optcode>, <Field (DHCP6OptIA_TA).optlen>, <Field (DHCP6OptIA_TA).iaid>, <Field (DHCP6OptIA_TA).iataopts>]
class scapy.layers.dhcp6.DHCP6OptIfaceId

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptIfaceId'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptIfaceId).optcode>, <Field (DHCP6OptIfaceId).optlen>, <Field (DHCP6OptIfaceId).ifaceid>]
class scapy.layers.dhcp6.DHCP6OptInfoRefreshTime

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptInfoRefreshTime'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptInfoRefreshTime).optcode>, <Field (DHCP6OptInfoRefreshTime).optlen>, <Field (DHCP6OptInfoRefreshTime).reftime>]

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptLQClientLink'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptLQClientLink).optcode>, <Field (DHCP6OptLQClientLink).optlen>, <Field (DHCP6OptLQClientLink).linkaddress>]
class scapy.layers.dhcp6.DHCP6OptNISDomain

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptNISDomain'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptNISDomain).optcode>, <Field (DHCP6OptNISDomain).optlen>, <Field (DHCP6OptNISDomain).nisdomain>]
class scapy.layers.dhcp6.DHCP6OptNISPDomain

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptNISPDomain'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptNISPDomain).optcode>, <Field (DHCP6OptNISPDomain).optlen>, <Field (DHCP6OptNISPDomain).nispdomain>]
class scapy.layers.dhcp6.DHCP6OptNISPServers

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptNISPServers'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptNISPServers).optcode>, <Field (DHCP6OptNISPServers).optlen>, <Field (DHCP6OptNISPServers).nispservers>]
class scapy.layers.dhcp6.DHCP6OptNISServers

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptNISServers'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptNISServers).optcode>, <Field (DHCP6OptNISServers).optlen>, <Field (DHCP6OptNISServers).nisservers>]
class scapy.layers.dhcp6.DHCP6OptNewPOSIXTimeZone

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptNewPOSIXTimeZone'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptNewPOSIXTimeZone).optcode>, <Field (DHCP6OptNewPOSIXTimeZone).optlen>, <Field (DHCP6OptNewPOSIXTimeZone).optdata>]
class scapy.layers.dhcp6.DHCP6OptNewTZDBTimeZone

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptNewTZDBTimeZone'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptNewTZDBTimeZone).optcode>, <Field (DHCP6OptNewTZDBTimeZone).optlen>, <Field (DHCP6OptNewTZDBTimeZone).optdata>]
class scapy.layers.dhcp6.DHCP6OptOptReq

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptOptReq'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptOptReq).optcode>, <Field (DHCP6OptOptReq).optlen>, <Field (DHCP6OptOptReq).reqopts>]
class scapy.layers.dhcp6.DHCP6OptPanaAuthAgent

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptPanaAuthAgent'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptPanaAuthAgent).optcode>, <Field (DHCP6OptPanaAuthAgent).optlen>, <Field (DHCP6OptPanaAuthAgent).paaaddr>]
class scapy.layers.dhcp6.DHCP6OptPref

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptPref'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptPref).optcode>, <Field (DHCP6OptPref).optlen>, <Field (DHCP6OptPref).prefval>]
class scapy.layers.dhcp6.DHCP6OptRapidCommit

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptRapidCommit'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptRapidCommit).optcode>, <Field (DHCP6OptRapidCommit).optlen>]
class scapy.layers.dhcp6.DHCP6OptReconfAccept

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptReconfAccept'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptReconfAccept).optcode>, <Field (DHCP6OptReconfAccept).optlen>]
class scapy.layers.dhcp6.DHCP6OptReconfMsg

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptReconfMsg'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptReconfMsg).optcode>, <Field (DHCP6OptReconfMsg).optlen>, <Field (DHCP6OptReconfMsg).msgtype>]
class scapy.layers.dhcp6.DHCP6OptRelayAgentERO

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptRelayAgentERO'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptRelayAgentERO).optcode>, <Field (DHCP6OptRelayAgentERO).optlen>, <Field (DHCP6OptRelayAgentERO).reqopts>]
class scapy.layers.dhcp6.DHCP6OptRelayMsg

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptRelayMsg'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptRelayMsg).optcode>, <Field (DHCP6OptRelayMsg).optlen>, <Field (DHCP6OptRelayMsg).message>]
class scapy.layers.dhcp6.DHCP6OptRelaySuppliedOpt

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptRelaySuppliedOpt'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptRelaySuppliedOpt).optcode>, <Field (DHCP6OptRelaySuppliedOpt).optlen>, <Field (DHCP6OptRelaySuppliedOpt).relaysupplied>]
class scapy.layers.dhcp6.DHCP6OptRemoteID

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptRemoteID'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptRemoteID).optcode>, <Field (DHCP6OptRemoteID).optlen>, <Field (DHCP6OptRemoteID).enterprisenum>, <Field (DHCP6OptRemoteID).remoteid>]
class scapy.layers.dhcp6.DHCP6OptSIPDomains

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptSIPDomains'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptSIPDomains).optcode>, <Field (DHCP6OptSIPDomains).optlen>, <Field (DHCP6OptSIPDomains).sipdomains>]
class scapy.layers.dhcp6.DHCP6OptSIPServers

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptSIPServers'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptSIPServers).optcode>, <Field (DHCP6OptSIPServers).optlen>, <Field (DHCP6OptSIPServers).sipservers>]
class scapy.layers.dhcp6.DHCP6OptSNTPServers

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptSNTPServers'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptSNTPServers).optcode>, <Field (DHCP6OptSNTPServers).optlen>, <Field (DHCP6OptSNTPServers).sntpservers>]
class scapy.layers.dhcp6.DHCP6OptServerId

Bases: scapy.layers.dhcp6.DHCP6OptClientId

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptServerId'>, <class 'scapy.layers.dhcp6.DHCP6OptClientId'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptClientId,DHCP6OptServerId).optcode>, <Field (DHCP6OptClientId,DHCP6OptServerId).optlen>, <Field (DHCP6OptClientId,DHCP6OptServerId).duid>]
class scapy.layers.dhcp6.DHCP6OptServerUnicast

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptServerUnicast'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptServerUnicast).optcode>, <Field (DHCP6OptServerUnicast).optlen>, <Field (DHCP6OptServerUnicast).srvaddr>]
class scapy.layers.dhcp6.DHCP6OptStatusCode

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptStatusCode'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptStatusCode).optcode>, <Field (DHCP6OptStatusCode).optlen>, <Field (DHCP6OptStatusCode).statuscode>, <Field (DHCP6OptStatusCode).statusmsg>]
class scapy.layers.dhcp6.DHCP6OptSubscriberID

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptSubscriberID'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptSubscriberID).optcode>, <Field (DHCP6OptSubscriberID).optlen>, <Field (DHCP6OptSubscriberID).subscriberid>]
class scapy.layers.dhcp6.DHCP6OptUnknown

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptUnknown'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptUnknown).optcode>, <Field (DHCP6OptUnknown).optlen>, <Field (DHCP6OptUnknown).data>]
class scapy.layers.dhcp6.DHCP6OptUserClass

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptUserClass'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptUserClass).optcode>, <Field (DHCP6OptUserClass).optlen>, <Field (DHCP6OptUserClass).userclassdata>]
class scapy.layers.dhcp6.DHCP6OptVSS

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptVSS'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptVSS).optcode>, <Field (DHCP6OptVSS).optlen>, <Field (DHCP6OptVSS).type>, <Field (DHCP6OptVSS).data>]
class scapy.layers.dhcp6.DHCP6OptVendorClass

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptVendorClass'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptVendorClass).optcode>, <Field (DHCP6OptVendorClass).optlen>, <Field (DHCP6OptVendorClass).enterprisenum>, <Field (DHCP6OptVendorClass).vcdata>]
class scapy.layers.dhcp6.DHCP6OptVendorSpecificInfo

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6OptVendorSpecificInfo'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6OptVendorSpecificInfo).optcode>, <Field (DHCP6OptVendorSpecificInfo).optlen>, <Field (DHCP6OptVendorSpecificInfo).enterprisenum>, <Field (DHCP6OptVendorSpecificInfo).vso>]
class scapy.layers.dhcp6.DHCP6_Advertise

Bases: scapy.layers.dhcp6.DHCP6

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6_Advertise'>, <class 'scapy.layers.dhcp6.DHCP6'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
answers(other)

DEV: true if self is an answer from other

fields_desc = [<Field (DHCP6,DHCP6_Advertise).msgtype>, <Field (DHCP6,DHCP6_Solicit,DHCP6_Advertise,DHCP6_Request,DHCP6_Confirm,DHCP6_Renew,DHCP6_Rebind,DHCP6_Reply,DHCP6_Release,DHCP6_Decline,DHCP6_Reconf,DHCP6_InfoRequest).trid>]
class scapy.layers.dhcp6.DHCP6_Confirm

Bases: scapy.layers.dhcp6.DHCP6

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6_Confirm'>, <class 'scapy.layers.dhcp6.DHCP6'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6,DHCP6_Confirm).msgtype>, <Field (DHCP6,DHCP6_Solicit,DHCP6_Advertise,DHCP6_Request,DHCP6_Confirm,DHCP6_Renew,DHCP6_Rebind,DHCP6_Reply,DHCP6_Release,DHCP6_Decline,DHCP6_Reconf,DHCP6_InfoRequest).trid>]
class scapy.layers.dhcp6.DHCP6_Decline

Bases: scapy.layers.dhcp6.DHCP6

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6_Decline'>, <class 'scapy.layers.dhcp6.DHCP6'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6,DHCP6_Decline).msgtype>, <Field (DHCP6,DHCP6_Solicit,DHCP6_Advertise,DHCP6_Request,DHCP6_Confirm,DHCP6_Renew,DHCP6_Rebind,DHCP6_Reply,DHCP6_Release,DHCP6_Decline,DHCP6_Reconf,DHCP6_InfoRequest).trid>]
class scapy.layers.dhcp6.DHCP6_InfoRequest

Bases: scapy.layers.dhcp6.DHCP6

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6_InfoRequest'>, <class 'scapy.layers.dhcp6.DHCP6'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6,DHCP6_InfoRequest).msgtype>, <Field (DHCP6,DHCP6_Solicit,DHCP6_Advertise,DHCP6_Request,DHCP6_Confirm,DHCP6_Renew,DHCP6_Rebind,DHCP6_Reply,DHCP6_Release,DHCP6_Decline,DHCP6_Reconf,DHCP6_InfoRequest).trid>]
class scapy.layers.dhcp6.DHCP6_Rebind

Bases: scapy.layers.dhcp6.DHCP6

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6_Rebind'>, <class 'scapy.layers.dhcp6.DHCP6'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6,DHCP6_Rebind).msgtype>, <Field (DHCP6,DHCP6_Solicit,DHCP6_Advertise,DHCP6_Request,DHCP6_Confirm,DHCP6_Renew,DHCP6_Rebind,DHCP6_Reply,DHCP6_Release,DHCP6_Decline,DHCP6_Reconf,DHCP6_InfoRequest).trid>]
class scapy.layers.dhcp6.DHCP6_Reconf

Bases: scapy.layers.dhcp6.DHCP6

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6_Reconf'>, <class 'scapy.layers.dhcp6.DHCP6'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6,DHCP6_Reconf).msgtype>, <Field (DHCP6,DHCP6_Solicit,DHCP6_Advertise,DHCP6_Request,DHCP6_Confirm,DHCP6_Renew,DHCP6_Rebind,DHCP6_Reply,DHCP6_Release,DHCP6_Decline,DHCP6_Reconf,DHCP6_InfoRequest).trid>]
class scapy.layers.dhcp6.DHCP6_RelayForward

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload, scapy.packet.Packet

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6_RelayForward'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6_RelayForward).msgtype>, <Field (DHCP6_RelayForward,DHCP6_RelayReply).hopcount>, <Field (DHCP6_RelayForward,DHCP6_RelayReply).linkaddr>, <Field (DHCP6_RelayForward,DHCP6_RelayReply).peeraddr>]
hashret()

DEV: returns a string that has the same value for a request and its answer.

class scapy.layers.dhcp6.DHCP6_RelayReply

Bases: scapy.layers.dhcp6.DHCP6_RelayForward

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6_RelayReply'>, <class 'scapy.layers.dhcp6.DHCP6_RelayForward'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
answers(other)

DEV: true if self is an answer from other

fields_desc = [<Field (DHCP6_RelayForward,DHCP6_RelayReply).msgtype>, <Field (DHCP6_RelayForward,DHCP6_RelayReply).hopcount>, <Field (DHCP6_RelayForward,DHCP6_RelayReply).linkaddr>, <Field (DHCP6_RelayForward,DHCP6_RelayReply).peeraddr>]
hashret()

DEV: returns a string that has the same value for a request and its answer.

class scapy.layers.dhcp6.DHCP6_Release

Bases: scapy.layers.dhcp6.DHCP6

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6_Release'>, <class 'scapy.layers.dhcp6.DHCP6'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6,DHCP6_Release).msgtype>, <Field (DHCP6,DHCP6_Solicit,DHCP6_Advertise,DHCP6_Request,DHCP6_Confirm,DHCP6_Renew,DHCP6_Rebind,DHCP6_Reply,DHCP6_Release,DHCP6_Decline,DHCP6_Reconf,DHCP6_InfoRequest).trid>]
class scapy.layers.dhcp6.DHCP6_Renew

Bases: scapy.layers.dhcp6.DHCP6

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6_Renew'>, <class 'scapy.layers.dhcp6.DHCP6'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6,DHCP6_Renew).msgtype>, <Field (DHCP6,DHCP6_Solicit,DHCP6_Advertise,DHCP6_Request,DHCP6_Confirm,DHCP6_Renew,DHCP6_Rebind,DHCP6_Reply,DHCP6_Release,DHCP6_Decline,DHCP6_Reconf,DHCP6_InfoRequest).trid>]
class scapy.layers.dhcp6.DHCP6_Reply

Bases: scapy.layers.dhcp6.DHCP6

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6_Reply'>, <class 'scapy.layers.dhcp6.DHCP6'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
answers(other)

DEV: true if self is an answer from other

fields_desc = [<Field (DHCP6,DHCP6_Reply).msgtype>, <Field (DHCP6,DHCP6_Solicit,DHCP6_Advertise,DHCP6_Request,DHCP6_Confirm,DHCP6_Renew,DHCP6_Rebind,DHCP6_Reply,DHCP6_Release,DHCP6_Decline,DHCP6_Reconf,DHCP6_InfoRequest).trid>]
class scapy.layers.dhcp6.DHCP6_Request

Bases: scapy.layers.dhcp6.DHCP6

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6_Request'>, <class 'scapy.layers.dhcp6.DHCP6'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6,DHCP6_Request).msgtype>, <Field (DHCP6,DHCP6_Solicit,DHCP6_Advertise,DHCP6_Request,DHCP6_Confirm,DHCP6_Renew,DHCP6_Rebind,DHCP6_Reply,DHCP6_Release,DHCP6_Decline,DHCP6_Reconf,DHCP6_InfoRequest).trid>]
class scapy.layers.dhcp6.DHCP6_Solicit

Bases: scapy.layers.dhcp6.DHCP6

aliastypes = [<class 'scapy.layers.dhcp6.DHCP6_Solicit'>, <class 'scapy.layers.dhcp6.DHCP6'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DHCP6,DHCP6_Solicit).msgtype>, <Field (DHCP6,DHCP6_Solicit,DHCP6_Advertise,DHCP6_Request,DHCP6_Confirm,DHCP6_Renew,DHCP6_Rebind,DHCP6_Reply,DHCP6_Release,DHCP6_Decline,DHCP6_Reconf,DHCP6_InfoRequest).trid>]
class scapy.layers.dhcp6.DHCPv6_am(**kargs)

Bases: scapy.ansmachine.AnsweringMachine

filter = 'udp and port 546 and port 547'
function_name = 'dhcp6d'
is_request(p)
make_reply(req)
parse_options(dns='2001:500::1035', domain='localdomain, local', startip='2001:db8::1', endip='2001:db8::20', duid=None, sntpservers=None, sipdomains=None, sipservers=None, nisdomain=None, nisservers=None, nispdomain=None, nispservers=None, bcmcsservers=None, bcmcsdomains=None, iface=None, debug=0, advpref=255)
print_reply(req, reply)
static send_function(x, inter=0, loop=0, count=None, verbose=None, realtime=None, return_packets=False, socket=None, *args, **kargs)

Send packets at layer 3

Parameters:
  • x – the packets
  • inter – time (in s) between two packets (default 0)
  • loop – send packet indefinetly (default 0)
  • count – number of packets to send (default None=1)
  • verbose – verbose mode (default None=conf.verbose)
  • realtime – check that a packet was sent before sending the next one
  • return_packets – return the sent packets
  • socket – the socket to use (default is conf.L3socket(kargs))
  • iface – the interface to send the packets on
  • monitor – (not on linux) send in monitor mode
Returns:

None

usage()
class scapy.layers.dhcp6.DUID_EN

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.layers.dhcp6.DUID_EN'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DUID_EN).type>, <Field (DUID_EN).enterprisenum>, <Field (DUID_EN).id>]
class scapy.layers.dhcp6.DUID_LL

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.layers.dhcp6.DUID_LL'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DUID_LL).type>, <Field (DUID_LL).hwtype>, <Field (DUID_LL).lladdr>]
class scapy.layers.dhcp6.DUID_LLT

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.layers.dhcp6.DUID_LLT'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DUID_LLT).type>, <Field (DUID_LLT).hwtype>, <Field (DUID_LLT).timeval>, <Field (DUID_LLT).lladdr>]
class scapy.layers.dhcp6.DUID_UUID

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.layers.dhcp6.DUID_UUID'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DUID_UUID).type>, <Field (DUID_UUID).uuid>]
class scapy.layers.dhcp6.DomainNameField(name, default, fld=None, length_from=None, max_length=None)

Bases: scapy.fields.StrLenField

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.

i2len(pkt, x)

Convert internal value to a length usable by a FieldLenField

i2m(pkt, x)

Convert internal value to machine value

m2i(pkt, x)

Convert machine value to internal value

class scapy.layers.dhcp6.USER_CLASS_DATA

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.layers.dhcp6.USER_CLASS_DATA'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (USER_CLASS_DATA,VENDOR_CLASS_DATA).len>, <Field (USER_CLASS_DATA,VENDOR_CLASS_DATA).data>]
guess_payload_class(payload)

DEV: Guesses the next payload class from layer bonds. Can be overloaded to use a different mechanism.

Parameters:payload (str) – the layer’s payload
Returns:the payload class
class scapy.layers.dhcp6.VENDOR_CLASS_DATA

Bases: scapy.layers.dhcp6.USER_CLASS_DATA

aliastypes = [<class 'scapy.layers.dhcp6.VENDOR_CLASS_DATA'>, <class 'scapy.layers.dhcp6.USER_CLASS_DATA'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (USER_CLASS_DATA,VENDOR_CLASS_DATA).len>, <Field (USER_CLASS_DATA,VENDOR_CLASS_DATA).data>]
class scapy.layers.dhcp6.VENDOR_SPECIFIC_OPTION

Bases: scapy.layers.dhcp6._DHCP6OptGuessPayload

aliastypes = [<class 'scapy.layers.dhcp6.VENDOR_SPECIFIC_OPTION'>, <class 'scapy.layers.dhcp6._DHCP6OptGuessPayload'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (VENDOR_SPECIFIC_OPTION).optcode>, <Field (VENDOR_SPECIFIC_OPTION).optlen>, <Field (VENDOR_SPECIFIC_OPTION).optdata>]
guess_payload_class(payload)

DEV: Guesses the next payload class from layer bonds. Can be overloaded to use a different mechanism.

Parameters:payload (str) – the layer’s payload
Returns:the payload class
scapy.layers.dhcp6.get_cls(name, fallback_cls)