MCPcopy Create free account

hub / github.com/PKUFlyingPig/CS144-Computer-Network / functions

Functions633 in github.com/PKUFlyingPig/CS144-Computer-Network

Functionmain
tests/fsm_loopback_win.cc:23
Functionmain
tests/fsm_passive_close.cc:16
Functionmain
tests/recv_special.cc:14
Functionmain
tests/fsm_ack_rst_win_relaxed.cc:15
Functionmain
tests/tcp_parser.cc:26
Functionmain
tests/net_interface.cc:57
Functionmain
tests/fsm_reorder.cc:27
Functionmain
tests/fsm_winsize.cc:27
Functionmain
tests/send_close.cc:15
Functionmain
tests/send_connect.cc:14
Functionmain
tests/recv_connect.cc:14
Functionmain
tests/fsm_loopback.cc:23
Functionmain
tests/wrapping_integers_wrap.cc:13
Functionmain
tests/fsm_stream_reassembler_overlapping.cc:11
Functionmain
tests/recv_transmit.cc:16
Functionmain
tests/byte_stream_many_writes.cc:10
Functionmain
tests/fsm_stream_reassembler_many.cc:25
Functionmain
tests/byte_stream_construction.cc:9
Functionmain
tests/recv_window.cc:14
Methodmake
tests/tcp_expectation_forward.hh:50
Methodmake_not
tests/tcp_expectation_forward.hh:58
Methodmessage
\brief An error message \param[in] return_value the error return value from [getaddrinfo(3)](\ref man3::getaddrinfo) or [getnameinfo(3)](\ref man3::ge
libsponge/util/address.cc:39
Methodname
The name of the wrapped error
libsponge/util/address.cc:35
Functionoperator!=
\brief Whether the two integers are not equal.
libsponge/wrapping_integers.hh:53
Methodoperator!=
libsponge/tcp_helpers/tcp_state.cc:10
Methodoperator!=
libsponge/util/address.hh:43
Functionoperator+
\brief The point `b` steps past `a`.
libsponge/wrapping_integers.hh:59
Functionoperator-
\brief The offset of `a` relative to `b` \param b the starting point \param a the ending point \returns the number of increments needed to get from `b
libsponge/wrapping_integers.hh:47
Functionoperator==
\brief Whether the two integers are equal.
libsponge/wrapping_integers.hh:50
Methodoperator==
libsponge/tcp_helpers/tcp_header.cc:103
Methodoperator==
libsponge/tcp_helpers/tcp_state.cc:5
Methodoperator==
equality
libsponge/util/address.cc:128
Methodparse
\param[in] buffer string/Buffer to be parsed \param[in] datagram_layer_checksum pseudo-checksum from the lower-layer protocol
libsponge/tcp_helpers/tcp_segment.cc:12
Methodparse
libsponge/tcp_helpers/ethernet_frame.cc:11
Methodparse
libsponge/tcp_helpers/ethernet_header.cc:10
Methodparse
libsponge/tcp_helpers/ipv4_datagram.cc:11
Methodparse
libsponge/tcp_helpers/arp_message.cc:9
Methodparse
\param[in,out] p is a NetParser from which the IP fields will be extracted \returns a ParseResult indicating success or the reason for failure \detail
libsponge/tcp_helpers/ipv4_header.cc:23
Methodpeer_address
libsponge/tcp_helpers/tcp_sponge_socket.hh:94
Methodpeer_address
\returns the socket's peer's Address
libsponge/util/socket.cc:57
Methodproperty
tests/network_interface_test_harness.cc:25
Methodproperty
tests/byte_stream_test_harness.cc:21
Methodqueue_helper
\param[in] ipaddr the IPv4 address waits for resolving \param[in] dgram the IPv4 datagram queued to be sent push the datagram into the waiting queue r
libsponge/network_interface.cc:64
Methodread
Attempts to read and parse an IPv4 datagram containing a TCP segment related to the current connection
libsponge/tcp_helpers/tuntap_adapter.hh:22
Methodread
\brief Read from the underlying AdapterT instance, potentially dropping the read datagram \returns std::optional<TCPSegment> that is empty if the segm
libsponge/tcp_helpers/lossy_fd_adapter.hh:42
Methodread
libsponge/tcp_helpers/tuntap_adapter.cc:19
Methodread
\param[in] limit is the maximum number of bytes to read; fewer bytes may be returned \param[out] str is the string to be read
libsponge/util/file_descriptor.cc:49
Methodread
tests/tcp_fsm_test_harness.hh:47
Methodreal_send
libsponge/tcp_connection.cc:23
Methodrecv_frame
- If type is IPv4, pushes to the `datagrams_out` queue for later retrieval by the owner. - If type is ARP request, learn a mapping from the "sender" f
libsponge/router.hh:30
Methodregister_read
libsponge/util/file_descriptor.hh:48
Methodregister_write
< increment read count
libsponge/util/file_descriptor.hh:49
Methodremove_expectation
apps/network_simulator.cc:90
Methodresult_name
tests/receiver_harness.hh:180
Methodroute_one_datagram
\param[in] dgram The datagram to be routed
libsponge/router.cc:37
Methodsegment_description
tests/sender_harness.hh:291
Methodsegment_description
tests/tcp_expectation.hh:184
Methodsegment_received
libsponge/tcp_connection.cc:35
Methodsend_ARP_reply
libsponge/network_interface.cc:94
Methodsend_ARP_request
libsponge/network_interface.cc:79
Methodsend_RST
libsponge/tcp_connection.cc:114
Methodsend_helper
\param[in] MAC_addr the destination Ethernet Address \param[in] dgram the IPv4 datagram to be sent
libsponge/network_interface.cc:51
Methodsend_pending
apps/lab7.cc:79
Methodsend_pending
libsponge/tcp_helpers/tuntap_adapter.cc:51
Methodserialize
\param[in] datagram_layer_checksum pseudo-checksum from the lower-layer protocol
libsponge/tcp_helpers/tcp_segment.cc:30
Methodserialize
libsponge/tcp_helpers/ethernet_frame.cc:19
Methodserialize
libsponge/tcp_helpers/ethernet_header.cc:31
Methodserialize
libsponge/tcp_helpers/ipv4_datagram.cc:23
Methodserialize
libsponge/tcp_helpers/arp_message.cc:47
Methodserialize
Serialize the IPv4Header to a string (does not recompute the checksum)
libsponge/tcp_helpers/ipv4_header.cc:78
Methodset_ack_and_windowsize
libsponge/tcp_connection.cc:79
Methodset_error
Indicate that the stream suffered an error.
libsponge/byte_stream.hh:46
Methodset_listening
@{
libsponge/tcp_helpers/lossy_fd_adapter.hh:63
Methodset_reuseaddr
libsponge/tcp_helpers/tcp_sponge_socket.hh:95
Methodsetsockopt
libsponge/util/socket.cc:162
Methodsimulate_physical_connections
apps/network_simulator.cc:235
Methodsize
Size of the underlying address storage.
libsponge/util/address.hh:66
Methodstate_summary
libsponge/tcp_helpers/tcp_state.cc:82
Methodsubmit_a
tests/send_equivalence_checker.cc:29
Methodsubmit_b
tests/send_equivalence_checker.cc:40
Methodsummary
libsponge/tcp_helpers/ipv4_header.cc:151
Methodsupported
libsponge/tcp_helpers/arp_message.cc:41
Methodtagged_error
\brief Construct from a category, an attempt, and an error code \param[in] category is the category of error \param[in] attempt is what was supposed t
libsponge/util/util.hh:25
Methodtick
\param[in] ms_since_last_tick number of milliseconds since the last call to this method
libsponge/tcp_connection.cc:136
Methodtick
\param[in] ms_since_last_tick the number of milliseconds since the last call to this method
libsponge/network_interface.cc:179
Methodtick
< FdAdapterBase::config_mut passthrough
libsponge/tcp_helpers/lossy_fd_adapter.hh:66
Methodtick
Called periodically when time elapses
libsponge/tcp_helpers/fd_adapter.hh:42
Methodto_string
\returns A string with the header's contents
libsponge/tcp_helpers/ethernet_header.cc:65
Methodto_string
libsponge/tcp_helpers/arp_message.cc:75
Methodto_string
\returns A string with the header's contents
libsponge/tcp_helpers/ipv4_header.cc:134
Methodto_string
tests/tcp_expectation.hh:17
Methodto_string
tests/receiver_harness.hh:18
Methodto_string
tests/receiver_harness.hh:29
Methodto_string
tests/tcp_expectation_forward.hh:17
Methodto_string
tests/fsm_stream_reassembler_harness.hh:20
Methodto_string
tests/fsm_stream_reassembler_harness.hh:33
Methodunassembled_bytes
libsponge/stream_reassembler.cc:93
Methodunassembled_bytes
\brief number of bytes stored but not yet reassembled
libsponge/tcp_receiver.hh:64
Methodunix_error
brief Construct from a syscall name and the resulting errno \param[in] attempt is the name of the syscall attempted \param[in] error is the [errno(3)]
libsponge/util/util.hh:38
Methodunwrap_tcp_in_ip
\details This function attempts to parse a TCP segment from the IP datagram's payload. If this succeeds, it then checks that the received segment is
libsponge/tcp_helpers/tcp_over_ip.cc:26
← previousnext →501–600 of 633, ranked by callers