Zonghua Gu wrote:

> I noticed that the output functions of TCP and UDP call different IP layer
> functions.
> udp_sendmsg calls ip_build_xmit (calls ip_build_xmit_slow to fragment the
> msg)
> tcp_send_skb calls ip_queue_xmit (calls ip_fragment to fragment the msg)
>
> Seems to me ip_build_xmit and ip_queue_xmit are doing the essentially the
> same thing, so why two different functions?
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]

This is probably due to the fundamental difference between TCP and UDP.  TCP
will send and make sure it got there while UDP just sends and assumes it got
there.

--
Jim Gleason
Site2Site Networking
[EMAIL PROTECTED]



-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to