From owner-freebsd-net Mon Mar 25 13:17:53 2002 Delivered-To: freebsd-net@freebsd.org Received: from mave.nlanr.net (mave.nlanr.net [198.202.74.38]) by hub.freebsd.org (Postfix) with ESMTP id AC97637B417 for ; Mon, 25 Mar 2002 13:17:50 -0800 (PST) Received: from localhost (mjl@localhost) by mave.nlanr.net (8.11.1/8.11.1) with ESMTP id g2PLHoE88874 for ; Mon, 25 Mar 2002 13:17:50 -0800 (PST) (envelope-from mjl@nlanr.net) X-Authentication-Warning: mave.nlanr.net: mjl owned process doing -bs Date: Mon, 25 Mar 2002 13:17:50 -0800 (PST) From: Matthew Luckie To: freebsd-net@freebsd.org Subject: ip_output and ENOBUFS Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi I have written a syscall that creates a packet in kernel-space, timestamps it, and then sends it via ip_output If the user-space application uses this system call faster than the packets can be sent, ip_output will return ENOBUFS. Is there a mechanism to tell when ip_output should be called again? Ideally, I would block until such time as i could send it via ip_output (please CC: me on any responses) Matthew Luckie mjl@nlanr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message