scapy.contrib.isotp.isotp_native_socket

class scapy.contrib.isotp.isotp_native_socket.ISOTPNativeSocket(iface=None, sid=0, did=0, extended_addr=None, extended_rx_addr=None, listen_only=False, padding=False, transmit_time=100, stmin=0, basecls=<class 'scapy.contrib.isotp.isotp_packet.ISOTP'>)[source]

Bases: scapy.supersocket.SuperSocket

auxdata_available = True
can_isotp_fc_options_fmt = '@3B'
can_isotp_ll_options_fmt = '@3B'
can_isotp_options_fmt = '@2I4B'
desc = 'read/write packets at a given CAN interface using CAN_ISOTP socket '
recv(x=65535)[source]
recv_raw(x=65535)[source]

Receives a packet, then returns a tuple containing (cls, pkt_data, time)

sockaddr_can_fmt = '@H3I'
class scapy.contrib.isotp.isotp_native_socket.addr_info[source]

Bases: _ctypes.Union

tp

Structure/Union member

class scapy.contrib.isotp.isotp_native_socket.ifreq[source]

Bases: _ctypes.Structure

ifr_ifindex

Structure/Union member

ifr_name

Structure/Union member

class scapy.contrib.isotp.isotp_native_socket.sockaddr_can[source]

Bases: _ctypes.Structure

can_addr

Structure/Union member

can_family

Structure/Union member

can_ifindex

Structure/Union member

class scapy.contrib.isotp.isotp_native_socket.tp[source]

Bases: _ctypes.Structure

rx_id

Structure/Union member

tx_id

Structure/Union member