ARM: imx_v6_v7_defconfig: Select ULPI support
[linux/fpc-iii.git] / include / net / seg6_local.h
blob661fd5b4d3e0b9ea40079d161131d6471d7335aa
1 /*
2 * SR-IPv6 implementation
4 * Authors:
5 * David Lebrun <david.lebrun@uclouvain.be>
6 * eBPF support: Mathieu Xhonneux <m.xhonneux@gmail.com>
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version
12 * 2 of the License, or (at your option) any later version.
15 #ifndef _NET_SEG6_LOCAL_H
16 #define _NET_SEG6_LOCAL_H
18 #include <linux/percpu.h>
19 #include <linux/net.h>
20 #include <linux/ipv6.h>
22 extern int seg6_lookup_nexthop(struct sk_buff *skb, struct in6_addr *nhaddr,
23 u32 tbl_id);
25 struct seg6_bpf_srh_state {
26 bool valid;
27 u16 hdrlen;
30 DECLARE_PER_CPU(struct seg6_bpf_srh_state, seg6_bpf_srh_states);
32 #endif