Re: two questions

From: Matthias Urlichs
Date: Sat Jul 03 2004 - 08:52:52 EST


Hi, kartikey bhatt wrote:

> (1) in bsd when a socket is created, the process
> creating the socket is passed as a structure
> to so_create call. in linux how can we have
> this mechanism by which when a socket is created
> we can access the task_t of the process creating the
> socket?
>
> (2) given the sk_buff* how to lookup the associated
> socket?
>
Those questions imply that you want to do "something".
Please tell us what that "something" is.

--
Matthias Urlichs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/