【linux】TCP交流状态变迁及一些函数调用

代码 

登录 - Gitee.comicon-default.png?t=N7T8https://gitee.com/r77683962/linux-6.9.0/commit/50bb00d844b9423c9bacf44d9b06604fab941686

https://gitee.com/r77683962/linux-6.9.0/raw/50bb00d844b9423c9bacf44d9b06604fab941686/dmesg_log/kern_tcp_with_state.log

从打印的日志,搜索关键字“TCP:”,把一些重复的信息去掉后(其实还不如直接用sed命令),CSDN排版可能不太好看,自已电脑可以使用 notepad++这类工具查看比较好,主要关注sk->sk_state这个字段,后边的状态数字来源这个枚举: 

include\net\tcp_states.h

enum {
    TCP_ESTABLISHED = 1,
    TCP_SYN_SENT,  2
    TCP_SYN_RECV,  3
    TCP_FIN_WAIT1,  4
    TCP_FIN_WAIT2,  5
    TCP_TIME_WAIT,  6
    TCP_CLOSE,   7
    TCP_CLOSE_WAIT,  8
    TCP_LAST_ACK,   9
    TCP_LISTEN,   10
    TCP_CLOSING,    /* Now a valid state */ 11
    TCP_NEW_SYN_RECV,   12
    TCP_BOUND_INACTIVE, /* Pseudo-state for inet_diag */   13

    TCP_MAX_STATES    /* Leave at the end! */
};

节选日志(状态很多都是1:TCP_ESTABLISHED ):

2024-06-18T18:46:48.944354: net/ipv4/tcp_output.c tcp_connect TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:48.944355: net/ipv4/tcp_output.c tcp_connect_init TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 2
2024-06-18T18:46:48.944357: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 2
2024-06-18T18:46:48.959320: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:48.959323: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:48.959325: net/ipv4/tcp_input.c tcp_rcv_state_process TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688,  sk->sk_state: 2
2024-06-18T18:46:48.959328: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:48.959329: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:48.966556: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.007577: net/ipv4/tcp.c tcp_sendmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.007579: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.007580: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.007582: net/ipv4/tcp_output.c tcp_event_data_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.007584: net/ipv4/tcp_output.c tcp_event_new_data_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.009248: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.029118: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.030464: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.030494: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.030509: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.030512: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.030514: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.031281: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.031310: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.031313: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.031316: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.031318: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.031322: message repeated 2 times: [ net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688]
2024-06-18T18:46:49.031323: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.031329: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.031340: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.031346: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.031985: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.032024: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.032035: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.032037: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.032038: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.032039: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.032040: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.037550: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.040197: message repeated 4 times: [ net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688]
2024-06-18T18:46:49.040198: net/ipv4/tcp.c tcp_sendmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.040230: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.040232: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.040233: net/ipv4/tcp_output.c tcp_event_data_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.040234: net/ipv4/tcp_output.c tcp_event_new_data_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.058632: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.058779: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.059284: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.059309: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.059312: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.059313: net/ipv4/tcp_output.c tcp_send_delayed_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.059321: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.060316: message repeated 5 times: [ net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688]
2024-06-18T18:46:49.060317: net/ipv4/tcp.c tcp_sendmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.060332: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.060333: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.060334: net/ipv4/tcp_output.c tcp_event_data_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.060335: net/ipv4/tcp_output.c tcp_event_new_data_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.062162: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.090562: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.107841: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.107873: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.107875: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.107877: net/ipv4/tcp_output.c tcp_send_delayed_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.107879: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.108478: message repeated 2 times: [ net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688]
2024-06-18T18:46:49.108526: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.108559: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.108561: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.108563: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.109274: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.109317: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.111113: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.111151: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.111173: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.111176: net/ipv4/tcp_output.c tcp_send_delayed_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.111178: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.111179: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.111180: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.111181: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.111909: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.111940: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.111943: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.111947: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.111960: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.111962: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.111963: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.112184: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.112192: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.112193: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.112194: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.112196: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.112197: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.113065: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.114830: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.116221: message repeated 3 times: [ net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688]
2024-06-18T18:46:49.116236: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.116253: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.116255: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.116256: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.116257: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.116258: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.117238: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.128304: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.128338: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.128341: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.128343: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.128359: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.128361: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.128362: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.128363: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.128365: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.128366: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.128374: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.128375: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.128377: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.128382: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.129211: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.129224: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.129226: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.129228: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.129229: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.129230: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.129231: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.129232: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.129233: net/ipv4/tcp_output.c tcp_send_delayed_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.129235: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.129235: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.129236: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.129238: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.129239: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.129242: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.129243: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.129244: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.129245: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.129246: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.129247: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.129255: message repeated 3 times: [ net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688]
2024-06-18T18:46:49.138310: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.138311: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.138313: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.138314: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.139195: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.139219: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.139232: net/ipv4/tcp.c tcp_recvmsg TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688
2024-06-18T18:46:49.139237: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.139240: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.139247: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.139250: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.140322: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.140371: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.140375: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.140376: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.140378: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.140379: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.140382: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.140384: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.140385: net/ipv4/tcp_output.c tcp_send_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.140388: net/ipv4/tcp_output.c __tcp_transmit_skb TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.140390: net/ipv4/tcp_output.c tcp_event_ack_sent TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.140392: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.140394: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 
2024-06-18T18:46:49.140396: net/ipv4/tcp_output.c tcp_send_delayed_ack TCP: sk->sk_family: 2, sk->sk_portpair: 2304948993, sk->sk_dport: 47873, sk->sk_daddr: 2637854922,  sk->sk_rcv_saddr: 1979754688, sk->sk_state: 1
2024-06-18T18:46:49.140397: net/ipv4/tcp_ipv4.c tcp_v4_rcv TCP: 
2024-06-18T18:46:49.140399: net/ipv4/tcp_ipv4.c tcp_v4_do_rcv TCP: 

