Function report |
Source Code:include\net\tcp.h |
Create Date:2022-07-28 06:42:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Bound MSS / TSO packet size with the half of the window
Proto:static inline int tcp_bound_to_half_wnd(struct tcp_sock *tp, int pktsize)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct tcp_sock * | tp | |
int | pktsize |
635 | If Maximal window ever seen from peer > IPv4 (RFC1122, RFC2581) Then cutoff = Maximal window ever seen from peer >> 1 |
637 | Else cutoff = Maximal window ever seen from peer |
640 | If cutoff && pktsize > cutoff Then Return max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(int, cutoff, 68U - Bytes of tcp header to send ) |
642 | Else Return pktsize |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |