MCPcopy Create free account

hub / github.com/Ragnt/AngryTrainer / functions

Functions383 in github.com/Ragnt/AngryTrainer

Methodnew
(cli_args: &Arguments)
src/main.rs:238
Methodnew
()
src/auth.rs:67
Methodnew
(message_type: MessageType, content: String)
src/status.rs:34
Methodnew
(ssid: &str)
src/targets.rs:32
Methodnew
(rogue_mac: MacAddress)
src/devices.rs:25
Methodnew
Creates a new ReadBuffer with capacity of 8_000_000
libs/pcap-file/src/read_buffer.rs:21
Methodnew
Creates a new [`PcapParser`]. Returns the remainder and the parser.
libs/pcap-file/src/pcap/parser.rs:52
Methodnew
Creates a new borrowed [`PcapPacket`] with the given parameters.
libs/pcap-file/src/pcap/packet.rs:28
Methodnew
Creates a new [`PcapWriter`] from an existing writer. Defaults to the native endianness of the CPU. Writes this default global pcap header to the fi
libs/pcap-file/src/pcap/writer.rs:63
Methodnew
Creates a new [`PcapReader`] from an existing reader. This function reads the global pcap header of the file to verify its integrity. The underlying
libs/pcap-file/src/pcap/reader.rs:46
Methodnew
Creates a new [`PcapNgParser`]. Parses the first block which must be a valid SectionHeaderBlock.
libs/pcap-file/src/pcapng/parser.rs:55
Methodnew
Creates a new [`PcapNgWriter`] from an existing writer. Defaults to the native endianness of the CPU. Writes this global pcapng header to the file:
libs/pcap-file/src/pcapng/writer.rs:61
Methodnew
Creates a new [`PcapNgReader`] from a reader. Parses the first block which must be a valid SectionHeaderBlock.
libs/pcap-file/src/pcapng/reader.rs:40
Methodnew
Creates a new [`UnknownRecord`]
libs/pcap-file/src/pcapng/blocks/name_resolution.rs:289
Methodnew
Creates a new [`InterfaceDescriptionBlock`]
libs/pcap-file/src/pcapng/blocks/interface_description.rs:76
Methodnew
Creates a new [`UnknownOption`]
libs/pcap-file/src/pcapng/blocks/opt_common.rs:98
Methodnew
Creates a new [`UnknownBlock`]
libs/pcap-file/src/pcapng/blocks/unknown.rs:26
Methodnew_owned
Creates a new owned [`PcapPacket`] with the given parameters.
libs/pcap-file/src/pcap/packet.rs:33
Methodnew_station
( mac_address: MacAddress, signal_strength: AntennaSignal, access_point: Option<MacAdd
src/devices.rs:330
Methodnew_unassoc_station
( mac_address: MacAddress, signal_strength: AntennaSignal, probes: Vec<String>, )
src/devices.rs:352
Methodnew_with_clients
( mac_address: MacAddress, last_signal_strength: AntennaSignal, ssid: Option<String>,
src/devices.rs:162
Methodnext_block
Returns the next [`Block`].
libs/pcap-file/src/pcapng/reader.rs:47
Methodnext_packet
Returns the next [`PcapPacket`].
libs/pcap-file/src/pcap/reader.rs:59
Methodnext_raw_block
Returns the next [`RawBlock`].
libs/pcap-file/src/pcapng/reader.rs:62
Methodnext_raw_block_inner
Inner function to parse the next raw block.
libs/pcap-file/src/pcapng/parser.rs:95
Methodnext_raw_packet
Returns the next [`RawPcapPacket`].
libs/pcap-file/src/pcap/reader.rs:74
Methodopts_from_slice
Parse all options in a block
libs/pcap-file/src/pcapng/blocks/opt_common.rs:20
Methodpacket_interface
Returns the [`InterfaceDescriptionBlock`] corresponding to the given packet.
libs/pcap-file/src/pcapng/parser.rs:124
Methodpacket_interface
Returns the [`InterfaceDescriptionBlock`] corresponding to the given packet
libs/pcap-file/src/pcapng/reader.rs:87
Methodparse_inner
(mut slice: &[u8])
libs/pcap-file/src/pcapng/blocks/section_header.rs:64
Functionparse_ip_address_port
(input: &str)
src/util.rs:48
Functionpcap
Bench and compare Pcap readers and parsers
libs/pcap-file/benches/benches.rs:8
Functionpcapng
Bench and compare PcapNg readers and parsers
libs/pcap-file/benches/benches.rs:63
Methodproberesponseindex
(&mut self)
src/main.rs:175
Methodprobes_to_string_list
(&mut self)
src/devices.rs:374
Methodrandom
Generate random valid mac
libs/libwifi/src/frame/components/mac_address.rs:48
Methodrandom_with_oui
Generate a random MAC address using the same OUI as the given MAC address
libs/libwifi/src/frame/components/mac_address.rs:66
Methodreset_state
Resets state to 0
src/devices.rs:55
Methodsection
Returns the current [`SectionHeaderBlock`].
libs/pcap-file/src/pcapng/parser.rs:114
Methodsection
Returns the current [`SectionHeaderBlock`].
libs/pcap-file/src/pcapng/writer.rs:221
Methodsection
Returns the current [`SectionHeaderBlock`].
libs/pcap-file/src/pcapng/reader.rs:77
Methodsequence4
(&mut self)
src/main.rs:170
Methodsize
(&self)
src/status.rs:78
Methodsize
(&self)
src/devices.rs:398
Methodsnaplen
Returns the snaplen used by the writer, i.e. an unsigned value indicating the maximum number of octets captured from each packet.
libs/pcap-file/src/pcap/writer.rs:119
Methodsrc
(&self)
libs/libwifi/src/frame/control/rts_cts_ack.rs:19
Methodsrc
Return the mac address of the sender
libs/libwifi/src/frame/components/header.rs:85
Functiontar_and_compress_files
(output_files: Vec<String>, filename: &str)
src/main.rs:2281
Functiontest_beacon
Create a Management-Beacon FrameControl header FrameType should be `00` and SubType `1000` Remember
libs/libwifi/src/frame/components/frame_control.rs:131
Functiontest_broadcast
()
libs/libwifi/src/frame/components/mac_address.rs:199
Functiontest_flags
Set each flag once and ensure that only that bit is set. For this, we shift a byte with value `1` up to seven times to the left.
libs/libwifi/src/frame/components/frame_control.rs:110
Functiontest_format
()
libs/libwifi/src/frame/components/mac_address.rs:205
Methodto_long_string
Generate string with delimitters.
libs/libwifi/src/frame/components/mac_address.rs:40
Methodtry_from_raw_block
Tries to create a [`Block`] from a [`RawBlock`]. The RawBlock must be Borrowed.
libs/pcap-file/src/pcapng/blocks/block_common.rs:211
Methodtry_from_raw_packet
Tries to create a [`PcapPacket`] from a [`RawPcapPacket`].
libs/pcap-file/src/pcap/packet.rs:77
Methodtry_into_block
Tries to convert a [`RawBlock`] into a [`Block`]
libs/pcap-file/src/pcapng/blocks/block_common.rs:140
Methodtry_into_pcap_packet
Tries to convert a [`RawPcapPacket`] into a [`PcapPacket`].
libs/pcap-file/src/pcap/packet.rs:165
Methodts_resolution
Returns the timestamp resolution of the writer.
libs/pcap-file/src/pcap/writer.rs:124
Methodts_sec
(&self)
src/pcapng.rs:67
Functionts_to_system_time
(timestamp: u64, unit: TimeUnit)
src/util.rs:40
Methodts_usec
(&self)
src/pcapng.rs:74
Methodwith_capacity
Creates a new ReadBuffer with the given capacity
libs/pcap-file/src/read_buffer.rs:26
Methodwith_endianness
Creates a new [`PcapNgWriter`] from an existing writer with the given endianness.
libs/pcap-file/src/pcapng/writer.rs:66
Methodwith_header
Creates a new [`PcapWriter`] from an existing writer with a user defined [`PcapHeader`]. It also writes the pcap header to the file. # Errors The wr
libs/pcap-file/src/pcap/writer.rs:75
Methodwith_section_header
Creates a new [`PcapNgWriter`] from an existing writer with the given section header.
libs/pcap-file/src/pcapng/writer.rs:73
Methodwrite_header
(header: &PcapHeader, writer: &mut W)
libs/pcap-file/src/pcap/header.rs:93
Methodwrite_opt_to
(&self, code: u16, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/opt_common.rs:148
Methodwrite_opts_to
Write all options in a block
libs/pcap-file/src/pcapng/blocks/opt_common.rs:64
Methodwrite_packet
Writes a [`PcapPacket`].
libs/pcap-file/src/pcap/writer.rs:92
Methodwrite_raw_block
Writes a [`RawBlock`]. Doesn't check the validity of the written blocks.
libs/pcap-file/src/pcapng/writer.rs:188
Methodwrite_raw_packet
Writes a [`RawPcapPacket`].
libs/pcap-file/src/pcap/writer.rs:100
Methodwrite_to
Writes a [`PcapHeader`] to a writer. Uses the endianness of the header.
libs/pcap-file/src/pcap/header.rs:87
Methodwrite_to
(&self, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/name_resolution.rs:47
Methodwrite_to
(&self, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/interface_description.rs:60
Methodwrite_to
(&self, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/systemd_journal_export.rs:26
Methodwrite_to
(&self, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/packet.rs:81
Methodwrite_to
Writes a [`RawBlock`] to a writer. Uses the endianness of the header.
libs/pcap-file/src/pcapng/blocks/block_common.rs:130
Methodwrite_to
(&self, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/unknown.rs:39
Methodwrite_to
(&self, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/simple_packet.rs:39
Methodwrite_to
(&self, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/interface_statistics.rs:50
Methodwrite_to
(&self, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/section_header.rs:74
Methodwrite_to
(&self, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/enhanced_packet.rs:73
Methodzeroed
()
libs/libwifi/src/frame/components/mac_address.rs:61
← previous301–383 of 383, ranked by callers