Thread (3 messages) flat view 3 messages, 2 authors, 2018-01-02

Re: [net-next] ipv6: sr: export some functions of seg6local

From: David Lebrun <hidden>
Date: 2018-01-02 20:11:20

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help