From patchwork Sat Aug 23 15:13:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Borkmann X-Patchwork-Id: 382437 X-Patchwork-Delegate: shemminger@vyatta.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 2E3401400D7 for ; Sun, 24 Aug 2014 01:13:37 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751283AbaHWPNd (ORCPT ); Sat, 23 Aug 2014 11:13:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1038 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750809AbaHWPNc (ORCPT ); Sat, 23 Aug 2014 11:13:32 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7NFDVok005946 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 23 Aug 2014 11:13:31 -0400 Received: from localhost (vpn1-5-3.ams2.redhat.com [10.36.5.3]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s7NFDUCl021018; Sat, 23 Aug 2014 11:13:30 -0400 From: Daniel Borkmann To: stephen@networkplumber.org Cc: netdev@vger.kernel.org Subject: [PATCH iproute2] ll_types: add netlink ARPHRD Date: Sat, 23 Aug 2014 17:13:29 +0200 Message-Id: <1408806809-11593-1-git-send-email-dborkman@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This adds ARPHRD_NETLINK to ll_types so that it can be properly shown e.g. in `ip a`: 8: nlmon: mtu 3776 qdisc noqueue state UNKNOWN group default link/netlink Signed-off-by: Daniel Borkmann --- lib/ll_types.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ll_types.c b/lib/ll_types.c index 0c39183..2c5bf8b 100644 --- a/lib/ll_types.c +++ b/lib/ll_types.c @@ -104,6 +104,7 @@ __PF(PHONET, phonet) __PF(PHONET_PIPE, phonet_pipe) __PF(CAIF, caif) __PF(IP6GRE, gre6) +__PF(NETLINK, netlink) __PF(NONE, none) __PF(VOID,void)