netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Julian Anastasov <ja@ssi.bg>
To: Stephen Hemminger <shemminger@vyatta.com>
Cc: netdev@vger.kernel.org
Subject: [PATCH v2 0/2] iproute2: add GENL helpers
Date: Tue, 11 Sep 2012 12:04:32 +0300	[thread overview]
Message-ID: <1347354274-3119-1-git-send-email-ja@ssi.bg> (raw)

	Put common code for GENL users in new files.

v2:
- remove memset for buffer in GENL_INIT_REQUEST and use
C99 style initializers
- rename funcs: libgenl_ to genl_

Julian Anastasov (2):
  iproute2: add libgenl files
  iproute2: use libgenl in ipl2tp

 include/libgenl.h |   29 +++++++++++++++++++++++
 ip/ipl2tp.c       |   64 +--------------------------------------------------
 lib/Makefile      |    2 +-
 lib/libgenl.c     |   65 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 97 insertions(+), 63 deletions(-)
 create mode 100644 include/libgenl.h
 create mode 100644 lib/libgenl.c

-- 
1.7.3.4

             reply	other threads:[~2012-09-11  9:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-11  9:04 Julian Anastasov [this message]
2012-09-11  9:04 ` [PATCH v2 1/2] iproute2: add libgenl files Julian Anastasov
2012-09-11  9:04 ` [PATCH v2 2/2] iproute2: use libgenl in ipl2tp Julian Anastasov
2012-09-11 16:09   ` Stephen Hemminger
2012-09-11 20:22     ` Julian Anastasov
2012-09-11 21:02       ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1347354274-3119-1-git-send-email-ja@ssi.bg \
    --to=ja@ssi.bg \
    --cc=netdev@vger.kernel.org \
    --cc=shemminger@vyatta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).