netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ahmed Abdelsalam <amsalam20@gmail.com>
To: David Lebrun <dav.lebrun@gmail.com>
Cc: davem@davemloft.net, kuznet@ms2.inr.ac.ru,
	yoshfuji@linux-ipv6.org, david.lebrun@uclouvain.be,
	netdev@vger.kernel.org
Subject: Re: [net-next] ipv6: sr: export some functions of seg6local
Date: Tue, 2 Jan 2018 21:25:07 +0100	[thread overview]
Message-ID: <20180102212507.1c8b984116da9012d629ee79@gmail.com> (raw)
In-Reply-To: <744656e9-b277-2915-e575-aea8b2c083be@gmail.com>

Ok! 
Thanks David
On Tue, 2 Jan 2018 20:11:48 +0000
David Lebrun <dav.lebrun@gmail.com> wrote:

> On 12/29/2017 09:09 PM, Ahmed Abdelsalam wrote:
> > Some functions of seg6local are very useful to process SRv6
> > encapsulated packets.
> > 
> > This patch exports some functions of seg6local that are useful and
> > can be re-used at different parts of the kernel.
> > 
> > The set of exported functions are:
> > (1) get_srh()
> > (2) advance_nextseg()
> > (3) lookup_nexthop
> 
> If you want to export those functions, it's better to prefix them with
> e.g. seg6_:
> 
> seg6_get_srh()
> seg6_advance_nextseg()
> seg6_lookup_nexthop()
> 
> David


-- 
Ahmed Abdelsalam <amsalam20@gmail.com>

      reply	other threads:[~2018-01-02 20:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-29 21:09 [net-next] ipv6: sr: export some functions of seg6local Ahmed Abdelsalam
2018-01-02 20:11 ` David Lebrun
2018-01-02 20:25   ` Ahmed Abdelsalam [this message]

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=20180102212507.1c8b984116da9012d629ee79@gmail.com \
    --to=amsalam20@gmail.com \
    --cc=dav.lebrun@gmail.com \
    --cc=davem@davemloft.net \
    --cc=david.lebrun@uclouvain.be \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=netdev@vger.kernel.org \
    --cc=yoshfuji@linux-ipv6.org \
    /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).