On Tue, 1 Feb 2000 [EMAIL PROTECTED] wrote:
>
> Hi, Folks:
>
> I got confuse on the Linux kernel study. Can anyone help me out there?
>
> MY problem is here */
> /*****************************************/
> err=sock->ops->sendmsg(sock, &msg, len, (sock->file->f_flags &
> O_NONBLOCK), flags);
>
> /***** WHat/where is the function sock->ops->sendmsg() definition on the
> kernel source tree?
> */
>
> I know that sock->ops is the sturct to define the function point of a lot
> of function call; However I can not understand/find the define of
> sendmsg().
>
I am not sure, but I feel that if, for eg, you have a
UDP socket, inet_sendmsg() [net/ipv4/af_inet.c] may get called, which
may then invoke udp_sendmsg() [net/ipv4/udp.c]. Please correct me
if I am mistaken.
pramode.
>
> Can any help me? TIA.
>
> C.L.
>
>
>
>
> --------------------------------------------------------------------
> The Linux India Mailing List Archives are now available. Please search
> the archive at http://lists.linux-india.org/ before posting your question
> to avoid repetition and save bandwidth.
>
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available. Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.