Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PKUFlyingPig/CS144-Computer-Network
/ functions
Functions
633 in github.com/PKUFlyingPig/CS144-Computer-Network
⨍
Functions
633
◇
Types & classes
190
Function
main
tests/fsm_loopback_win.cc:23
Function
main
tests/fsm_passive_close.cc:16
Function
main
tests/recv_special.cc:14
Function
main
tests/fsm_ack_rst_win_relaxed.cc:15
Function
main
tests/tcp_parser.cc:26
Function
main
tests/net_interface.cc:57
Function
main
tests/fsm_reorder.cc:27
Function
main
tests/fsm_winsize.cc:27
Function
main
tests/send_close.cc:15
Function
main
tests/send_connect.cc:14
Function
main
tests/recv_connect.cc:14
Function
main
tests/fsm_loopback.cc:23
Function
main
tests/wrapping_integers_wrap.cc:13
Function
main
tests/fsm_stream_reassembler_overlapping.cc:11
Function
main
tests/recv_transmit.cc:16
Function
main
tests/byte_stream_many_writes.cc:10
Function
main
tests/fsm_stream_reassembler_many.cc:25
Function
main
tests/byte_stream_construction.cc:9
Function
main
tests/recv_window.cc:14
Method
make
tests/tcp_expectation_forward.hh:50
Method
make_not
tests/tcp_expectation_forward.hh:58
Method
message
\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
Method
name
The name of the wrapped error
libsponge/util/address.cc:35
Function
operator!=
\brief Whether the two integers are not equal.
libsponge/wrapping_integers.hh:53
Method
operator!=
libsponge/tcp_helpers/tcp_state.cc:10
Method
operator!=
libsponge/util/address.hh:43
Function
operator+
\brief The point `b` steps past `a`.
libsponge/wrapping_integers.hh:59
Function
operator-
\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
Function
operator==
\brief Whether the two integers are equal.
libsponge/wrapping_integers.hh:50
Method
operator==
libsponge/tcp_helpers/tcp_header.cc:103
Method
operator==
libsponge/tcp_helpers/tcp_state.cc:5
Method
operator==
equality
libsponge/util/address.cc:128
Method
parse
\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
Method
parse
libsponge/tcp_helpers/ethernet_frame.cc:11
Method
parse
libsponge/tcp_helpers/ethernet_header.cc:10
Method
parse
libsponge/tcp_helpers/ipv4_datagram.cc:11
Method
parse
libsponge/tcp_helpers/arp_message.cc:9
Method
parse
\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
Method
peer_address
libsponge/tcp_helpers/tcp_sponge_socket.hh:94
Method
peer_address
\returns the socket's peer's Address
libsponge/util/socket.cc:57
Method
property
tests/network_interface_test_harness.cc:25
Method
property
tests/byte_stream_test_harness.cc:21
Method
queue_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
Method
read
Attempts to read and parse an IPv4 datagram containing a TCP segment related to the current connection
libsponge/tcp_helpers/tuntap_adapter.hh:22
Method
read
\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
Method
read
libsponge/tcp_helpers/tuntap_adapter.cc:19
Method
read
\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
Method
read
tests/tcp_fsm_test_harness.hh:47
Method
real_send
libsponge/tcp_connection.cc:23
Method
recv_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
Method
register_read
libsponge/util/file_descriptor.hh:48
Method
register_write
< increment read count
libsponge/util/file_descriptor.hh:49
Method
remove_expectation
apps/network_simulator.cc:90
Method
result_name
tests/receiver_harness.hh:180
Method
route_one_datagram
\param[in] dgram The datagram to be routed
libsponge/router.cc:37
Method
segment_description
tests/sender_harness.hh:291
Method
segment_description
tests/tcp_expectation.hh:184
Method
segment_received
libsponge/tcp_connection.cc:35
Method
send_ARP_reply
libsponge/network_interface.cc:94
Method
send_ARP_request
libsponge/network_interface.cc:79
Method
send_RST
libsponge/tcp_connection.cc:114
Method
send_helper
\param[in] MAC_addr the destination Ethernet Address \param[in] dgram the IPv4 datagram to be sent
libsponge/network_interface.cc:51
Method
send_pending
apps/lab7.cc:79
Method
send_pending
libsponge/tcp_helpers/tuntap_adapter.cc:51
Method
serialize
\param[in] datagram_layer_checksum pseudo-checksum from the lower-layer protocol
libsponge/tcp_helpers/tcp_segment.cc:30
Method
serialize
libsponge/tcp_helpers/ethernet_frame.cc:19
Method
serialize
libsponge/tcp_helpers/ethernet_header.cc:31
Method
serialize
libsponge/tcp_helpers/ipv4_datagram.cc:23
Method
serialize
libsponge/tcp_helpers/arp_message.cc:47
Method
serialize
Serialize the IPv4Header to a string (does not recompute the checksum)
libsponge/tcp_helpers/ipv4_header.cc:78
Method
set_ack_and_windowsize
libsponge/tcp_connection.cc:79
Method
set_error
Indicate that the stream suffered an error.
libsponge/byte_stream.hh:46
Method
set_listening
@{
libsponge/tcp_helpers/lossy_fd_adapter.hh:63
Method
set_reuseaddr
libsponge/tcp_helpers/tcp_sponge_socket.hh:95
Method
setsockopt
libsponge/util/socket.cc:162
Method
simulate_physical_connections
apps/network_simulator.cc:235
Method
size
Size of the underlying address storage.
libsponge/util/address.hh:66
Method
state_summary
libsponge/tcp_helpers/tcp_state.cc:82
Method
submit_a
tests/send_equivalence_checker.cc:29
Method
submit_b
tests/send_equivalence_checker.cc:40
Method
summary
libsponge/tcp_helpers/ipv4_header.cc:151
Method
supported
libsponge/tcp_helpers/arp_message.cc:41
Method
tagged_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
Method
tick
\param[in] ms_since_last_tick number of milliseconds since the last call to this method
libsponge/tcp_connection.cc:136
Method
tick
\param[in] ms_since_last_tick the number of milliseconds since the last call to this method
libsponge/network_interface.cc:179
Method
tick
< FdAdapterBase::config_mut passthrough
libsponge/tcp_helpers/lossy_fd_adapter.hh:66
Method
tick
Called periodically when time elapses
libsponge/tcp_helpers/fd_adapter.hh:42
Method
to_string
\returns A string with the header's contents
libsponge/tcp_helpers/ethernet_header.cc:65
Method
to_string
libsponge/tcp_helpers/arp_message.cc:75
Method
to_string
\returns A string with the header's contents
libsponge/tcp_helpers/ipv4_header.cc:134
Method
to_string
tests/tcp_expectation.hh:17
Method
to_string
tests/receiver_harness.hh:18
Method
to_string
tests/receiver_harness.hh:29
Method
to_string
tests/tcp_expectation_forward.hh:17
Method
to_string
tests/fsm_stream_reassembler_harness.hh:20
Method
to_string
tests/fsm_stream_reassembler_harness.hh:33
Method
unassembled_bytes
libsponge/stream_reassembler.cc:93
Method
unassembled_bytes
\brief number of bytes stored but not yet reassembled
libsponge/tcp_receiver.hh:64
Method
unix_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
Method
unwrap_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
← previous
next →
501–600 of 633, ranked by callers