|
| (+/) [Tcp.TRX] |
|
| (-/) [Tcp.TRX] |
|
| (<-->) [Tools] |
|
| (<-=) [Tools] |
f <-= trx sets f as the receive function of this trx.
|
| (<==>) [Tools] |
a <==> b connects a to b such that b receives what a emits
and a receives what b emits.
|
| (=->) [Tools] |
trx =-> f sets f as the emiting function of this trx.
|
| (==>) [Tools] |
a ==> b connects a to b such that b transmits what a emits.
|
A |
| a [Dns.QType] |
|
| abbrev [Tools] |
|
| ack [Dhcp.MsgType] |
|
| add [Clock.Interval] |
Adds two intervals.
|
| add [Clock.Time] |
Adds a time and an interval.
|
| add_head [Tools.OrdArray] |
|
| all [Peg] |
|
| all [Metric.Timed] |
|
| all [Metric.Counter] |
|
| all [Metric.Atomic] |
|
| all1s_addr [Ip.Cidr] |
Returns the all-ones address of a CIDR
|
| all_bits [Tools] |
|
| alphabetic [Peg] |
|
| alphanum [Peg] |
|
| anything [Peg] |
|
| arcnet [Pcap.Dlt] |
ARCNET, with BSD-style header
|
| arcnet [Arp.HwType] |
|
| arp [Arp.HwProto] |
|
| arp_nack [Arp.Op] |
|
| arp_resolve_ipv4 [Eth.TRX] |
|
| asap [Clock] |
|
| assert_ok [Tools] |
|
| at [Clock] |
at t f x will execute f x when simulation clock reaches time t.
|
| attr [Html] |
|
| attr_seq [Html] |
|
| attr_with_value [Html] |
|
| attr_without_value [Html] |
|
| attrs_of [Html] |
|
| autoclose [Html] |
|
| autoclose_tag [Html] |
|
| autocloses [Html] |
|
| ax25 [Pcap.Dlt] |
Amateur Radio AX.25
|
| ax25 [Arp.HwType] |
|
B |
| bad_attr_chars [Html] |
|
| basename [Myadmin] |
|
| bind [Peg] |
|
| bitlength [Tools.Payload] |
|
| bitstring_add [Tools] |
|
| bitstring_copy [Tools] |
|
| bitstring_fuzz [Tools] |
|
| bitstring_is_empty [Tools] |
|
| bitstring_of_global_header [Pcap] |
|
| blank [Peg] |
|
| blanks [Html] |
|
| bootreply [Dhcp] |
|
| bootrequest [Dhcp] |
|
| broadcast [Ip.Addr] |
|
| broadcast [Eth.Addr] |
Constant for Ethernet broadcast address.
|
| bytelength [Tools] |
|
| bytes_in [Pcap] |
A counter for how many bytes were sniffed.
|
| bytes_out [Pcap] |
A counter for how many bytes were injected successfully.
|
C |
| c2i [Html] |
|
| cable_of_csv [Net] |
|
| chaos [Pcap.Dlt] |
Chaos
|
| chaos [Arp.HwType] |
|
| char_encode [Url] |
|
| char_entity_ref [Html] |
|
| char_seq [Peg] |
|
| check_results [Peg] |
|
| check_results [Html] |
Used for tests only
|
| check_tree [Html] |
|
| check_varlist [Html] |
Used for tests
|
| chunked_transfert_encoding_re [Http] |
|
| clean_vacant_cnxs [Browser] |
|
| close [Tcp.TRX] |
|
| close [Localhost] |
|
| close_tag [Html] |
|
| cname [Dns.QType] |
|
| code_of [Icmp6.MsgType] |
|
| code_of [Icmp.MsgType] |
|
| comment [Html] |
|
| compare [Clock.Interval] |
Custom comparison function so that we can change time representation
more easily in the future.
|
| comply [Html] |
|
| cond [Peg] |
|
| cond [Clock] |
|
| cond_lock [Clock] |
|
| connect [Tcp.TRX] |
|
| connect [Sim.Net] |
connect t1 ~name1:"plug1" t2 ~name2:"plug2" will change the plugs emiting
and receiving functions such that t1 and t2 start exchanging messages at this point.
|
| console_log [Log] |
|
| console_lvl [Log] |
|
| content [Html] |
|
| content_type_from_filename [Opache] |
|
| cookie_dirname [Browser] |
|
| cookie_string [Browser] |
|
| cookies_to_sent [Browser] |
|
| crlf [Peg] |
|
| csv_for_cable [Net] |
|
| csv_for_cables [Net] |
|
| csv_for_hosts [Net] |
|
| csv_for_hubs [Net] |
|
| csv_for_node [Net] |
|
| csv_for_notes [Net] |
|
| csv_for_switches [Net] |
|
| current [Clock] |
We have only one clock so can run only one simulation at the same time.
|
D |
| debug [Url] |
|
| debug [Udp] |
|
| debug [Tcp] |
|
| debug [Sll] |
|
| debug [Router] |
|
| debug [Persist] |
|
| debug [Peg] |
|
| debug [Pcap] |
|
| debug [Net] |
|
| debug [Myadmin] |
|
| debug [Metric] |
|
| debug [Ip6] |
|
| debug [Ip] |
|
| debug [Hub] |
|
| debug [Http] |
|
| debug [Html] |
|
| debug [Eth] |
|
| debug [Dns] |
|
| debug [Dhcp] |
|
| debug [Clock] |
|
| debug [Browser] |
|
| debug [Arp] |
|
| decimal_number [Html] |
|
| decline [Dhcp.MsgType] |
|
| decode [Url] |
decode str will decode every URL encoded char present in str
|
| default_connect_timeout [Tcp.TRX] |
|
| delay [Clock] |
delay d f x will delay the execution of f x by the interval d.
|
| delayed_ack [Tcp.TRX] |
|
| digit [Html] |
|
| discover [Dhcp.MsgType] |
|
| do_compute_checksum [Tools] |
|
| do_gethostbyname [Host] |
|
| do_sum [Tools] |
|
| doctype [Html] |
|
| domain_matches [Browser] |
|
| dotslash_re [Url] |
|
| drarp_error [Arp.Op] |
|
| drarp_reply [Arp.Op] |
|
| drarp_request [Arp.Op] |
|
| drop_unacked_tx [Tcp.TRX] |
|
| dropbytes [Tools] |
|
| dst_for [Eth.TRX] |
|
E |
| either [Peg] |
|
| emit_multi [Tcp.TRX] |
|
| emit_one [Tcp.TRX] |
|
| empty [Url] |
|
| empty [Tools.Payload] |
|
| empty [Net] |
|
| en10mb [Pcap.Dlt] |
Ethernet (10Mb)
|
| en3mb [Pcap.Dlt] |
Experimental Ethernet (3Mb)
|
| encode [Url] |
encode str will encode any reserved char present in str into the alternative %xx syntax.
|
| engine [Myadmin] |
|
| enqueue [Log] |
|
| ensure [Tools] |
|
| enum_of_file [Pcap] |
From a pcap file, returns an Enum.t of Pcap.Pdu.t.
|
| enum_of_file [Packet] |
Packet.enum_of_file filename reads a pcap file and returns an Enum.t of Packet.Pdu.t.
|
| epsilon [Clock] |
|
| eq [Eth.Addr] |
Since Ethernet addresses are bitstrings, which cannot be compared
using the built-in = operator, here is a dedicated comparison
operator for addresses.
|
| equal [Tools.HashedBits] |
|
| err [Tools] |
|
| error [Tools] |
|
| establish_cnx [Tcp.TRX] |
|
| eth [Arp.HwType] |
|
| expe_eth [Arp.HwType] |
|
| ext_alphabetic [Html] |
|
| ext_alphanum [Html] |
|
| extendbytes [Tools] |
|
| extract_links [Html] |
|
| extract_links_simple [Html] |
|
F |
| fail [Peg] |
|
| fddi [Pcap.Dlt] |
FDDI
|
| file_content [Tools] |
|
| file_of_enum [Pcap] |
file_of_enum filename e will save an Enum.t of Pcap.Pdu.t into the file named filename.
|
| filter_map_node [Html] |
|
| find_alive_tcp [Host] |
|
| find_attr [Html] |
|
| find_first_node [Html] |
|
| find_named_plug [Sim.Net] |
remove the matching plug and return it
|
| find_vacant_cnx [Browser] |
|
| fire [Metric.Atomic] |
|
| first [Tools.OrdArray] |
|
| first_char_name [Html] |
|
| fixedbits [Tools] |
|
| foreach_item [Peg] |
|
| forward_from [Hub.Switch] |
|
| forward_from [Hub.Repeater] |
|
G |
| genname [Persist] |
|
| get [Tools.OrdArray] |
|
| get [Browser] |
|
| gethostbyname [Localhost] |
|
| gethostbyname [Host] |
|
| global_header_of_bitstring [Pcap] |
|
| gw_addr_of_string [Eth] |
Converts the other way around.
|
H |
| hash [Tools.HashedBits] |
|
| hash_find_or_insert [Tools] |
|
| hash_merge [Tools] |
|
| header_content_length_re [Http] |
|
| header_present [Http] |
|
| headers_find [Http] |
|
| headers_find_all [Http] |
|
| hexadecimal_number [Html] |
|
| hexstring_of_bitstring [Tools] |
|
| hexstring_of_bitstring_abbrev [Tools] |
|
| higher_bits [Ip.Addr] |
|
| hinfo [Dns.QType] |
|
| home [Myadmin] |
|
| host_of_csv [Net] |
|
| hour [Clock.Interval] |
hours to .
|
| hub_of_csv [Net] |
|
I |
| i2c [Html] |
|
| icmp [Ip.Proto] |
|
| icmp_rx [Host] |
|
| icmpv6 [Ip.Proto] |
|
| id_seq [Ip.Pdu] |
|
| ieee802 [Pcap.Dlt] |
802.5 Token Ring
|
| ieee8021q [Arp.HwProto] |
|
| ieee_802 [Arp.HwType] |
|
| iitem [Peg] |
|
| inarp_reply [Arp.Op] |
|
| inarp_request [Arp.Op] |
|
| increase [Metric.Counter] |
|
| indentation [Html] |
|
| inet_addr_print [Ip] |
Printer (in the sense of Batteries) for inet_addrs
|
| inform [Dhcp.MsgType] |
|
| infos_of [Pcap] |
Return some informations about a pcap file (require to scan the whole file,
so depending on the file size it may take some time).
|
| init [Tools.OrdArray] |
|
| inject [Pcap] |
inject iface bits inject the packet bits into interface iface.
|
| inject_ [Pcap] |
inject_ iface_handler packet inject this packet into this interface
|
| inqueue_pkt [Tcp.TRX] |
|
| instanciate [Net] |
|
| int_of_bitstring [Tools] |
|
| int_of_bool [Tcp.TRX] |
|
| int_of_hexchar [Tools] |
|
| int_of_hexstring [Tools] |
|
| int_of_level [Log] |
|
| int_of_pkt_type [Sll.Pdu] |
|
| inv_query [Dns] |
|
| inverse_trx [Tools] |
|
| ip4 [Arp.HwProto] |
|
| ip6 [Arp.HwProto] |
|
| ip_is_set [Host] |
|
| ip_recv [Host] |
|
| ipv6 [Ip.Proto] |
|
| is_closed [Tcp.TRX] |
|
| is_echo_request [Icmp6.Pdu] |
|
| is_echo_request [Icmp.Pdu] |
|
| is_empty [Url] |
|
| is_established [Tcp.TRX] |
|
| is_in_set [Url] |
|
| is_reserved [Url] |
|
| is_unreserved [Url] |
|
| is_valid [Icmp6.MsgType.Outer] |
|
| is_valid [Icmp.MsgType.Outer] |
|
| is_valid [Dhcp.MsgType.Inner] |
|
| is_valid [Arp.HwType.Inner] |
|
| it_works [Opache] |
|
| item [Peg] |
|
| iter_node [Html] |
|
| iter_nodes [Html] |
|
L |
| last [Tools.OrdArray] |
|
| length [Tools.Payload] |
|
| length [Ip.Addr] |
|
| limited [Eth] |
|
| linux_cooked [Pcap.Dlt] |
Linux SLL
|
| list_of_string [Ip.Addr] |
|
| load [Net] |
|
| local_addrs [Ip.Cidr] |
Returns the set (as an Enum) of all IP addresses in the given CIDR range (that is, all minus
subnet zero and all-ones subnet).
|
| log [Log] |
|
| logger [Localhost] |
|
| loggers [Log] |
|
| logs [Myadmin] |
|
M |
| make [Vlan.TRX] |
|
| make [Vlan.Pdu] |
Build a Vlan.Pdu.t for the given payload.
|
| make [Udp.TRX] |
|
| make [Udp.Pdu] |
|
| make [Tools.OrdArray] |
|
| make [Tcp.TRX] |
|
| make [Tcp.Pdu] |
|
| make [Sll.Pdu] |
|
| make [Sim.Net.Plug] |
|
| make [Router.Router] |
Build a t routing through these Tools.trx according to the given routing table.
|
| make [Router.Nat] |
make ip n returns a Tools.trx corresponding to a NAT device (tx is for transmitting from the LAN to the outside) that can track n sockets.
|
| make [Pcap.Pdu] |
|
| make [Net] |
|
| make [Myadmin] |
|
| make [Metric.Timed] |
|
| make [Metric.Counter] |
|
| make [Metric.Atomic] |
|
| make [Log] |
|
| make [Localhost] |
|
| make [Ip6.TRX] |
|
| make [Ip6.Pdu] |
|
| make [Ip.TRX] |
|
| make [Ip.Pdu] |
|
| make [Hub.Tap] |
|
| make [Hub.Switch] |
|
| make [Hub.Repeater] |
|
| make [Http.TRX] |
|
| make [Http.TRXtop] |
|
| make [Host] |
|
| make [Eth.TRX] |
|
| make [Eth.Pdu] |
|
| make [Browser] |
|
| make_abs [Persist] |
|
| make_ack [Dhcp.Pdu] |
|
| make_base [Dhcp.Pdu] |
|
| make_dhcp [Host] |
|
| make_discover [Dhcp.Pdu] |
|
| make_echo_reply [Icmp6.Pdu] |
|
| make_echo_reply [Icmp.Pdu] |
|
| make_echo_request [Icmp6.Pdu] |
|
| make_echo_request [Icmp.Pdu] |
|
| make_empty [Sim.Net] |
|
| make_from_addrs [Router.Router] |
|
| make_from_data [Tools.OrdArray] |
|
| make_gw [Router] |
A gateway is a device with 2 Eth interfaces, with a public IP address
and a private network address, performing routing between these two,
NAT and DHCP for the LAN.
|
| make_internet [Sim.Net] |
Returns a net with an unlimited supply of plugs that performs as a router.
|
| make_minmax [Metric.Timed] |
|
| make_offer [Dhcp.Pdu] |
|
| make_query [Dns.Pdu] |
|
| make_queue [Log] |
|
| make_reply [Arp.Pdu] |
|
| make_request [Http.Pdu] |
|
| make_request [Dhcp.Pdu] |
|
| make_request [Arp.Pdu] |
|
| make_reset_of [Tcp.Pdu] |
|
| make_simple_lan [Sim.Net] |
Returns a lan consisting of n hosts connected to a switch connected to a
router/dhcp server/nater with an "exit" plug.
|
| make_sink [Sim.Net] |
Return a net representing the external network via the given interface,
and the thread that sniffs packets.
|
| make_static [Host] |
|
| make_status [Http.Pdu] |
|
| make_tcp_socks [Host] |
|
| make_udp_socks [Host] |
|
| make_vacant_cnx [Browser] |
|
| many [Peg] |
|
| map [Peg] |
|
| map_filter [Peg] |
|
| may_default [Tools] |
|
| may_timeout [Tcp.TRX] |
|
| mem [Ip.Cidr] |
|
| merge [Pcap] |
merge [e1 ; e2 ; e3] will merge the three Enumt.t of packets in chronological
order.
|
| message_get [Browser] |
|
| metrics [Myadmin] |
|
| min [Clock.Interval] |
minutes to .
|
| min_port [Router] |
the lowest port number used by the address translation
|
| mkdir_all [Persist] |
|
| msec [Clock.Interval] |
milliseconds to .
|
| mtu [Pcap] |
Get the MTU of a device (on Linux).
|
| multiplexer [Opache] |
|
| must_close_cnx [Http] |
|
| mx [Dns.QType] |
|
N |
| nack [Dhcp.MsgType] |
|
| name [Html] |
|
| nb_levels [Log] |
|
| net [Myadmin] |
|
| net_csv [Myadmin] |
|
| netpart_csv [Myadmin] |
|
| next_ack_num [Tcp.TRX] |
|
| next_event [Clock] |
Will process the next event
|
| next_id [Ip.Pdu] |
|
| next_seq_num [Tcp.TRX] |
|
| node_of_csv [Net] |
|
| none [Peg] |
|
| none_if_exception [Tools] |
|
| none_if_not_found [Tools] |
|
| note_of_csv [Net] |
|
| now [Clock] |
Return the current simulation time.
|
| ns [Dns.QType] |
|
| null [Pcap.Dlt] |
BSD loopback encapsulation
|
| null_dev [Tools] |
For those cases when you want to build a trx from a single dev
|
| null_trx [Tools] |
|
| num_char_ref [Html] |
|
| num_char_ref_dec [Html] |
|
| num_char_ref_hex [Html] |
|
| num_printer [Html] |
|
| number [Html] |
|
| numeric [Peg] |
|
O |
| o [Tools.PRIVATE_TYPE] |
|
| o [Tools.MakePrivate] |
|
| o32 [Ip.Addr] |
|
| of_bitstring [Ip.Addr] |
Convert a bitstring into an Ip.Addr.t.
|
| of_csv_file [Net] |
|
| of_csv_string [Net] |
|
| of_dotted_string [Ip.Addr] |
Convert from dotted representation (useful to allow DNS-less hosts to 'resolve' some name)
|
| of_inet_addr [Ip.Addr] |
|
| of_string [Url] |
Url.of_string str will return the Url.t corresponding to the given str
|
| of_string [Ip.Cidr] |
|
| of_string [Ip.Addr] |
|
| of_string [Eth.Addr] |
Converts a string to an address.
|
| offer [Dhcp.MsgType] |
|
| open_tag [Html] |
|
| openif [Pcap] |
openif "eth0" true "port 80" 96 returns the iface representing eth0,
in promiscuous mode, filtering port 80 and capturing only the first 96 bytes
of each packets.
|
| openif_ [Pcap] |
openif_ "eth0" true "port 80" 96 returns the iface representing eth0,
in promiscuous mode, filtering port 80 and capturing only the first 96 bytes
of each packets.
|
| optional [Peg] |
|
P |
| pack [Vlan.Pdu] |
Pack a Vlan.Pdu.t into its bitstring raw representation, ready for
encapsulation into a Eth.Pdu.t (or anywhere you like).
|
| pack [Udp.Pdu] |
|
| pack [Tools.PDU] |
|
| pack [Tcp.Pdu] |
|
| pack [Sll.Pdu] |
Pack a Sll.Pdu.t into its bitstring raw representation.
|
| pack [Pcap.Pdu] |
Return the bitstring ready to be written into a pcap file (see Pcap.save).
|
| pack [Packet.Pdu] |
pack pdu converts the layer list back to a Pcap.Pdu.t
|
| pack [Ip6.Pdu] |
|
| pack [Ip.Pdu] |
|
| pack [Icmp6.Pdu] |
|
| pack [Icmp.Pdu] |
|
| pack [Http.Pdu] |
|
| pack [Eth.Pdu] |
Pack an Eth.Pdu.t into its bitstring raw representation, ready for
injection onto the wire (via Pcap.inject_pdu for instance).
|
| pack [Dns.Pdu] |
|
| pack [Dhcp.Pdu] |
|
| pack [Arp.Pdu] |
|
| pack_n16 [Dns.Pdu] |
|
| pack_n32 [Dns.Pdu] |
|
| pack_name [Dns.Pdu] |
|
| pack_options [Dhcp.Pdu] |
|
| pack_question [Dns.Pdu] |
|
| pack_questions [Dns.Pdu] |
|
| pack_rr [Dns.Pdu] |
|
| pack_rrs [Dns.Pdu] |
|
| packets_injected_err [Pcap] |
A counter for how many packets we failed to inject.
|
| packets_injected_ok [Pcap] |
A counter for how many packets were injected successfully.
|
| packets_sniffed_ok [Pcap] |
A counter for how many packets were sniffed.
|
| page_foot [Myadmin] |
|
| page_head [Myadmin] |
|
| params_of_query [Opache] |
|
| parse [Html] |
|
| parse_cookie [Browser] |
|
| parzer [Http.Pdu] |
|
| parzer [Html] |
|
| patch_checksum [Ip.Pdu] |
|
| patch_dst_port [Router.Nat] |
|
| patch_src_port [Router.Nat] |
|
| path_matches [Browser] |
|
| per_status [Browser] |
|
| ping [Host] |
|
| pipe [Tools] |
pipe trx1 trx2 connects trx1 and trx2 so that trx1 output is sent through trx2,
and returns a trx with trx1 as the inside and trx2 as the outside.
|
| pipe [Peg] |
|
| pkt_type_of_int [Sll.Pdu] |
|
| play [Pcap] |
play tx "file.pcap" will read packets from "file.pcap" and send them to tx
copying the pcap file frame rate.
|
| plug_print [Net] |
|
| port_in_range [Router.Router] |
|
| post [Browser] |
|
| post_decode [Http] |
|
| post_encode [Http] |
|
| ppp [Pcap.Dlt] |
Point-to-point Protocol
|
| print [Tools.PRIVATE_TYPE] |
|
| print [Tools.MakePrivate] |
|
| print [Metric.Timed] |
|
| print [Metric.Counter] |
|
| print [Metric.Atomic] |
|
| print' [Ip.Addr] |
This printer can be composed with others (for instance to print a list of ips.
|
| print_as_names [Ip.Addr] |
If true, use the system's name resolver to find a name for each IP
addresses that are printed.
|
| print_attr [Html] |
|
| print_bitstring [Tools] |
|
| print_code [Http] |
|
| print_date [Clock.Time] |
When displaying a time, print also the corresponding date.
|
| print_flags [Tcp.Pdu] |
|
| print_header [Http] |
|
| print_headers [Http] |
|
| print_int [Peg] |
|
| print_intlist [Peg] |
|
| print_intopt [Peg] |
|
| print_report [Metric] |
|
| print_tree [Myadmin] |
|
| print_tree [Html] |
|
| print_trees [Html] |
|
| print_vars [Opache] |
|
| print_with_vendor [Eth.Addr] |
If true, use the vendor database to decode address names:
# Eth.Addr.of_string "a4:ba:db:e6:15:fa";;
- : Eth.Addr.t = Dell:e6:15:fa
# Eth.Addr.print_with_vendor := false;;
- : unit = ()
# Eth.Addr.of_string "a4:ba:db:e6:15:fa";;
- : Eth.Addr.t = a4:ba:db:e6:15:fa
|
| printable [Tools] |
|
| printer [Clock] |
|
| promote [Tools.OrdArray] |
|
| pronet [Pcap.Dlt] |
Proteon ProNET Token Ring
|
| pseudo_header [Ip6.Pdu] |
|
| pseudo_header [Ip.Pdu] |
|
| ptr [Dns.QType] |
|
Q |
| qclass_inet [Dns] |
|
| queue_iter [Log] |
|
| quoted_value [Html] |
|
| quoted_value_with [Html] |
|
R |
| rand32 [Tools] |
|
| rand_hostname [Tools] |
|
| randb [Tools] |
|
| randbs [Tools] |
|
| randi [Tools] |
|
| random [Vlan.Pdu] |
Returns a random Vlan.Pdu.t.
|
| random [Udp.Pdu] |
|
| random [Tools.Payload] |
|
| random [Tcp.Pdu] |
|
| random [Tcp.MakePort] |
|
| random [Sll.Pdu] |
|
| random [Pcap.Dlt] |
|
| random [Ip6.Pdu] |
|
| random [Ip.Pdu] |
|
| random [Ip.Cidr] |
|
| random [Ip.Addr] |
Returns a random Ip.Addr.t (apart from broadcast and zero).
|
| random [Ip.Proto] |
|
| random [Icmp6.Pdu] |
|
| random [Icmp6.MsgType] |
|
| random [Icmp.Pdu] |
|
| random [Icmp.MsgType] |
|
| random [Eth.Pdu] |
|
| random [Eth.Addr] |
Returns a random Ethernet address (but neither broadcast nor zero).
|
| random [Dns.Pdu] |
|
| random [Dns.QType] |
|
| random [Dhcp.Pdu] |
|
| random [Dhcp.MsgType] |
|
| random [Arp.Pdu] |
|
| random [Arp.HwProto] |
|
| random [Arp.HwType] |
|
| random_addrs [Ip.Cidr] |
|
| random_name [Host] |
|
| random_payload [Icmp6.Pdu] |
|
| random_payload [Icmp.Pdu] |
|
| randstr [Tools] |
|
| read_global_header [Pcap] |
read_global_header filename reads the pcap global header from the
given file, and returns both a Pcap.global_header and the input channel.
|
| read_n16 [Dns.Pdu] |
|
| read_n32 [Dns.Pdu] |
|
| read_next_pkt [Pcap] |
read_next_pkt global_header ic will return the next Pcap.Pdu.t that's to
be read from the input stream ic.
|
| reader [Localhost] |
|
| realtime [Clock] |
|
| regex [Peg] |
|
| release [Dhcp.MsgType] |
|
| remove [Tools.OrdArray] |
|
| remove_last_if [Tools] |
|
| reorder [Html] |
|
| repair_file [Pcap] |
Small utility that truncate a pcap file to the last valid packet.
|
| repeat [Peg] |
|
| repeat_until [Peg] |
|
| repl_tag [Icmp6.MsgType.Outer] |
|
| repl_tag [Icmp.MsgType.Outer] |
|
| repl_tag [Dhcp.MsgType.Inner] |
|
| repl_tag [Arp.HwType.Inner] |
|
| reply [Arp.Op] |
|
| reply_rev [Arp.Op] |
|
| report_thread [Myadmin] |
|
| report_thread [Metric] |
|
| request [Dhcp.MsgType] |
|
| request [Browser] |
|
| request [Arp.Op] |
|
| request_rev [Arp.Op] |
|
| reserved_chars [Url] |
|
| resolution_cachehits [Host] |
|
| resolution_timeouts [Host] |
|
| resolutions [Host] |
|
| resolve [Url] |
resolve base url will return the absolute version of url, given it's relative to base.
|
| resolve_proto_addr [Eth.TRX] |
|
| return [Peg] |
|
| rootdir [Persist] |
|
| route [Router.Router] |
|
| run [Clock] |
run true will run forever while run false will return once no more
events are waiting.
|
| rx [Vlan.TRX] |
Receive function, called to output untaggd frames from the 802.1q tunnel.
|
| rx [Udp.TRX] |
|
| rx [Tools] |
|
| rx [Tcp.TRX] |
|
| rx [Router.Nat] |
|
| rx [Ip6.TRX] |
|
| rx [Ip.TRX] |
|
| rx [Http.TRX] |
|
| rx [Http.TRXtop] |
|
| rx [Eth.TRX] |
Receive function, called to input an Ethernet frame into the TRX.
|
S |
| save [Pcap.Pdu] |
save "file.pcap" returns a function that will save passed pdus in "file.pcap".
|
| save [Pcap] |
save "file.pcap" returns a function that will save passed bitstrings as packets in
"file.pcap".
|
| save [Net] |
|
| scenarii [Myadmin] |
|
| sec [Clock.Interval] |
seconds to .
|
| send [Eth.TRX] |
Low level send fonction.
|
| seq [Peg] |
|
| seqf [Peg] |
|
| serie_current_idx [Myadmin] |
|
| serie_size [Myadmin] |
|
| series [Myadmin] |
|
| serve [Opache] |
Listen HTTP connections arriving at host on given port,
passing incoming messages to a user supplied function f.
|
| serve [Dhcpd] |
serve host ips listen on host DHCP port and allocate the
given ips to any requester.
|
| set [Tools.OrdArray] |
|
| set_emit [Http.TRXtop] |
|
| set_ip [Host] |
|
| set_read [Router.Router] |
Change the emitter of port N.
|
| set_read [Hub.Switch] |
|
| set_read [Hub.Repeater] |
|
| set_recv [Http.TRXtop] |
|
| several [Peg] |
|
| should_not_happen [Tools] |
|
| show_ports_by_name [Tcp] |
|
| signal_err [Localhost] |
|
| signal_err [Host] |
|
| signal_me [Clock] |
|
| single [Ip.Cidr] |
Build a CIDR from a single address
|
| slip [Pcap.Dlt] |
Serial Line IP
|
| sniff [Pcap] |
sniff iface will return the next available packet as a Pcap.Pdu.t.
|
| sniff_ [Pcap] |
sniff_ iface_handler will return the next available packet as a string,
as well as its capture timestamp.
|
| sniffer [Pcap] |
sniffer iface rx returns a thread that continuously sniff packets
and pass them to the rx function (via the Clock).
|
| some [Peg] |
|
| special_tag [Html] |
|
| spider [Browser] |
|
| srv_status_request [Dns] |
|
| start [Metric.Timed] |
|
| start_match [Peg] |
|
| static_file_server [Opache] |
|
| std_query [Dns] |
|
| stop [Metric.Timed] |
|
| store_cookies [Browser] |
|
| str_all_matches [Tools] |
|
| string_find_first [Tools] |
|
| string_of_addr [Host] |
|
| string_of_cmd [Http.Pdu] |
|
| string_of_code [Http] |
|
| string_of_cookie [Browser] |
|
| string_of_flags [Tcp.Pdu] |
|
| string_of_gw_addr [Eth] |
|
| string_of_header [Http] |
|
| string_of_headers [Http] |
|
| string_of_sfx [Eth.Addr] |
|
| stripped [Opache] |
|
| sub [Clock.Time] |
Substract two time and returns an interval.
|
| sum [Tools] |
|
| switch_of_csv [Net] |
|
| synch [Clock] |
Synchronize internal clock with realtime clock.
|
T |
| t_printer [Hub.Repeater] |
|
| tag [Html] |
|
| tag_seq [Html] |
|
| take [Peg] |
|
| takebytes [Tools] |
|
| tcp [Ip.Proto] |
|
| tcp_cnxs_err [Host] |
|
| tcp_cnxs_ok [Host] |
|
| tcp_connect [Localhost] |
|
| tcp_connect [Host] |
|
| tcp_server [Localhost] |
|
| tcp_server [Host] |
|
| tcp_sock_rx [Host] |
|
| tcp_trx_of_socket [Localhost] |
|
| test_route [Router.Router] |
Test an incoming packet against a route.
|
| text_of_code [Http] |
|
| to_bitstring [Ip.Addr] |
Convert an Ip.Addr.t to a bitstring.
|
| to_csv_file [Net] |
|
| to_dev [Hub.Switch] |
Turns a port into a device
|
| to_dev [Hub.Repeater] |
Turns a port into a device
|
| to_dotted_string [Ip.Addr] |
Regardless of the above setting, return the dotted representation (a
string) of a given address.
|
| to_enum [Ip.Cidr] |
|
| to_file [Packet] |
Packet.to_file filename e write the enumeration of Packet.Pdu.t into the given file.
|
| to_inet_addr [Ip.Addr] |
|
| to_int32 [Ip.Addr] |
|
| to_ints [Clock.Time] |
Convert a timestamp to a pair of ints with seconds, microseconds
|
| to_string [Url] |
the opposite of of_string
|
| to_string [Tools.PRIVATE_TYPE] |
|
| to_string [Tools.MakePrivate] |
|
| to_string [Icmp6.MsgType.Outer] |
|
| to_string [Icmp.MsgType.Outer] |
|
| to_string [Dhcp.MsgType.Inner] |
|
| to_string [Arp.HwType.Inner] |
|
| to_tree [Html] |
|
| todo [Tools] |
|
| tokring [Arp.HwType] |
|
| tree [Metric] |
|
| trx_of [Udp.TRX] |
|
| try_really_rx [Tcp.TRX] |
|
| try_really_tx [Tcp.TRX] |
|
| tx [Vlan.TRX] |
Transmit function.
|
| tx [Udp.TRX] |
|
| tx [Tools] |
|
| tx [Tcp.TRX] |
|
| tx [Router.Nat] |
bits are flowing from LAN to outside world
|
| tx [Localhost] |
|
| tx [Ip6.TRX] |
|
| tx [Ip.TRX] |
|
| tx [Http.TRX] |
|
| tx [Http.TRXtop] |
|
| tx [Eth.TRX] |
Transmit function.
|
| type_of [Icmp6.MsgType] |
|
| type_of [Icmp.MsgType] |
|
U |
| udp [Ip.Proto] |
|
| udp_cnxs_err [Host] |
|
| udp_cnxs_ok [Host] |
|
| udp_connect [Host] |
|
| udp_send [Host] |
|
| udp_server [Host] |
|
| udp_sock_rx [Host] |
|
| uncloseds [Html] |
|
| unify [Html] |
|
| union [Sim.Net] |
|
| unpack [Vlan.Pdu] |
Unpack a bitstring into a Vlan.Pdu.t
|
| unpack [Udp.Pdu] |
|
| unpack [Tools.PDU] |
|
| unpack [Tcp.Pdu] |
|
| unpack [Sll.Pdu] |
|
| unpack [Packet.Pdu] |
|
| unpack [Ip6.Pdu] |
|
| unpack [Ip.Pdu] |
|
| unpack [Icmp6.Pdu] |
|
| unpack [Icmp.Pdu] |
|
| unpack [Http.Pdu] |
|
| unpack [Eth.Pdu] |
|
| unpack [Dns.Pdu] |
|
| unpack [Dhcp.Pdu] |
|
| unpack [Arp.Pdu] |
|
| unpack_name [Dns.Pdu] |
|
| unpack_options [Dhcp.Pdu] |
|
| unpack_questions [Dns.Pdu] |
|
| unpack_rrs [Dns.Pdu] |
|
| unpack_with_ports [Ip.Pdu] |
Unpack an ip packets and return the ip PDU, source port and dest port.
|
| unparsable [Html] |
|
| unquoted_value [Html] |
|
| unreseved_chars [Url] |
|
| update_minmax [Metric.Timed] |
|
| updir_re [Url] |
|
| upto [Peg] |
|
| usec [Clock.Interval] |
microseconds to .
|
| user [Browser] |
|
V |
| value [Html] |
|
| var_printer [Html] |
|
| vendor_lookup [Eth.Addr] |
Low level wrapper around the C vendor database.
|
W |
| wall_clock [Clock.Time] |
Get the current wall clock (through ).
|
| with_input_file [Persist] |
|
| with_output_file [Persist] |
|
| with_resolver_trx [Host] |
|
| write [Hub.Switch] |
|
| write [Hub.Repeater] |
|
| write_global_header [Pcap] |
write_global_header filename write a 'generic' pcap global header and
returns the output channel.
|
| write_next_pkt [Pcap] |
write_next_pkt global_header ic will return the next Pcap.Pdu.t that's to
be read from the input stream ic.
|
X |
| xml_decl [Html] |
|
Z |
| zero [Ip.Addr] |
|
| zero [Eth.Addr] |
Constant for Ethernet all zeroes address.
|
| zero_addr [Ip.Cidr] |
Returns the subnet-zero address of a CIDR
|