From owner-freebsd-net@FreeBSD.ORG Mon Mar 19 20:06:01 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 07C6E16A400 for ; Mon, 19 Mar 2007 20:06:01 +0000 (UTC) (envelope-from unixero@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id 8FABB13C4BD for ; Mon, 19 Mar 2007 20:06:00 +0000 (UTC) (envelope-from unixero@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so19175nfc for ; Mon, 19 Mar 2007 13:05:59 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:subject:message-id:x-mailer:mime-version:content-type:content-transfer-encoding; b=IC9L50srjW37nVBKM1ktY6d/58kgNRjWrGZgKw7soreInHveF491brfvQyFWtXM25iHWaiIGdMWrdDv/V7i6oR5yLryBSY4s+qlNd4JBOEBloem9hkLqer4KHhzIFYLeNpPER+N+LEl0V6XM8QKvuQr8xi5bW+uVCTuQrrLMaaM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:x-mailer:mime-version:content-type:content-transfer-encoding; b=dkWHqHpgzueDlZ3yKd71poyXD/vEzMmzrO7r0lX+q7RuwznBknhmkkjZNsbcX5axNB709MsJW1s/s/NN1654Uy1pJ1u1y7+KEEPuS90x1Lzw8+aqunegltdPxw765axJG01Rp7wZuS3EpkhzRGRRLD4NyQMuU9FPf/QgKGXt+vY= Received: by 10.78.160.2 with SMTP id i2mr2616874hue.1174333026111; Mon, 19 Mar 2007 12:37:06 -0700 (PDT) Received: from debian ( [87.5.215.184]) by mx.google.com with ESMTP id k23sm57084nfc.2007.03.19.12.37.04; Mon, 19 Mar 2007 12:37:05 -0700 (PDT) Date: Mon, 19 Mar 2007 20:37:09 +0100 From: Ignacio Rey To: freebsd-net@freebsd.org Message-ID: <20070319203709.1272a470@debian> X-Mailer: Sylpheed-Claws 1.0.5 (GTK+ 1.2.10; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: networking code and splx() X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2007 20:06:01 -0000 Hello everyone, I'm studying a bit the FreeBSD networking code. I've read "TCP/IP illustrated vol 2" by G. R. Wright and W. R. Stevens, which describes code in 4.4BSD-lite. Now I'm taking a look at FreeBSD 6.2 release. Some things are different, many others kept the same. What I'm confused about is that in 4.4BSD there are many calls to the splx() family of functions, and I didn't see any of them in the networking code in FreeBSD. However the 'grep' program showed me that they are used in other parts of the kernel. The question is: Have calls to these functions been wrapped? or are they simply not used in this context? Thanks in advance, Ignacio