From patchwork Fri Nov 6 18:16:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Parkin X-Patchwork-Id: 11887721 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1062CC2D0A3 for ; Fri, 6 Nov 2020 18:22:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 923D0208FE for ; Fri, 6 Nov 2020 18:22:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=katalix.com header.i=@katalix.com header.b="uXy2FAyh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727676AbgKFSWD (ORCPT ); Fri, 6 Nov 2020 13:22:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726320AbgKFSWD (ORCPT ); Fri, 6 Nov 2020 13:22:03 -0500 X-Greylist: delayed 301 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 06 Nov 2020 10:22:03 PST Received: from mail.katalix.com (mail.katalix.com [IPv6:2a05:d01c:827:b342:16d0:7237:f32a:8096]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4ED7AC0613CF for ; Fri, 6 Nov 2020 10:22:03 -0800 (PST) Received: from localhost.localdomain (82-69-49-219.dsl.in-addr.zen.co.uk [82.69.49.219]) (Authenticated sender: tom) by mail.katalix.com (Postfix) with ESMTPSA id 2C16F96EEA; Fri, 6 Nov 2020 18:17:01 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=katalix.com; s=mail; t=1604686621; bh=DYFXpORBTULzacEj2cQhsEnCmbQQcv24Sl3XrhYsESs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:From; z=From:=20Tom=20Parkin=20|To:=20netdev@vger.ke rnel.org|Cc:=20gnault@redhat.com,=0D=0A=09jchapman@katalix.com,=0D =0A=09Tom=20Parkin=20|Subject:=20[RFC=20PATCH =202/2]=20docs:=20update=20ppp_generic.rst=20to=20describe=20ioctl =20PPPIOCBRIDGECHAN|Date:=20Fri,=20=206=20Nov=202020=2018:16:47=20 +0000|Message-Id:=20<20201106181647.16358-3-tparkin@katalix.com>|I n-Reply-To:=20<20201106181647.16358-1-tparkin@katalix.com>|Referen ces:=20<20201106181647.16358-1-tparkin@katalix.com>; b=uXy2FAyhSYxwvcg4TkjvaBxWKIWfW4UPsN4EW+PdC8ue/8L3u3oLLM0UuDhdznzWT 7L/eOuyxNwceozhH11On89xq9iscj+wmZ9u1cTVS1x3UoI0oIV2FpbgzD9i/JeW5WK BeF/G1KHjoihFtTT+xJw4MOZ/skdCmcB//QkaFXkaSqXsSVj8uH8qGtCcjvaJsd7Eg WC1ia7kM0mZtqd05g8ACKR+5N/DKBIF8EUvB3dqFthfKMHLvO/bj4IJ0JD6aM9YLvc zcg1usu8x7kDs4EGry2twcOEH7A1aQfOkxqRpt5+ko0K1iJL+JIm6TCOb7COCCBrLg RwjSJ8RzgEvxA== From: Tom Parkin To: netdev@vger.kernel.org Cc: gnault@redhat.com, jchapman@katalix.com, Tom Parkin Subject: [RFC PATCH 2/2] docs: update ppp_generic.rst to describe ioctl PPPIOCBRIDGECHAN Date: Fri, 6 Nov 2020 18:16:47 +0000 Message-Id: <20201106181647.16358-3-tparkin@katalix.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201106181647.16358-1-tparkin@katalix.com> References: <20201106181647.16358-1-tparkin@katalix.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org X-Patchwork-State: RFC --- Documentation/networking/ppp_generic.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/networking/ppp_generic.rst b/Documentation/networking/ppp_generic.rst index e60504377900..aea950ce953f 100644 --- a/Documentation/networking/ppp_generic.rst +++ b/Documentation/networking/ppp_generic.rst @@ -314,6 +314,11 @@ channel are: it is connected to. It will return an EINVAL error if the channel is not connected to an interface. +* PPPIOCBRIDGECHAN bridges a channel with another. When frames are + presented to a channel by a call to ppp_input, they are passed to the + bridged channel by appending them to the channel's transmit queue. + This allows frames from one channel to be switched into another. + * All other ioctl commands are passed to the channel ioctl() function. The ioctl calls that are available on an instance that is attached to