scapy.contrib.automotive.bmw.enet¶
-
class
scapy.contrib.automotive.bmw.enet.ENET(*args, **kargs)¶ Bases:
scapy.packet.Packet-
aliastypes¶
-
answers(other)¶
-
extract_padding(s)¶
-
fields_desc¶ Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | SRC | DST | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ENETENET fields¶ length
Nonetype
1src
0dst
0
-
hashret()¶
-
post_build(pkt, pay)¶ This will set the LenField ‘length’ to the correct value.
-
-
class
scapy.contrib.automotive.bmw.enet.ENETSocket(ip='127.0.0.1', port=6801)¶
-
class
scapy.contrib.automotive.bmw.enet.ISOTP_ENETSocket(src, dst, ip='127.0.0.1', port=6801, basecls=<class 'scapy.contrib.isotp.ISOTP'>)¶ Bases:
scapy.contrib.automotive.bmw.enet.ENETSocket-
recv(x=65535)¶
-
send(x)¶
-