Home
last modified time | relevance | path

Searched refs:bind_layers (Results 1 – 25 of 77) sorted by relevance

1234

/external/scapy/scapy/layers/
Dbluetooth.py707 bind_layers( HCI_Hdr, HCI_Command_Hdr, type=1)
708 bind_layers( HCI_Hdr, HCI_ACL_Hdr, type=2)
709 bind_layers( HCI_Hdr, HCI_Event_Hdr, type=4)
710 bind_layers( HCI_Hdr, conf.raw_layer, )
714 bind_layers( HCI_Command_Hdr, HCI_Cmd_Reset, opcode=0x0c03)
715 bind_layers( HCI_Command_Hdr, HCI_Cmd_Set_Event_Mask, opcode=0x0c01)
716 bind_layers( HCI_Command_Hdr, HCI_Cmd_Set_Event_Filter, opcode=0x0c05)
717 bind_layers( HCI_Command_Hdr, HCI_Cmd_Connect_Accept_Timeout, opcode=0x0c16)
718 bind_layers( HCI_Command_Hdr, HCI_Cmd_LE_Host_Supported, opcode=0x0c6d)
719 bind_layers( HCI_Command_Hdr, HCI_Cmd_Read_BD_Addr, opcode=0x1009)
[all …]
Dvxlan.py10 from scapy.packet import Packet, bind_layers
67 bind_layers(UDP, VXLAN, dport=4789) # RFC standard vxlan port
68 bind_layers(UDP, VXLAN, dport=4790) # RFC standard vxlan-gpe port
69 bind_layers(UDP, VXLAN, dport=6633) # New IANA assigned port for use with NSH
70 bind_layers(UDP, VXLAN, dport=8472) # Linux implementation port
71 bind_layers(UDP, VXLAN, sport=4789)
72 bind_layers(UDP, VXLAN, sport=4790)
73 bind_layers(UDP, VXLAN, sport=6633)
74 bind_layers(UDP, VXLAN, sport=8472)
76 bind_layers(UDP, VXLAN, sport=4789, dport=4789)
[all …]
Dnetbios.py211 bind_layers( UDP, NBNSQueryRequest, dport=137)
212 bind_layers( UDP, NBNSRequest, dport=137)
213 bind_layers( UDP, NBNSQueryResponse, sport=137)
214 bind_layers( UDP, NBNSQueryResponseNegative, sport=137)
215 bind_layers( UDP, NBNSNodeStatusResponse, sport=137)
216 bind_layers( NBNSNodeStatusResponse, NBNSNodeStatusResponseService, )
217 bind_layers( NBNSNodeStatusResponse, NBNSNodeStatusResponseService, )
218 bind_layers( NBNSNodeStatusResponseService, NBNSNodeStatusResponseService, )
219 bind_layers( NBNSNodeStatusResponseService, NBNSNodeStatusResponseEnd, )
220 bind_layers( UDP, NBNSWackResponse, sport=137)
[all …]
Ddot11.py343 bind_layers( PrismHeader, Dot11, )
344 bind_layers( RadioTap, Dot11, )
345 bind_layers( PPI, Dot11, dlt=105)
346 bind_layers( Dot11, LLC, type=2)
347 bind_layers( Dot11QoS, LLC, )
348 bind_layers( Dot11, Dot11AssoReq, subtype=0, type=0)
349 bind_layers( Dot11, Dot11AssoResp, subtype=1, type=0)
350 bind_layers( Dot11, Dot11ReassoReq, subtype=2, type=0)
351 bind_layers( Dot11, Dot11ReassoResp, subtype=3, type=0)
352 bind_layers( Dot11, Dot11ProbeReq, subtype=4, type=0)
[all …]
Dl2.py415 bind_layers( Dot3, LLC, )
416 bind_layers( Ether, LLC, type=122)
417 bind_layers( Ether, LLC, type=34928)
418 bind_layers( Ether, Dot1Q, type=33024)
419 bind_layers( Ether, Dot1AD, type=0x88a8)
420 bind_layers( Dot1AD, Dot1AD, type=0x88a8)
421 bind_layers( Dot1AD, Dot1Q, type=0x8100)
422 bind_layers( Dot1Q, Dot1AD, type=0x88a8)
423 bind_layers( Ether, Ether, type=1)
424 bind_layers( Ether, ARP, type=2054)
[all …]
Dmobileip.py42 bind_layers( UDP, MobileIP, sport=434)
43 bind_layers( UDP, MobileIP, dport=434)
44 bind_layers( MobileIP, MobileIPRRQ, type=1)
45 bind_layers( MobileIP, MobileIPRRP, type=3)
46 bind_layers( MobileIP, MobileIPTunnelData, type=4)
47 bind_layers( MobileIPTunnelData, IP, nexthdr=4)
Dnetflow.py87 bind_layers( NetflowHeader, NetflowHeaderV1, version=1)
88 bind_layers( NetflowHeaderV1, NetflowRecordV1 )
89 bind_layers( NetflowRecordV1, NetflowRecordV1 )
133 bind_layers( NetflowHeader, NetflowHeaderV5, version=5)
134 bind_layers( NetflowHeaderV5, NetflowRecordV5 )
135 bind_layers( NetflowRecordV5, NetflowRecordV5 )
443 bind_layers( NetflowHeader, NetflowHeaderV9, version=9 )
444 bind_layers( NetflowHeaderV9, NetflowFlowsetV9 )
445 bind_layers( NetflowFlowsetV9, NetflowDataflowsetV9 )
446 bind_layers( NetflowDataflowsetV9, NetflowDataflowsetV9 )
[all …]
Dlltd.py19 from scapy.packet import Packet, Padding, bind_layers
769 bind_layers(Ether, LLTD, type=0x88d9)
770 bind_layers(LLTD, LLTDDiscover, tos=0, function=0)
771 bind_layers(LLTD, LLTDDiscover, tos=1, function=0)
772 bind_layers(LLTD, LLTDHello, tos=0, function=1)
773 bind_layers(LLTD, LLTDHello, tos=1, function=1)
774 bind_layers(LLTD, LLTDEmit, tos=0, function=2)
775 bind_layers(LLTD, LLTDQueryResp, tos=0, function=7)
776 bind_layers(LLTD, LLTDQueryLargeTlv, tos=0, function=11)
777 bind_layers(LLTD, LLTDQueryLargeTlvResp, tos=0, function=12)
[all …]
Drip.py70 bind_layers( UDP, RIP, sport=520)
71 bind_layers( UDP, RIP, dport=520)
72 bind_layers( RIP, RIPEntry, )
73 bind_layers( RIPEntry, RIPEntry, )
74 bind_layers( RIPAuth, RIPEntry, )
Dppp.py16 from scapy.packet import Packet, bind_layers
698 bind_layers( Ether, PPPoED, type=0x8863)
699 bind_layers( Ether, PPPoE, type=0x8864)
700 bind_layers( CookedLinux, PPPoED, proto=0x8863)
701 bind_layers( CookedLinux, PPPoE, proto=0x8864)
702 bind_layers( PPPoE, PPP, code=0)
703 bind_layers( HDLC, PPP, )
704 bind_layers( PPP, EAP, proto=0xc227)
705 bind_layers( PPP, IP, proto=0x0021)
706 bind_layers( PPP, IPv6, proto=0x0057)
[all …]
Dsmb.py347 bind_layers( NBTSession, SMBNegociate_Protocol_Request_Header, )
348 bind_layers( NBTSession, SMBNegociate_Protocol_Response_Advanced_Security, ExtendedSecurity=1)
349 bind_layers( NBTSession, SMBNegociate_Protocol_Response_No_Security, ExtendedSecurity=0, …
350 bind_layers( NBTSession, SMBNegociate_Protocol_Response_No_Security_No_Key, ExtendedSecurity=0, …
351 bind_layers( NBTSession, SMBSession_Setup_AndX_Request, )
352 bind_layers( NBTSession, SMBSession_Setup_AndX_Response, )
353 bind_layers( SMBNegociate_Protocol_Request_Header, SMBNegociate_Protocol_Request_Tail, )
354 bind_layers( SMBNegociate_Protocol_Request_Tail, SMBNegociate_Protocol_Request_Tail, )
Dir.py42 bind_layers( CookedLinux, IrLAPHead, proto=23)
43 bind_layers( IrLAPHead, IrLAPCommand, Type=1)
44 bind_layers( IrLAPCommand, IrLMP, )
/external/scapy/scapy/contrib/
Dmqtt.py7 from scapy.packet import Packet, bind_layers
239 bind_layers(TCP, MQTT, sport=1883)
240 bind_layers(TCP, MQTT, dport=1883)
241 bind_layers(MQTT, MQTTConnect, type=1)
242 bind_layers(MQTT, MQTTConnack, type=2)
243 bind_layers(MQTT, MQTTPublish, type=3)
244 bind_layers(MQTT, MQTTPuback, type=4)
245 bind_layers(MQTT, MQTTPubrec, type=5)
246 bind_layers(MQTT, MQTTPubrel, type=6)
247 bind_layers(MQTT, MQTTPubcomp, type=7)
[all …]
Dubberlogger.py105 bind_layers(Uberlogger_honeypot_caract,Uberlogger_uber_h)
106 bind_layers(Uberlogger_uber_h,Uberlogger_capget_data)
107 bind_layers(Uberlogger_uber_h,Uberlogger_capset_data)
108 bind_layers(Uberlogger_uber_h,Uberlogger_chmod_data)
109 bind_layers(Uberlogger_uber_h,Uberlogger_chown_data)
110 bind_layers(Uberlogger_uber_h,Uberlogger_open_data)
111 bind_layers(Uberlogger_uber_h,Uberlogger_read_data)
112 bind_layers(Uberlogger_uber_h,Uberlogger_setuid_data)
113 bind_layers(Uberlogger_uber_h,Uberlogger_create_module_data)
114 bind_layers(Uberlogger_uber_h,Uberlogger_execve_data)
Dnsh.py18 from scapy.all import bind_layers
89 bind_layers(Ether, NSH, {'type': 0x894F}, type=0x894F)
90 bind_layers(VXLAN, NSH, {'flags': 0xC, 'NextProtocol': 4}, NextProtocol=4)
91 bind_layers(GRE, NSH, {'proto': 0x894F}, proto=0x894F)
93 bind_layers(NSH, IP, {'NextProto': 1}, NextProto=1)
94 bind_layers(NSH, IPv6, {'NextProto': 2}, NextProto=2)
95 bind_layers(NSH, Ether, {'NextProto': 3}, NextProto=3)
96 bind_layers(NSH, NSH, {'NextProto': 4}, NextProto=4)
97 bind_layers(NSH, MPLS, {'NextProto': 5}, NextProto=5)
Dgtp_v2.py900 bind_layers(GTPHeader, GTPV2EchoRequest, gtp_type=1, T=0)
901 bind_layers(GTPHeader, GTPV2EchoResponse, gtp_type=2, T=0)
902 bind_layers(GTPHeader, GTPV2CreateSessionRequest, gtp_type=32)
903 bind_layers(GTPHeader, GTPV2CreateSessionResponse, gtp_type=33)
904 bind_layers(GTPHeader, GTPV2ModifyBearerRequest, gtp_type=34)
905 bind_layers(GTPHeader, GTPV2ModifyBearerResponse, gtp_type=35)
906 bind_layers(GTPHeader, GTPV2DeleteSessionRequest, gtp_type=36)
907 bind_layers(GTPHeader, GTPV2DeleteSessionResponse, gtp_type=37)
908 bind_layers(GTPHeader, GTPV2ModifyBearerCommand, gtp_type=64)
909 bind_layers(GTPHeader, GTPV2ModifyBearerFailureNotification, gtp_type=65)
[all …]
Dsebek.py105 bind_layers( UDP, SebekHead, sport=1101)
106 bind_layers( UDP, SebekHead, dport=1101)
107 bind_layers( UDP, SebekHead, dport=1101, sport=1101)
108 bind_layers( SebekHead, SebekV1, version=1)
109 bind_layers( SebekHead, SebekV2Sock, version=2, type=2)
110 bind_layers( SebekHead, SebekV2, version=2)
111 bind_layers( SebekHead, SebekV3Sock, version=3, type=2)
112 bind_layers( SebekHead, SebekV3, version=3)
Dchdlc.py49 bind_layers( CHDLC, Dot3, proto=0x6558)
50 bind_layers( CHDLC, IP, proto=0x800)
51 bind_layers( CHDLC, IPv6, proto=0x86dd)
52 bind_layers( CHDLC, SLARP, proto=0x8035)
53 bind_layers( CHDLC, STP, proto=0x4242)
Dgtp.py866 bind_layers(UDP, GTPHeader, dport = 2123)
867 bind_layers(UDP, GTPHeader, sport = 2123)
868 bind_layers(GTPHeader, GTPEchoRequest, gtp_type=1, S=1)
869 bind_layers(GTPHeader, GTPEchoResponse, gtp_type=2, S=1)
870 bind_layers(GTPHeader, GTPCreatePDPContextRequest, gtp_type=16)
871 bind_layers(GTPHeader, GTPCreatePDPContextResponse, gtp_type=17)
872 bind_layers(GTPHeader, GTPUpdatePDPContextRequest, gtp_type=18)
873 bind_layers(GTPHeader, GTPUpdatePDPContextResponse, gtp_type=19)
874 bind_layers(GTPHeader, GTPDeletePDPContextRequest, gtp_type=20)
875 bind_layers(GTPHeader, GTPDeletePDPContextResponse, gtp_type=21)
[all …]
Dmpls.py18 from scapy.packet import Packet, bind_layers, Padding
43 bind_layers(Ether, MPLS, type=0x8847)
44 bind_layers(GRE, MPLS, proto=0x8847)
45 bind_layers(MPLS, MPLS, s=0)
Dvqp.py66 bind_layers(UDP, VQP, sport=1589)
67 bind_layers(UDP, VQP, dport=1589)
68 bind_layers(VQP, VQPEntry, )
69 bind_layers(VQPEntry, VQPEntry, )
Dhomeplugav.py1225 bind_layers( Ether, HomePlugAV, { "type":0x88e1 } )
1230 bind_layers( HomePlugAV, GetDeviceVersion, { "HPtype" : 0xA001 } )
1231 bind_layers( HomePlugAV, StartMACRequest, { "HPtype" : 0xA00C } )
1232 bind_layers( HomePlugAV, StartMACConfirmation, { "HPtype" : 0xA00D } )
1233 bind_layers( HomePlugAV, ResetDeviceRequest, { "HPtype" : 0xA01C } )
1234 bind_layers( HomePlugAV, ResetDeviceConfirmation, { "HPtype" : 0xA01D } )
1235 bind_layers( HomePlugAV, NetworkInformationRequest, { "HPtype" : 0xA038 } )
1236 bind_layers( HomePlugAV, ReadMACMemoryRequest, { "HPtype" : 0xA008 } )
1237 bind_layers( HomePlugAV, ReadMACMemoryConfirmation, { "HPtype" : 0xA009 } )
1238 bind_layers( HomePlugAV, ReadModuleDataRequest, { "HPtype" : 0xA024 } )
[all …]
Detherip.py19 from scapy.packet import Packet, bind_layers
28 bind_layers( IP, EtherIP, frag=0, proto=0x61)
29 bind_layers( EtherIP, Ether)
Dspbm.py39 from scapy.packet import Packet, bind_layers
55 bind_layers(Dot1Q, SPBM, type=0x88e7)
56 bind_layers(SPBM, Ether)
Dripng.py46 bind_layers(UDP, RIPng, sport=521, dport=521)
47 bind_layers(RIPng, RIPngEntry)
48 bind_layers(RIPngEntry, RIPngEntry)

1234