diff options
author | David Lebrun <david.lebrun@uclouvain.be> | 2017-08-05 12:38:25 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-07 14:16:21 -0700 |
commit | b04c80d3a7e228cfb832cdb1c9ce8151f174669c (patch) | |
tree | d3b7e811ae7ba58143fdfdb59ab6e0566698c4e0 /include/net/seg6.h | |
parent | 925615ceda94532ba612e641549c7b1e41ebff10 (diff) |
ipv6: sr: export SRH insertion functions
This patch exports the seg6_do_srh_encap() and seg6_do_srh_inline()
functions. It also removes the CONFIG_IPV6_SEG6_INLINE knob
that enabled the compilation of seg6_do_srh_inline(). This function
is now built-in.
Signed-off-by: David Lebrun <david.lebrun@uclouvain.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/seg6.h')
-rw-r--r-- | include/net/seg6.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/seg6.h b/include/net/seg6.h index 4e0357517d79..a32abb040e1d 100644 --- a/include/net/seg6.h +++ b/include/net/seg6.h @@ -58,5 +58,7 @@ extern int seg6_iptunnel_init(void); extern void seg6_iptunnel_exit(void); extern bool seg6_validate_srh(struct ipv6_sr_hdr *srh, int len); +extern int seg6_do_srh_encap(struct sk_buff *skb, struct ipv6_sr_hdr *osrh); +extern int seg6_do_srh_inline(struct sk_buff *skb, struct ipv6_sr_hdr *osrh); #endif |