From owner-freebsd-hackers Tue Oct 8 20:55:02 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA01907 for hackers-outgoing; Tue, 8 Oct 1996 20:55:02 -0700 (PDT) Received: from coatepec.uaemex.mx ([148.215.1.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id UAA01893; Tue, 8 Oct 1996 20:54:56 -0700 (PDT) Received: from [148.215.1.249] by coatepec.uaemex.mx with SMTP (1.37.109.4/16.2) id AA06940; Tue, 8 Oct 96 22:54:46 -0400 Message-Id: <325B2035.167EB0E7@coatepec.uaemex.mx> Date: Tue, 08 Oct 1996 22:47:01 -0500 From: Isidoro Liendo Organization: Universidad Autonoma del Estado de Mexico X-Mailer: Mozilla 3.0 (X11; I; FreeBSD 2.1.5-RELEASE i386) Mime-Version: 1.0 To: questions@freebsd.org Cc: hackers@freebsd.org Subject: Interrupts and ipintr Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi... I'am trying to figure out how does FreeBSD "register" the function ipintr so that whenever a network interrupt occurs it "knows" that the funtion to be call is precisly ipintr (if the packets that arrived is and IP packet of course). I have read the code and I found a call to NETISR_SET(NETISR_IP,ipintr) in the file ip_input.c. Does this call "register" ipintr as the function to be called during the interrupt? I also have "followed" this macro to DATA_SET and the to MAKE_SET after which something called "asm()" is called. Could anybody explain me what does this function does? I appreciate the time you spent reading this email... Thank you very much....