From: linux lover <linux_lover2004@yahoo.com>
To: linuxkernel <linux-kernel@vger.kernel.org>
Cc: linuxnet <linux-net@vger.kernel.org>
Subject: tcp_sendmsg working
Date: Tue, 8 Jun 2004 23:50:40 -0700 (PDT) [thread overview]
Message-ID: <20040609065040.5847.qmail@web52205.mail.yahoo.com> (raw)
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
reply other threads:[~2004-06-09 6:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040609065040.5847.qmail@web52205.mail.yahoo.com \
--to=linux_lover2004@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-net@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®