From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sabrina Dubroca Subject: [PATCH iproute2 v3 0/5] add MACsec support Date: Wed, 18 May 2016 17:35:08 +0200 Message-ID: Cc: Stephen Hemminger , Phil Sutter , Sabrina Dubroca To: netdev@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:37255 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752006AbcERPgN (ORCPT ); Wed, 18 May 2016 11:36:13 -0400 Sender: netdev-owner@vger.kernel.org List-ID: This series introduces support for MACsec devices, with a new device type for `ip link`, and a new `ip macsec` subcommand. The first patch imports the if_macsec.h header from kernel uapi. The next three patches introduce some necessary helper functions. Sabrina Dubroca (5): add missing if_macsec.h header from kernel utils: make hexstring_a2n provide the number of hex digits parsed utils: add get_be{16,32,64}, use them where possible utils: provide get_hex to read a hex digit from a char ip: add MACsec support include/linux/if_macsec.h | 163 ++++++ include/utils.h | 8 +- ip/Makefile | 2 +- ip/ip.c | 3 +- ip/ip_common.h | 1 + ip/ipfou.c | 3 +- ip/ipl2tp.c | 15 +- ip/iplink_vxlan.c | 8 +- ip/ipmacsec.c | 1236 +++++++++++++++++++++++++++++++++++++++++++++ ip/iproute_lwtunnel.c | 8 +- ip/ipxfrm.c | 13 +- ip/xfrm_state.c | 10 +- lib/ipx_pton.c | 18 +- lib/ll_proto.c | 3 +- lib/utils.c | 53 +- man/man8/Makefile | 2 +- man/man8/ip-link.8.in | 85 ++++ man/man8/ip-macsec.8 | 98 ++++ tc/f_flower.c | 4 +- tc/f_u32.c | 10 +- 20 files changed, 1667 insertions(+), 76 deletions(-) create mode 100644 include/linux/if_macsec.h create mode 100644 ip/ipmacsec.c create mode 100644 man/man8/ip-macsec.8 -- 2.8.2