From owner-svn-src-all@freebsd.org Tue Oct 6 14:27:08 2015 Return-Path: Delivered-To: svn-src-all@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 769669B6C52; Tue, 6 Oct 2015 14:27:08 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 67561C27; Tue, 6 Oct 2015 14:27:08 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t96ER8XB002622; Tue, 6 Oct 2015 14:27:08 GMT (envelope-from mav@FreeBSD.org) Received: (from mav@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t96ER74c002620; Tue, 6 Oct 2015 14:27:07 GMT (envelope-from mav@FreeBSD.org) Message-Id: <201510061427.t96ER74c002620@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mav set sender to mav@FreeBSD.org using -f From: Alexander Motin Date: Tue, 6 Oct 2015 14:27:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r288922 - stable/9/sys/netgraph X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2015 14:27:08 -0000 Author: mav Date: Tue Oct 6 14:27:07 2015 New Revision: 288922 URL: https://svnweb.freebsd.org/changeset/base/288922 Log: MFC r253564 (by glebius): Add constant for PPP-Max-PayLoad tag. Submitted by: Dmitry Luhtionov Modified: stable/9/sys/netgraph/ng_pppoe.c stable/9/sys/netgraph/ng_pppoe.h Directory Properties: stable/9/ (props changed) stable/9/sys/ (props changed) Modified: stable/9/sys/netgraph/ng_pppoe.c ============================================================================== --- stable/9/sys/netgraph/ng_pppoe.c Tue Oct 6 13:50:31 2015 (r288921) +++ stable/9/sys/netgraph/ng_pppoe.c Tue Oct 6 14:27:07 2015 (r288922) @@ -1932,6 +1932,7 @@ scan_tags(sessp sp, const struct pppoe_h case PTT_SRV_ERR: case PTT_SYS_ERR: case PTT_GEN_ERR: + case PTT_MAX_PAYL: break; } pt = (const struct pppoe_tag*)ptn; Modified: stable/9/sys/netgraph/ng_pppoe.h ============================================================================== --- stable/9/sys/netgraph/ng_pppoe.h Tue Oct 6 13:50:31 2015 (r288921) +++ stable/9/sys/netgraph/ng_pppoe.h Tue Oct 6 14:27:07 2015 (r288922) @@ -181,6 +181,7 @@ struct ngpppoe_maxp { #define PTT_AC_COOKIE (0x0104) #define PTT_VENDOR (0x0105) #define PTT_RELAY_SID (0x0110) +#define PTT_MAX_PAYL (0x0120) /* PPP-Max-Payload (RFC4638) */ #define PTT_SRV_ERR (0x0201) #define PTT_SYS_ERR (0x0202) #define PTT_GEN_ERR (0x0203) @@ -197,6 +198,7 @@ struct ngpppoe_maxp { #define PTT_AC_COOKIE (0x0401) #define PTT_VENDOR (0x0501) #define PTT_RELAY_SID (0x1001) +#define PTT_MAX_PAYL (0x2001) /* PPP-Max-Payload (RFC4638) */ #define PTT_SRV_ERR (0x0102) #define PTT_SYS_ERR (0x0202) #define PTT_GEN_ERR (0x0302)