从wget这个操作来看tcp_recvmsg出现了1424次:

tcp_sendmsg 出现了3次:

感觉TCP那个状态机,感觉看着有点乱。。。。 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/bicheng/34738.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

类的默认成员函数——拷贝构造函数

1.概念引入 在现实生活中,如果有两个兄弟长得一模一样,我们就称其为双胞胎 当我们创建了一个新的对象,需要用同类型的对象拷贝并初始化,就要用到拷贝构造函数 拷贝构造函数:只有单个形参,该形参是对本类类…

mybatis-plus高级功能之实现自定义通用方法

前言 MP在一开始就给大家提供了很多通用的方法,在DefaultSqlInjector这个类中,在MethodList这个集合当中包含的都是通用方法类,如果想要使用自定义通用方法,也需要添加到这个集合当中。 public class DefaultSqlInjector extends…

JavaScript学习笔记(三)

19、JavaScript 数组排序 19.1 数组排序&#xff1a;sort() sort() 方法以字母顺序对数组进行排序&#xff1a; <p id"demo"></p><script>var cars01 ["Apple", "City", "Dog", "Bad"];document.getEl…

《梦醒蝶飞:释放Excel函数与公式的力量》 5.2VLOOKUP函数

第二节 5.2VLOOKUP函数 HLOOKUP函数&#xff1a;水平查找的能手&#xff0c;在Excel中&#xff0c;HLOOKUP函数&#xff08;Horizontal Lookup的缩写&#xff09;是执行水平查找的函数&#xff0c;它允许你根据一个关键值在表格的第一行中查找&#xff0c;并返回同一列中另一个…

模组硬件通用丨模组USB电路设计指南

USB&#xff08;全称&#xff1a;Universal Serial Bus&#xff09;是一种串口总线标准&#xff0c;也是一种输入输出接口的技术规范&#xff0c;广泛应用于个人电脑和移动设备等信息通讯产品&#xff0c;并扩展至摄影器材、数字电视&#xff08;机顶盒&#xff09;、游戏机等相…

本地可以Run大模型吗?Llama3?安排!

➡️ 前言 本地可以跑大模型吗? ChatGPT发布之后&#xff0c;引起了AI领域剧烈震动&#xff0c;从2023年3月百度发布新一代大预言模型文心一言开始&#xff0c;大模型如雨后春笋般不断涌现&#xff0c;国内阿里巴巴的通义千问、华为的盘古大模型、科大讯飞的星火认知大模型、…

木材容易发霉怎么办除霉处理方法

木材存放不当就容易出现发霉情况&#xff0c;那么可通过那些方法将木材表面的霉斑除掉呢&#xff1f;经ihaoer防霉人士介绍处理木材发霉处理方法如下&#xff1a; 木材发霉的原因主要包括木材本身的营养物质、环境湿度、温度以及空气流动性等因素。木材中含有蛋白质、淀粉、油类…

【面试题】Linux 下 MakeFile(第一篇)

1.请简单介绍Makefile是什么&#xff1f; Makefile是用于编译和管理项目的一组规则和指令。它保存了编译器和连接器的参数选项&#xff0c;还表述了所有源文件之间的关系&#xff08;如源代码文件需要的特定包含文件&#xff0c;可执行文件要求包含的目标文件模块及库等&#x…

CPR曲面重建代码

废话不说&#xff0c;直接上代码&#xff1a; #include "vtkAutoInit.h" #include "vtkPolyData.h" #include "vtkProbeFilter.h" #include "vtkParametricFunctionSource.h" #include "vtkParametricSpline.h" #include &…

