seg6: export get_srh() for ICMP handling
[linux-block.git] / include / net / seg6.h
index 9d19c15e8545c21334f6c3ecbb2a5be55758ae14..a6f25983670aa9eaf20bcf7788c2cb6b9c2d5411 100644 (file)
@@ -58,6 +58,7 @@ extern int seg6_local_init(void);
 extern void seg6_local_exit(void);
 
 extern bool seg6_validate_srh(struct ipv6_sr_hdr *srh, int len, bool reduced);
+extern struct ipv6_sr_hdr *seg6_get_srh(struct sk_buff *skb, int flags);
 extern int seg6_do_srh_encap(struct sk_buff *skb, struct ipv6_sr_hdr *osrh,
                             int proto);
 extern int seg6_do_srh_inline(struct sk_buff *skb, struct ipv6_sr_hdr *osrh);