From owner-svn-src-head@freebsd.org Sat Aug 20 15:27:26 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5578BC05E0; Sat, 20 Aug 2016 15:27:26 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-it0-x22d.google.com (mail-it0-x22d.google.com [IPv6:2607:f8b0:4001:c0b::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6C82D1D85; Sat, 20 Aug 2016 15:27:26 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: by mail-it0-x22d.google.com with SMTP id f6so48938004ith.0; Sat, 20 Aug 2016 08:27:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=eioi5Epu3j8krd89wzUcKFDS3pNH7+kcQliPrOJpvl8=; b=YxYVjF2IEPBXiy58KVxZPXQfzU8K14PrAmLlZW8LekOt+XyHAQevdSYOzP1jv1DfDD esKy1+zfK4swBiV9iLhksZ/r4pNsPAAT8OZ1RvcwiMx1Y1UOOH4jL1iLVsoxi3fyLQMI 6IXfOmQlqSaCg3ak/A2Pjncd4bhg+c/N9IxItHmr946VEXgACw2F4VQosP7eqimzkA8O vEuO7GLiUpTx3AoW42ChrK74zshqqU0UFTvVy5HOgFEOpRt2hefo67y44LTymj3NUOmc GnjBKaaDLfR/qCTDPlhvEmDR5FauIyj8dLk/t6PWTByBv/lAmEVv51ldwyi3Qww0GjrE 4IIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=eioi5Epu3j8krd89wzUcKFDS3pNH7+kcQliPrOJpvl8=; b=G90gFA109hyX31Y1mqA9j2vux9cnyH4dqrz8xKwn4chD4/cDlRzuo+zeJjMG9vDieT BXgOlJz1u12bLxzctVl2jkkWwr+hGNe0bDyALFTH6IYHFj5DFZY619h3cGXXxRs1HNNO DjH2/D/UkWcVoqNRF4dYXKWx9I0kqNYQWk/r1/eXISGmQ/3ouBn7cmjG6pI3lvs9V+9A 5QyclgKovNKc9DW2YNyI30Eglm9aii1ns1gbsdd8CCJ7CrEJiJ8RL30cZ+JaEKfLEVhR l2iNK9NyDEn1lkw+dttW4FXAjRsWXu8giYMNfPSaOoCtCrjOc2fsIPAvQFP0ahlP73/U yzDA== X-Gm-Message-State: AEkoouvRH/VW0sPWGLpGBYPIEVd3LT+1cyntIJXrwQ+UjvtUUoh2b65o2w9SivrLF1wF/FXPqzcsR0Wra+zghQ== X-Received: by 10.36.79.148 with SMTP id c142mr12610355itb.20.1471706845911; Sat, 20 Aug 2016 08:27:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.200.71 with HTTP; Sat, 20 Aug 2016 08:27:25 -0700 (PDT) In-Reply-To: References: <201608182259.u7IMx5oW002018@repo.freebsd.org> <4fbc2e1d-3a62-5963-83d5-f9c931503e51@fastmail.net> <3806700d-ed27-7915-4818-c2d64f7b806d@fastmail.net> From: Ryan Stone Date: Sat, 20 Aug 2016 11:27:25 -0400 Message-ID: Subject: Re: svn commit: r304436 - in head: . sys/netinet To: Bruce Simpson Cc: Ryan Stone , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2016 15:27:26 -0000 On Sat, Aug 20, 2016 at 11:01 AM, Bruce Simpson wrote: > tun(4) on the other hand is a plain, PPP-like, IP tunnel. > Can you send a broadcast packet through an L3 tunnel? I thought that a L2 tunnel was required. But this mbuf flag is not guaranteed to be set in all situations; e.g. > where the link layer does not have the concept of broadcast being distinct > from other kinds of network traffic. PPP and ATM are the most obvious > examples. > We don't support ATM, but PPP is a good example. I hadn't thought of that. Hm, ip_input() already has to check for a broadcast IP. What it set M_BCAST on the mbuf at that time?