Home
last modified time | relevance | path

Searched refs:Scapy_Exception (Results 1 – 24 of 24) sorted by relevance

/external/scapy/scapy/arch/bpf/
Dcore.py9 from scapy.error import Scapy_Exception, warning
70 raise Scapy_Exception("Failed to execute ifconfig: (%s)" % msg)
77 raise Scapy_Exception("No MAC address found on %s !" % ifname)
98 raise Scapy_Exception("No /dev/bpf handle is available !")
109 raise Scapy_Exception("Failed to execute tcpdump: (%s)" % msg)
114 raise Scapy_Exception("Got an empty BPF filter from tcpdump !")
120 raise Scapy_Exception("Can't attach the BPF filter !")
132 raise Scapy_Exception("Failed to execute ifconfig: (%s)" % msg)
172 raise Scapy_Exception("No /dev/bpf are available !")
Dsupersocket.py21 from scapy.error import Scapy_Exception, warning
64 raise Scapy_Exception("BIOCSBLEN failed on /dev/bpf%i" %
71 raise Scapy_Exception("BIOCSETIF failed on %s" % self.iface)
82 raise Scapy_Exception("BIOCIMMEDIATE failed on /dev/bpf%i" %
90 raise Scapy_Exception("BIOCSHDRCMPLT failed on /dev/bpf%i" %
112 raise Scapy_Exception("Cannot set promiscuous mode on interface "
329 raise Scapy_Exception("BIOCSETIF failed on %s" % iff)
/external/scapy/scapy/contrib/
Dlldp.py48 BitFieldLenField, ShortField, Padding, Scapy_Exception, \
62 class LLDPInvalidFrameStructure(Scapy_Exception):
70 class LLDPInvalidLastLayerException(Scapy_Exception):
77 class LLDPMissingLowerLayer(Scapy_Exception):
84 class LLDPInvalidTLVCount(Scapy_Exception):
91 class LLDPInvalidLengthField(Scapy_Exception):
Dmqtt.py11 from scapy.error import Scapy_Exception
33 raise Scapy_Exception("%s: malformed length field" %
44 raise Scapy_Exception("%s: malformed length field" %
Deigrp.py283 raise Scapy_Exception("Format of value is invalid")
Dhttp2.py269 raise error.Scapy_Exception(
/external/scapy/scapy/
Ddadict.py12 from scapy.error import Scapy_Exception
26 class DADict_Exception(Scapy_Exception):
Dautorun.py14 from scapy.error import Scapy_Exception
23 class StopAutorun(Scapy_Exception):
Droute.py16 from scapy.error import Scapy_Exception, warning
59 … raise Scapy_Exception("make_route: Incorrect parameters. You should specify a host or a net")
Dutils.py28 from scapy.error import log_runtime, log_loading, log_interactive, Scapy_Exception, warning
743 except Scapy_Exception:
749 except Scapy_Exception:
755 raise Scapy_Exception("Not a supported capture file")
796 raise Scapy_Exception(
801 raise Scapy_Exception("Invalid pcap file (too short)")
924 raise Scapy_Exception(
934 raise Scapy_Exception("Not a pcapng capture file (bad magic)")
Derror.py14 class Scapy_Exception(Exception): class
Dpacket.py25 from scapy.error import Scapy_Exception, log_runtime
1099 … raise Scapy_Exception("Bad condition in format string: [%s] (read sprintf doc!)"%cond)
1131 raise Scapy_Exception
1143 raise Scapy_Exception("Bad format string [%%%s%s]" % (fmt[:25], fmt[25:] and "..."))
1250 raise Scapy_Exception("Can't add payload to NoPayload instance")
1305 raise Scapy_Exception("cannot fragment this packet")
1312 raise Scapy_Exception("Format not found [%s]"%fmt)
Dutils6.py566 raise Scapy_Exception("value provided to in6_cidr2mask outside [0, 128] domain (%d)" % m)
Dautomaton.py34 from scapy.error import Scapy_Exception
35 recv_error = Scapy_Exception
/external/scapy/scapy/arch/
Dpcapdnet.py20 from scapy.error import Scapy_Exception, log_loading, warning
68 class PcapTimeoutElapsed(Scapy_Exception):
174 class PcapTimeoutElapsed(Scapy_Exception):
235 raise Scapy_Exception("Can't send anything with L2pcapListenSocket")
435 class PcapTimeoutElapsed(Scapy_Exception):
491 raise Scapy_Exception("Can't send anything with L2pcapListenSocket")
533 raise Scapy_Exception("Error in attempting to get hw address"
D__init__.py36 … raise Scapy_Exception("Unsupported address family (%i) for interface [%s]" % (addrfamily,iff))
Dlinux.py33 from scapy.error import warning, Scapy_Exception, log_interactive, log_loading
618 raise Scapy_Exception("Can't send anything with L2ListenSocket")
/external/scapy/scapy/layers/
Dradius.py23 from scapy.error import Scapy_Exception
299 raise Scapy_Exception(
508 raise Scapy_Exception(
Ddns.py68 raise Scapy_Exception("DNS message can't be compressed at this point!")
/external/scapy/scapy/modules/
Dp0f.py23 from scapy.error import warning, Scapy_Exception, log_runtime
390 raise Scapy_Exception("No match in the p0f database")
511 raise Scapy_Exception("TCP window value requires MSS, and MSS option not set")
514 raise Scapy_Exception('Unhandled window size specification')
/external/scapy/scapy/asn1/
Dasn1.py16 from scapy.error import Scapy_Exception, warning
55 class ASN1_Error(Scapy_Exception):
/external/scapy/scapy/arch/windows/
D__init__.py20 from scapy.error import Scapy_Exception, log_loading, log_runtime, warning
349 class PcapNameNotFoundError(Scapy_Exception):
482 raise Scapy_Exception("This interface does not support raw 802.11")
/external/scapy/test/
Dpipetool.uts240 from scapy.error import Scapy_Exception
243 raise Scapy_Exception()
Dfields.uts1000 except (Scapy_Exception, IndexError):