If the L4 layer wants fast response time, it might call ip_push_pending_frames after each call to ip_append_data
ssize_t sendmsg(int s, const struct msghdr *msg, int flags);
MSG_MORE (Since Linux 2.4.4)
The caller has more data to send. This flag is used with TCP sockets to obtain the same effect as the TCP_CORK socket option (see tcp(7)), with
the difference that this flag can be set on a per-call basis.
Since Linux 2.6, this flag is also supported for UDP sockets, and informs the kernel to package all of the data sent in calls with this flag set
into a single datagram which is only transmitted when a call is performed that does not specify this flag. (See also the UDP_CORK socket option
described in udp(7).)
这两个图中第1个skb对应的数据都是PMTU大小,但是PMTU不一定是8的整数倍呀?
笼统的用PMTU来表达如何分配skb的大小来存放L4层的数据,
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |