lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 2 Jan 2018 20:11:48 +0000
From:   David Lebrun <dav.lebrun@...il.com>
To:     Ahmed Abdelsalam <amsalam20@...il.com>, davem@...emloft.net,
        kuznet@....inr.ac.ru, yoshfuji@...ux-ipv6.org
Cc:     david.lebrun@...ouvain.be, netdev@...r.kernel.org
Subject: Re: [net-next] ipv6: sr: export some functions of seg6local

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