Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 3 Feb 2002 20:34:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 3 Feb 2002 20:34:41 -0500 Received: from mailout05.sul.t-online.com ([194.25.134.82]:1674 "EHLO mailout05.sul.t-online.com") by vger.kernel.org with ESMTP id ; Sun, 3 Feb 2002 20:34:22 -0500 To: landley@trommello.org (Rob Landley) Cc: linux-kernel@vger.kernel.org Subject: Re: packet created by local raw socket In-Reply-To: <20020204005015.DXSW15583.femail44.sdc1.sfba.home.com@there> From: Andi Kleen Date: 04 Feb 2002 02:34:10 +0100 In-Reply-To: landley@trommello.org's message of "Mon, 4 Feb 2002 00:52:43 +0000 (UTC)" Message-ID: Lines: 12 User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org landley@trommello.org (Rob Landley) writes: > If you asked for a raw socket, the system won't append an IP header to it for > you. You asked it not to. I guess you mean prepend instead of append. In fact the raw sockets add an IP header, unless you specify IPPROTO_RAW or IP_HDRINCL. Both are discouraged. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/