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

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

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

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

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

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

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

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

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

CPR曲面重建代码

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

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

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

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

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

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

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

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

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

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

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

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

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

浅谈逻辑控制器之while控制器

浅谈逻辑控制器之while控制器 “While控制器”是一种高级控制结构,它允许用户基于特定条件来循环执行其下的子采样器或控制器,直至该条件不再满足。本文旨在详细介绍While控制器的功能、配置方法、使用场景以及实践示例,帮助测试工程师高效利…

工信部中小企业局一行莅临盘古信息调研指导

近日,中小企业数字化转型城市试点调研交流活动在广东东莞举行,工业和信息化部中小企业局副局长商超,广东工业和信息化厅二级巡视员张振祥,工业和信息化部中小企业局创业创新处处长李海涛,东莞市委常委、副市长刘光滨&a…

泵设备的监测控制和智慧运维

泵是一种输送流体或使流体增压的机械。它通过各种工作原理(如离心、柱塞等)将机械能转换为流体的动能或压力能,从而实现液体的输送、提升、循环等操作。 泵的一些具体应用场景: 1.智能水务:在城市供水管网中&#xff…

python turtle 002代码表白

代码:pythonturtle002表白资源-CSDN文库 # 作者V w1933423 import turtle import mathdef draw_love():# 创建turtle画笔t turtle.pen()t turtle# 提起画笔,移动到起始位置t.up()t.goto(0, 150)t.down()# 设置颜色并开始填充t.color(red)t.begin_fill…

​中国9大流域地图SHP数据

九大流域片区是指中国境内九个主要流域片区。 分别包括东南诸河区、内陆河区、松辽河流区、海河流域区、淮河流域区、珠江流域片、西南诸河片、长江流域片和黄河流域片等。 如果这九大流域数据对你有用,请在文末查看该数据的领取方法。 中国9大流域图 流域&…

jeecg启动微服务并注册到本地nacos

1、maven勾选环境和微服务模式,并刷新 2、pom文件修改nacos注册地址 3、本地启nacos gateway 和自己想要的cloud下面的模块pos sys 4、打断点测试接口,访问gateway端口和想要测试的地址

【数据结构】线性表之《队列》超详细实现

队列 一.队列的概念及结构二.顺序队列与链队列1.顺序队列2.链队列 三.链队列的实现1.创建队列2.初始化队列3.入队4.出队5.获取队头元素6.获取队尾元素7.队列的大小8.队列的判空9.清空队列10.销毁队列 四.队列的盲区五.模块化源代码1.Queue.h2.Queue.c3.test.c 六.栈和队列必做O…

unity-调用讯飞星火语音唤醒-新版windowsSDK

调用讯飞星火语音唤醒-新版windowsSDK 先贴一张在unity中 wins系统下成功调用新版的讯飞windowsSDK的运行截图 为什么要用讯飞的语音唤醒? 项目中需要在unity和win系统下进行语音唤醒开启语音对话,而语音唤醒比较成熟的方案大多都是在linux系统下的&…