scapy.contrib.send module

class scapy.contrib.send.CGA_Params

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.send.CGA_Params'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (CGA_Params).modifier>, <Field (CGA_Params).subprefix>, <Field (CGA_Params).cc>, <Field (CGA_Params).pubkey>]
class scapy.contrib.send.ICMPv6NDOptCGA

Bases: scapy.layers.inet6._ICMPv6NDGuessPayload, scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.send.ICMPv6NDOptCGA'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (ICMPv6NDOptCGA).type>, <Field (ICMPv6NDOptCGA).len>, <Field (ICMPv6NDOptCGA).padlength>, <Field (ICMPv6NDOptCGA).reserved>, <Field (ICMPv6NDOptCGA).CGA_PARAMS>, <Field (ICMPv6NDOptCGA).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.send.ICMPv6NDOptNonce

Bases: scapy.layers.inet6._ICMPv6NDGuessPayload, scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.send.ICMPv6NDOptNonce'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (ICMPv6NDOptNonce).type>, <Field (ICMPv6NDOptNonce).len>, <Field (ICMPv6NDOptNonce).nonce>]
class scapy.contrib.send.ICMPv6NDOptRsaSig

Bases: scapy.layers.inet6._ICMPv6NDGuessPayload, scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.send.ICMPv6NDOptRsaSig'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (ICMPv6NDOptRsaSig).type>, <Field (ICMPv6NDOptRsaSig).len>, <Field (ICMPv6NDOptRsaSig).reserved>, <Field (ICMPv6NDOptRsaSig).key_hash>, <Field (ICMPv6NDOptRsaSig).signature_pad>]
class scapy.contrib.send.ICMPv6NDOptTmstp

Bases: scapy.layers.inet6._ICMPv6NDGuessPayload, scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.send.ICMPv6NDOptTmstp'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (ICMPv6NDOptTmstp).type>, <Field (ICMPv6NDOptTmstp).len>, <Field (ICMPv6NDOptTmstp).reserved>, <Field (ICMPv6NDOptTmstp).timestamp>]