From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 17 13:10:38 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36F5716A4ED for ; Thu, 17 Aug 2006 13:10:38 +0000 (UTC) (envelope-from shriek.007@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00BEC43EDD for ; Thu, 17 Aug 2006 13:06:30 +0000 (GMT) (envelope-from shriek.007@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so297266nzn for ; Thu, 17 Aug 2006 06:06:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=bi96EcZUL84uuRg7ji/jJZtbycJvK1QanFkXa0tImL5is6DCwXJwlsm3JtJWU3KyqLBXqCU8JD2aQf6WvCNJ8SXT8F4UKvx8uo0dsKG+uSM7Gpvf0n7Oby/k9ucJLfrMlte/dqMb7+Ztm34du/mAXSivH80GD1ZagPzRihHOTyc= Received: by 10.65.97.18 with SMTP id z18mr2127592qbl; Thu, 17 Aug 2006 06:06:23 -0700 (PDT) Received: by 10.64.3.15 with HTTP; Thu, 17 Aug 2006 06:06:23 -0700 (PDT) Message-ID: <3ce33f6c0608170606o2f8542fcn15355a5afe3307a5@mail.gmail.com> Date: Thu, 17 Aug 2006 18:36:23 +0530 From: Shriek To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Is it possible to trace the routing socket messages going from the kernel to a particular daemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 13:10:38 -0000 Is it possible that we can add some loadable module into the kernel to get a pid of a daemon-process and then somehow trace routing socket messages coming in / going out from the kernel to that particular daemon ? The thing why I am in need of this is that there are two daemons , one daemon is responsible for configuring the interfaces ...and the second is actually awaiting the updates from the kernel ( that it should send in case it sees that there is a change in the ifstate for the interface ---IFD update) ... any resources / material would be of great help.Thanks and regards.