two questions

From: kartikey bhatt
Date: Sat Jul 03 2004 - 07:56:42 EST


i have two questions if anyone can help me out?

(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?

please help me out.

--kartikey

_________________________________________________________________
Get FREE unlimited Citibank ATM transactions! http://go.msnserver.com/IN/52040.asp Discover real-value banking here.

-
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/