mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* tcp_sendmsg working
@ 2004-06-09  6:50 linux lover
  0 siblings, 0 replies; only message in thread
From: linux lover @ 2004-06-09  6:50 UTC (permalink / raw)
  To: linuxkernel; +Cc: linuxnet


hello,
how tcp_sendmsg add message from application layer to
socket buffer skb? 

i am unable to find message field in msghdr help me.
struct msghdr {
        void    *       msg_name;       /* Socket name
                 
*/
        int             msg_namelen;    /* Length of
name               
*/
        struct iovec *  msg_iov;        /* Data blocks
                 
*/
        __kernel_size_t msg_iovlen;     /* Number of
blocks             
*/
        void    *       msg_control;    /* Per
protocol magic (eg BSD 
file descriptor passing) */
        __kernel_size_t msg_controllen; /* Length of
cmsg list */
        unsigned        msg_flags;
};
also what is use of struct iovec? is that store actual
data? if yes then how that is included in socket
buffer?

regards,
linux_lover



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-09  6:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-09  6:50 tcp_sendmsg working linux lover

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®