基于Java微信小程序校园自助打印系统设计和实现(源码+LW+调试文档+讲解等)

&#x1f497;博主介绍&#xff1a;✌全网粉丝10W,CSDN作者、博客专家、全栈领域优质创作者&#xff0c;博客之星、平台优质作者、专注于Java、小程序技术领域和毕业项目实战✌&#x1f497; &#x1f31f;文末获取源码数据库&#x1f31f;感兴趣的可以先收藏起来&#xff0c;还…

2024年江苏省13市科技企业上市培育计划入库企业申报条件程序和截止时间

一、江苏省13市科技企业上市培育计划入库企业申报条件 1.企业属于有效期内高新技术企业&#xff0c;申报时须在我省行政区域内成立三年以上&#xff0c;经营状况良好&#xff0c;已设立或拟设立为股份有限公司&#xff0c;且尚未在主板、创业板、科创板、北证上市或在“新三板…

计算机网络知识点(八)

目录 一、简述HTTP常见的响应状态码及其含义 1、解析 2、分类 二、简述GET请求和POST请求的区别 三、简述Cookie和Session的区别 四、简述HTTPS的加密与认证过程 一、简述HTTP常见的响应状态码及其含义 1、解析 ①200&#xff1a;从状态码发出的请求被服务器正常处理。 …

【开源项目】智慧北京案例~超经典实景三维数字孪生智慧城市CIM/BIM数字孪生可视化项目——开源工程及源码!

飞渡科技数字孪生北京管理平台&#xff0c; 依托实景数字孪生底座&#xff0c;以城市感知网络为硬件基础&#xff0c;以城市大数据为核心资源&#xff0c;以数字孪生、云计算、人工智能为关键技术&#xff0c;实现城市产业规划、资产安全管理、城市能耗监控等一体化空间融合。 …

CP AUTOSAR标准之FlexRayStateManager(AUTOSAR_CP_SWS_FlexRayStateManager)(更新中……)

1 简介和功能概述 该规范描述了AUTOSAR基础软件模块FlexRay状态管理器(FrSM)的功能、API和配置。   AUTOSAR BSW堆栈为每条通信总线指定一个总线特定状态管理器。该模块应实现相应总线的控制流。FrSM是通信服务层的成员。它与通信硬件抽象层和系统服务层交互。 3 相关文献 …

基于电商模式的性能测试(2) —— 使用Jmeter参数化功能+JSR223 PreProcessor+JSON Extractor完成注册登录的数据驱动

1、前置条件 此例使用的是GitHub上一个开源的电商项目mall&#xff0c;需要的可以去GitHub上下载部署&#xff0c;有详细的部署教程&#xff1a; GitHub地址&#xff1a;github.com/macrozheng/…部署教程&#xff1a;macrozheng.github.io/mall-learni… 2、场景抽离 首先要…

C#的无边框窗体项目模板 - 开源研究系列文章

继续整理和编写代码及博文。 这次将笔者自己整理的C#的无边框窗体项目的基本模板进行总结&#xff0c;得出了基于C#的.net framework的Winform的4个项目模板&#xff0c;这些模板具有基本的功能&#xff0c;即已经初步将代码写了&#xff0c;直接在其基础上添加业务代码即可&am…

java实现一个图的最短路径算法

import java.util.*; //java实现一个图的最短路径算法 public class Test_34 { // 定义一个常量INF&#xff0c;表示无穷大。private static final int INF Integer.MAX_VALUE; // 定义一个方法dijkstra&#xff0c;接受一个二维数组图和一个起始节点作为参数。public s…

七牛云 Miku 快直播,陪你一起看球!

足球&#xff0c;作为全球最受欢迎的运动之一&#xff0c;每一次大赛都是球迷心中的狂欢&#xff0c;每一场比赛都记录着足球历史的精彩。 2000 年&#xff0c;特雷泽盖的金球&#xff0c;照亮了法兰西的足球梦想。 2004 年&#xff0c;查理斯特亚斯的头槌破门&#xff0c;成就…

小甲鱼——集合

一什么是集合 type({}) <class dict> #字典 type({"one"}) <class set> #集合type({"one":1}) <class dict> #字典 跟集合一样&#xff0c;字典最大的特性就是——唯一性 即&#xff1a;集合中的所有元素&#xff0c;都应该是独…

第15天:Vue.js应用的测试和调试

第15天&#xff1a;Vue.js应用的测试和调试 目标 学习Vue.js应用的测试和调试方法&#xff0c;包括E2E&#xff08;端到端&#xff09;测试和单元测试。 任务概览 学习单元测试基础。探索E2E测试框架。实现Vue组件的测试。 详细步骤 1. 单元测试基础 单元测试是对应用中…