With this series I want to do some adjustments in header files for ip(8)
as well as some trivial cleanups like variable rename and finally use
addattr_nest()/addattr_nest_end() family instead of open coding nested
attributes handling.

See individual patch description for more information on changes
presented.

Reviews, comments and suggestions are welcome.

Thanks,
Serhii

Serhey Popovych (3):
  ip: Consolidate ip, xdp and lwtunnel parse/dump prototypes in
    ip_common.h
  ip: Minor cleanups
  treewide: Use addattr_nest()/addattr_nest_end() to handle nested
    attributes

 include/utils.h       |   10 ----------
 ip/ip_common.h        |   21 +++++++++++++++++++++
 ip/ipaddress.c        |    1 -
 ip/iplink.c           |    7 +++----
 ip/iplink_vlan.c      |    5 ++---
 ip/iplink_vxcan.c     |   17 ++++++++---------
 ip/iplink_xdp.c       |    4 ++--
 ip/ipmacsec.c         |   28 ++++++++++++++--------------
 ip/iproute.c          |    1 -
 ip/iproute_lwtunnel.c |    4 ++--
 ip/iproute_lwtunnel.h |    9 ---------
 ip/link_gre.c         |    2 +-
 ip/link_gre6.c        |    2 +-
 ip/link_ip6tnl.c      |    2 +-
 ip/link_iptnl.c       |    2 +-
 ip/link_veth.c        |   17 ++++++++---------
 ip/link_vti.c         |    2 +-
 ip/link_vti6.c        |    2 +-
 ip/xdp.h              |   11 -----------
 tc/f_flow.c           |    5 ++---
 tc/f_fw.c             |    5 ++---
 tc/f_route.c          |    5 ++---
 tc/f_rsvp.c           |    5 ++---
 tc/f_tcindex.c        |    5 ++---
 tc/f_u32.c            |    5 ++---
 tc/m_action.c         |   26 ++++++++++----------------
 tc/m_bpf.c            |    5 ++---
 tc/m_connmark.c       |    5 ++---
 tc/m_csum.c           |    5 ++---
 tc/m_ematch.c         |   16 +++++++---------
 tc/m_gact.c           |    5 ++---
 tc/m_ife.c            |   10 ++++------
 tc/m_ipt.c            |    5 ++---
 tc/m_mirred.c         |    5 ++---
 tc/m_nat.c            |    5 ++---
 tc/m_pedit.c          |    5 ++---
 tc/m_police.c         |    5 ++---
 tc/m_sample.c         |    5 ++---
 tc/m_simple.c         |    5 ++---
 tc/m_skbedit.c        |    5 ++---
 tc/m_skbmod.c         |    5 ++---
 tc/m_tunnel_key.c     |    5 ++---
 tc/m_vlan.c           |    5 ++---
 tc/m_xt.c             |    5 ++---
 tc/m_xt_old.c         |    5 ++---
 tc/q_atm.c            |   11 ++++++-----
 tc/q_cbq.c            |   10 ++++------
 tc/q_cbs.c            |    5 ++---
 tc/q_choke.c          |    5 ++---
 tc/q_codel.c          |    5 ++---
 tc/q_drr.c            |    5 ++---
 tc/q_dsmark.c         |   13 ++++++-------
 tc/q_fq.c             |    5 ++---
 tc/q_fq_codel.c       |    5 ++---
 tc/q_gred.c           |   10 ++++------
 tc/q_hfsc.c           |    6 ++----
 tc/q_hhf.c            |    5 ++---
 tc/q_htb.c            |   10 ++++------
 tc/q_mqprio.c         |    5 ++---
 tc/q_netem.c          |    7 ++-----
 tc/q_pie.c            |    5 ++---
 tc/q_qfq.c            |    5 ++---
 tc/q_red.c            |    5 ++---
 tc/q_sfb.c            |    5 ++---
 tc/q_tbf.c            |    5 ++---
 tc/tc_qdisc.c         |    5 ++---
 66 files changed, 189 insertions(+), 262 deletions(-)
 delete mode 100644 ip/iproute_lwtunnel.h
 delete mode 100644 ip/xdp.h

-- 
1.7.10.4

Reply via email to