From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265110AbUGCNvh (ORCPT ); Sat, 3 Jul 2004 09:51:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265112AbUGCNve (ORCPT ); Sat, 3 Jul 2004 09:51:34 -0400 Received: from run.smurf.noris.de ([192.109.102.41]:53968 "EHLO server.smurf.noris.de") by vger.kernel.org with ESMTP id S265110AbUGCNvc (ORCPT ); Sat, 3 Jul 2004 09:51:32 -0400 To: linux-kernel@vger.kernel.org Path: not-for-mail From: Matthias Urlichs Newsgroups: smurf.list.linux.kernel Subject: Re: two questions Date: Sat, 03 Jul 2004 15:47:18 +0200 Organization: {M:U} IT Consulting Message-ID: References: NNTP-Posting-Host: kiste.smurf.noris.de Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: server.smurf.noris.de 1088862438 24172 192.109.102.35 (3 Jul 2004 13:47:18 GMT) X-Complaints-To: smurf@noris.de NNTP-Posting-Date: Sat, 3 Jul 2004 13:47:18 +0000 (UTC) To: kartik_me@hotmail.com (kartikey bhatt) User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) X-Face: '&-&kxR\8+Pqalw@VzN\p?]]eIYwRDxvrwEM (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