MCPcopy Create free account

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

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

↓ 4 callersMethodpop_output
\param[in] len bytes will be removed from the output side of the buffer
libsponge/byte_stream.cc:41
↓ 4 callersFunctionrandom_router_ethernet_address
apps/lab7.cc:28
↓ 4 callersMethodremaining_outbound_capacity
libsponge/tcp_connection.cc:15
↓ 4 callersMethodremove_prefix
libsponge/util/buffer.cc:5
↓ 4 callersMethodset_blocking
libsponge/util/file_descriptor.cc:101
↓ 4 callersFunctionshow_usage
apps/tcp_udp.cc:17
↓ 4 callersFunctionshow_usage
apps/tcp_ip_ethernet.cc:20
↓ 4 callersFunctionsummary
apps/lab7.cc:40
↓ 4 callersMethodtick
apps/lab7.cc:113
↓ 4 callersMethodwrite
\param[in] buffer is the content to write to the TestFD
tests/tcp_fsm_test_harness.cc:29
↓ 3 callersFunctionappend_data
tests/tcp_expectation.hh:38
↓ 3 callersMethodas_iovecs
libsponge/util/buffer.cc:97
↓ 3 callersMethodbind
apps/lab7.cc:143
↓ 3 callersMethodclose
libsponge/util/file_descriptor.cc:21
↓ 3 callersFunctioncompare_ip_headers_nolen
tests/test_utils_ipv4.hh:6
↓ 3 callersMethodconnect
connect socket to a specified peer address \param[in] address is the peer's Address
libsponge/util/socket.cc:65
↓ 3 callersMethodconsecutive_retransmissions
libsponge/tcp_sender.cc:144
↓ 3 callersMethodlisten_and_accept
apps/lab7.cc:150
↓ 3 callersFunctionread
tests/fsm_stream_reassembler_win.cc:21
↓ 3 callersMethodrecv
\note If `mtu` is too small to hold the received datagram, this method throws a std::runtime_error
libsponge/util/socket.cc:88
↓ 3 callersMethodroute
libsponge/router.cc:65
↓ 3 callersFunctionshow_ethernet_frame
tests/test_utils.hh:12
↓ 3 callersMethodshutdown
shut down a socket in the specified way \param[in] how can be `SHUT_RD`, `SHUT_WR`, or `SHUT_RDWR`; see [shutdown(2)](\ref man2::shutdown)
libsponge/util/socket.cc:69
↓ 3 callersFunctionsummary
tests/network_interface_test_harness.cc:63
↓ 3 callersMethodtick
\param[in] ms_since_last_tick the number of milliseconds since the last call to this method
libsponge/tcp_sender.cc:129
↓ 3 callersMethodto_string
tests/fsm_stream_reassembler_harness.hh:26
↓ 3 callersMethodwait_next_event
\param[in] timeout_ms is the timeout value passed to [poll(2)](\ref man2::poll); `wait_next_event` returns Result::Timeout if no fd is ready after the
libsponge/util/eventloop.cc:61
↓ 3 callersMethodwindow_size
libsponge/tcp_receiver.cc:59
↓ 3 callersFunctionwrapping_lt
tests/fsm_reorder.cc:24
↓ 3 callersMethodwrite
Serialize a TCP segment and send it as the payload of a UDP datagram. \param[in] seg is the TCP segment to write
libsponge/tcp_helpers/fd_adapter.cc:50
↓ 2 callersMethodaccept
accept a new incoming connection \returns a new TCPSocket connected to the peer. \note This function blocks until a new connection is available
libsponge/util/socket.cc:151
↓ 2 callersMethodack_index
libsponge/stream_reassembler.cc:97
↓ 2 callersMethodack_received
\param ackno The remote receiver's ackno (acknowledgment number) \param window_size The remote receiver's advertised window size
libsponge/tcp_sender.cc:80
↓ 2 callersFunctionack_rst_syn_sent_test
in SYN_SENT, send ACK and maybe RST
tests/fsm_ack_rst_relaxed.cc:34
↓ 2 callersMethodbind
bind socket to a specified local address (usually to listen/accept) \param[in] address is a local Address to bind
libsponge/util/socket.cc:61
↓ 2 callersFunctioncheck_equivalent_segments
tests/send_equivalence_checker.cc:12
↓ 2 callersFunctioncompare_tcp_headers
tests/test_utils.hh:38
↓ 2 callersMethodfd_num
underlying descriptor number
libsponge/util/file_descriptor.hh:86
↓ 2 callersFunctioninet4_addr
apps/udp_tcpdump.cc:64
↓ 2 callersFunctioninet6_addr
apps/udp_tcpdump.cc:73
↓ 2 callersFunctioninet_cksum
tests/tcp_parser.cc:20
↓ 2 callersMethodlisten
mark the socket as listening for incoming connections \param[in] backlog is the number of waiting connections to queue (see [listen(2)](\ref man2::lis
libsponge/util/socket.cc:146
↓ 2 callersFunctionmain_loop
apps/tcp_benchmark.cc:31
↓ 2 callersFunctionmake_hints
\brief Build a `struct addrinfo` containing hints for [getaddrinfo(3)](\ref man3::getaddrinfo) \param[in] ai_flags is the value of the `ai_flags` fiel
libsponge/util/address.cc:71
↓ 2 callersFunctionmove_segments
apps/tcp_benchmark.cc:14
↓ 2 callersMethodnext_seqno
\brief relative seqno for the next byte to be sent
libsponge/tcp_sender.hh:105
↓ 2 callersMethodpayload_length
libsponge/tcp_helpers/ipv4_header.cc:112
↓ 2 callersFunctionprint_usage
apps/lab7.cc:285
↓ 2 callersMethodread
\details This function first attempts to parse a TCP segment from the next UDP payload recv()d from the socket. If this succeeds, it then checks that
libsponge/tcp_helpers/fd_adapter.cc:21
↓ 2 callersMethodsend_data
\param[in] seqno is the sequence number of the segment \param[in] ackno is the acknowledgment number of the segment \param[in] begin is an iterator to
tests/tcp_fsm_test_harness.cc:133
↓ 2 callersMethodsend_empty_segment
libsponge/tcp_sender.cc:146
↓ 2 callersFunctionsendmsg_helper
libsponge/util/socket.cc:115
↓ 2 callersMethodservice_count
libsponge/util/eventloop.cc:13
↓ 2 callersFunctionshow_usage
apps/udp_tcpdump.cc:21
↓ 2 callersMethodsize
\brief Size of the string
libsponge/util/buffer.hh:41
↓ 2 callersFunctionsocket_pair_helper
\brief Call [socketpair](\ref man2::socketpair) and return connected Unix-domain sockets of specified type \param[in] type is the type of AF_UNIX sock
libsponge/tcp_helpers/tcp_sponge_socket.cc:168
↓ 2 callersMethodtick
\param[in] ms_since_last_tick the number of milliseconds since the last call to this method
libsponge/tcp_helpers/tuntap_adapter.cc:40
↓ 2 callersFunctiontimestamp_ms
\returns the number of milliseconds since the program started
libsponge/util/util.cc:14
↓ 2 callersMethodto_string
tests/receiver_harness.hh:171
↓ 2 callersFunctionwrapping_gt
tests/fsm_reorder.cc:25
↓ 2 callersMethodwrite
\param[in] seg the TCPSegment to send
libsponge/tcp_helpers/tuntap_adapter.cc:46
↓ 1 callersMethodbytes_in_flight
libsponge/tcp_connection.cc:17
↓ 1 callersMethodbytes_read
libsponge/byte_stream.cc:81
↓ 1 callersMethodcan_read
tests/tcp_fsm_test_harness.hh:45
↓ 1 callersMethodcheck
apps/network_simulator.cc:130
↓ 1 callersFunctioncheck_arg
apps/udp_tcpdump.cc:37
↓ 1 callersMethodclosed
closed flag state
libsponge/util/file_descriptor.hh:92
↓ 1 callersFunctioncompare_ip_headers
tests/test_utils_ipv4.hh:11
↓ 1 callersMethodcopy
\brief Make a copy to a new std::string
libsponge/util/buffer.hh:44
↓ 1 callersMethoddescription
tests/sender_harness.hh:164
↓ 1 callersMethodduplicate
\returns a copy of this FileDescriptor
libsponge/util/file_descriptor.cc:45
↓ 1 callersMethodexecute
tests/receiver_harness.hh:123
↓ 1 callersMethodexecute
tests/fsm_stream_reassembler_harness.hh:114
↓ 1 callersFunctionget_URL
apps/webget.cc:9
↓ 1 callersFunctionget_config
apps/tcp_udp.cc:49
↓ 1 callersFunctionget_config
apps/tcp_ipv4.cc:55
↓ 1 callersFunctionget_config
apps/tcp_ip_ethernet.cc:51
↓ 1 callersFunctionnetwork_simulator
apps/network_simulator.cc:272
↓ 1 callersFunctionparse_arguments
apps/udp_tcpdump.cc:44
↓ 1 callersFunctionprocess_ipv4_ipv6
apps/udp_tcpdump.cc:82
↓ 1 callersFunctionprogram_body
apps/lab7.cc:159
↓ 1 callersFunctionrandom_host_ethernet_address
apps/lab7.cc:17
↓ 1 callersFunctionrandom_host_ethernet_address
apps/network_simulator.cc:13
↓ 1 callersFunctionrandom_private_ethernet_address
libsponge/tcp_helpers/tcp_sponge_socket.cc:304
↓ 1 callersMethodread_count
number of reads
libsponge/util/file_descriptor.hh:95
↓ 1 callersMethodremove_prefix
libsponge/util/parser.cc:45
↓ 1 callersMethodsend
libsponge/util/socket.cc:139
↓ 1 callersMethodset_listening
\brief Set the listening flag \param[in] l is the new value for the flag
libsponge/tcp_helpers/fd_adapter.hh:27
↓ 1 callersMethodset_reuseaddr
allow local address to be reused sooner, at the cost of some robustness \note Using `SO_REUSEADDR` may reduce the robustness of your application
libsponge/util/socket.cc:168
↓ 1 callersFunctionshow_usage
apps/tcp_native.cc:9
↓ 1 callersFunctionsummary
apps/network_simulator.cc:46
↓ 1 callersMethodtime_since_last_segment_received
libsponge/tcp_connection.cc:21
↓ 1 callersMethodwrite_count
number of writes
libsponge/util/file_descriptor.hh:98
MethodAckReceived
tests/sender_harness.hh:195
MethodAddress
\param[in] addr points to a raw socket address \param[in] size is `addr`'s length
libsponge/util/address.cc:22
MethodAsyncNetworkInterface
Construct from a NetworkInterface
libsponge/router.hh:21
MethodAtEof
tests/fsm_stream_reassembler_harness.hh:107
MethodBuffer
libsponge/util/buffer.hh:20
MethodBufferEmpty
BufferEmpty
tests/byte_stream_test_harness.cc:116
MethodBufferList
libsponge/util/buffer.hh:64
← previousnext →101–200 of 633, ranked by callers