scapy.contrib.automotive.bmw.enet¶
-
class
scapy.contrib.automotive.bmw.enet.
ENET
(*args, **kargs)¶ -
-
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. ENET
¶ length
None
type
1
src
0
dst
0
-
hashret
()¶
-
post_build
(pkt, pay)¶ 这将把LenField'length'设置为正确的值。
-
-
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'>)¶ 基类:
scapy.contrib.automotive.bmw.enet.ENETSocket
-
recv
(x=65535)¶
-
send
(x)¶
-