ip6_fib.h 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Linux INET6 implementation
  4. *
  5. * Authors:
  6. * Pedro Roque <[email protected]>
  7. */
  8. #ifndef _IP6_FIB_H
  9. #define _IP6_FIB_H
  10. #include <linux/ipv6_route.h>
  11. #include <linux/rtnetlink.h>
  12. #include <linux/spinlock.h>
  13. #include <linux/notifier.h>
  14. #include <linux/android_kabi.h>
  15. #include <net/dst.h>
  16. #include <net/flow.h>
  17. #include <net/ip_fib.h>
  18. #include <net/netlink.h>
  19. #include <net/inetpeer.h>
  20. #include <net/fib_notifier.h>
  21. #include <linux/indirect_call_wrapper.h>
  22. #include <uapi/linux/bpf.h>
  23. #ifdef CONFIG_IPV6_MULTIPLE_TABLES
  24. #define FIB6_TABLE_HASHSZ 256
  25. #else
  26. #define FIB6_TABLE_HASHSZ 1
  27. #endif
  28. #define RT6_DEBUG 2
  29. #if RT6_DEBUG >= 3
  30. #define RT6_TRACE(x...) pr_debug(x)
  31. #else
  32. #define RT6_TRACE(x...) do { ; } while (0)
  33. #endif
  34. struct rt6_info;
  35. struct fib6_info;
  36. struct fib6_config {
  37. u32 fc_table;
  38. u32 fc_metric;
  39. int fc_dst_len;
  40. int fc_src_len;
  41. int fc_ifindex;
  42. u32 fc_flags;
  43. u32 fc_protocol;
  44. u16 fc_type; /* only 8 bits are used */
  45. u16 fc_delete_all_nh : 1,
  46. fc_ignore_dev_down:1,
  47. __unused : 14;
  48. u32 fc_nh_id;
  49. struct in6_addr fc_dst;
  50. struct in6_addr fc_src;
  51. struct in6_addr fc_prefsrc;
  52. struct in6_addr fc_gateway;
  53. unsigned long fc_expires;
  54. struct nlattr *fc_mx;
  55. int fc_mx_len;
  56. int fc_mp_len;
  57. struct nlattr *fc_mp;
  58. struct nl_info fc_nlinfo;
  59. struct nlattr *fc_encap;
  60. u16 fc_encap_type;
  61. bool fc_is_fdb;
  62. ANDROID_KABI_RESERVE(1);
  63. };
  64. struct fib6_node {
  65. struct fib6_node __rcu *parent;
  66. struct fib6_node __rcu *left;
  67. struct fib6_node __rcu *right;
  68. #ifdef CONFIG_IPV6_SUBTREES
  69. struct fib6_node __rcu *subtree;
  70. #endif
  71. struct fib6_info __rcu *leaf;
  72. __u16 fn_bit; /* bit key */
  73. __u16 fn_flags;
  74. int fn_sernum;
  75. struct fib6_info __rcu *rr_ptr;
  76. struct rcu_head rcu;
  77. ANDROID_KABI_RESERVE(1);
  78. };
  79. struct fib6_gc_args {
  80. int timeout;
  81. int more;
  82. };
  83. #ifndef CONFIG_IPV6_SUBTREES
  84. #define FIB6_SUBTREE(fn) NULL
  85. static inline bool fib6_routes_require_src(const struct net *net)
  86. {
  87. return false;
  88. }
  89. static inline void fib6_routes_require_src_inc(struct net *net) {}
  90. static inline void fib6_routes_require_src_dec(struct net *net) {}
  91. #else
  92. static inline bool fib6_routes_require_src(const struct net *net)
  93. {
  94. return net->ipv6.fib6_routes_require_src > 0;
  95. }
  96. static inline void fib6_routes_require_src_inc(struct net *net)
  97. {
  98. net->ipv6.fib6_routes_require_src++;
  99. }
  100. static inline void fib6_routes_require_src_dec(struct net *net)
  101. {
  102. net->ipv6.fib6_routes_require_src--;
  103. }
  104. #define FIB6_SUBTREE(fn) (rcu_dereference_protected((fn)->subtree, 1))
  105. #endif
  106. /*
  107. * routing information
  108. *
  109. */
  110. struct rt6key {
  111. struct in6_addr addr;
  112. int plen;
  113. };
  114. struct fib6_table;
  115. struct rt6_exception_bucket {
  116. struct hlist_head chain;
  117. int depth;
  118. };
  119. struct rt6_exception {
  120. struct hlist_node hlist;
  121. struct rt6_info *rt6i;
  122. unsigned long stamp;
  123. struct rcu_head rcu;
  124. };
  125. #define FIB6_EXCEPTION_BUCKET_SIZE_SHIFT 10
  126. #define FIB6_EXCEPTION_BUCKET_SIZE (1 << FIB6_EXCEPTION_BUCKET_SIZE_SHIFT)
  127. #define FIB6_MAX_DEPTH 5
  128. struct fib6_nh {
  129. struct fib_nh_common nh_common;
  130. #ifdef CONFIG_IPV6_ROUTER_PREF
  131. unsigned long last_probe;
  132. #endif
  133. struct rt6_info * __percpu *rt6i_pcpu;
  134. struct rt6_exception_bucket __rcu *rt6i_exception_bucket;
  135. };
  136. struct fib6_info {
  137. struct fib6_table *fib6_table;
  138. struct fib6_info __rcu *fib6_next;
  139. struct fib6_node __rcu *fib6_node;
  140. /* Multipath routes:
  141. * siblings is a list of fib6_info that have the same metric/weight,
  142. * destination, but not the same gateway. nsiblings is just a cache
  143. * to speed up lookup.
  144. */
  145. union {
  146. struct list_head fib6_siblings;
  147. struct list_head nh_list;
  148. };
  149. unsigned int fib6_nsiblings;
  150. refcount_t fib6_ref;
  151. unsigned long expires;
  152. struct dst_metrics *fib6_metrics;
  153. #define fib6_pmtu fib6_metrics->metrics[RTAX_MTU-1]
  154. struct rt6key fib6_dst;
  155. u32 fib6_flags;
  156. struct rt6key fib6_src;
  157. struct rt6key fib6_prefsrc;
  158. u32 fib6_metric;
  159. u8 fib6_protocol;
  160. u8 fib6_type;
  161. u8 offload;
  162. u8 trap;
  163. u8 offload_failed;
  164. u8 should_flush:1,
  165. dst_nocount:1,
  166. dst_nopolicy:1,
  167. fib6_destroying:1,
  168. unused:4;
  169. struct rcu_head rcu;
  170. struct nexthop *nh;
  171. ANDROID_KABI_RESERVE(1);
  172. struct fib6_nh fib6_nh[];
  173. };
  174. struct rt6_info {
  175. struct dst_entry dst;
  176. struct fib6_info __rcu *from;
  177. int sernum;
  178. struct rt6key rt6i_dst;
  179. struct rt6key rt6i_src;
  180. struct in6_addr rt6i_gateway;
  181. struct inet6_dev *rt6i_idev;
  182. u32 rt6i_flags;
  183. struct list_head rt6i_uncached;
  184. struct uncached_list *rt6i_uncached_list;
  185. /* more non-fragment space at head required */
  186. unsigned short rt6i_nfheader_len;
  187. ANDROID_KABI_RESERVE(1);
  188. };
  189. struct fib6_result {
  190. struct fib6_nh *nh;
  191. struct fib6_info *f6i;
  192. u32 fib6_flags;
  193. u8 fib6_type;
  194. struct rt6_info *rt6;
  195. };
  196. #define for_each_fib6_node_rt_rcu(fn) \
  197. for (rt = rcu_dereference((fn)->leaf); rt; \
  198. rt = rcu_dereference(rt->fib6_next))
  199. #define for_each_fib6_walker_rt(w) \
  200. for (rt = (w)->leaf; rt; \
  201. rt = rcu_dereference_protected(rt->fib6_next, 1))
  202. static inline struct inet6_dev *ip6_dst_idev(struct dst_entry *dst)
  203. {
  204. return ((struct rt6_info *)dst)->rt6i_idev;
  205. }
  206. static inline bool fib6_requires_src(const struct fib6_info *rt)
  207. {
  208. return rt->fib6_src.plen > 0;
  209. }
  210. static inline void fib6_clean_expires(struct fib6_info *f6i)
  211. {
  212. f6i->fib6_flags &= ~RTF_EXPIRES;
  213. f6i->expires = 0;
  214. }
  215. static inline void fib6_set_expires(struct fib6_info *f6i,
  216. unsigned long expires)
  217. {
  218. f6i->expires = expires;
  219. f6i->fib6_flags |= RTF_EXPIRES;
  220. }
  221. static inline bool fib6_check_expired(const struct fib6_info *f6i)
  222. {
  223. if (f6i->fib6_flags & RTF_EXPIRES)
  224. return time_after(jiffies, f6i->expires);
  225. return false;
  226. }
  227. /* Function to safely get fn->fn_sernum for passed in rt
  228. * and store result in passed in cookie.
  229. * Return true if we can get cookie safely
  230. * Return false if not
  231. */
  232. static inline bool fib6_get_cookie_safe(const struct fib6_info *f6i,
  233. u32 *cookie)
  234. {
  235. struct fib6_node *fn;
  236. bool status = false;
  237. fn = rcu_dereference(f6i->fib6_node);
  238. if (fn) {
  239. *cookie = READ_ONCE(fn->fn_sernum);
  240. /* pairs with smp_wmb() in __fib6_update_sernum_upto_root() */
  241. smp_rmb();
  242. status = true;
  243. }
  244. return status;
  245. }
  246. static inline u32 rt6_get_cookie(const struct rt6_info *rt)
  247. {
  248. struct fib6_info *from;
  249. u32 cookie = 0;
  250. if (rt->sernum)
  251. return rt->sernum;
  252. rcu_read_lock();
  253. from = rcu_dereference(rt->from);
  254. if (from)
  255. fib6_get_cookie_safe(from, &cookie);
  256. rcu_read_unlock();
  257. return cookie;
  258. }
  259. static inline void ip6_rt_put(struct rt6_info *rt)
  260. {
  261. /* dst_release() accepts a NULL parameter.
  262. * We rely on dst being first structure in struct rt6_info
  263. */
  264. BUILD_BUG_ON(offsetof(struct rt6_info, dst) != 0);
  265. dst_release(&rt->dst);
  266. }
  267. struct fib6_info *fib6_info_alloc(gfp_t gfp_flags, bool with_fib6_nh);
  268. void fib6_info_destroy_rcu(struct rcu_head *head);
  269. static inline void fib6_info_hold(struct fib6_info *f6i)
  270. {
  271. refcount_inc(&f6i->fib6_ref);
  272. }
  273. static inline bool fib6_info_hold_safe(struct fib6_info *f6i)
  274. {
  275. return refcount_inc_not_zero(&f6i->fib6_ref);
  276. }
  277. static inline void fib6_info_release(struct fib6_info *f6i)
  278. {
  279. if (f6i && refcount_dec_and_test(&f6i->fib6_ref))
  280. call_rcu(&f6i->rcu, fib6_info_destroy_rcu);
  281. }
  282. enum fib6_walk_state {
  283. #ifdef CONFIG_IPV6_SUBTREES
  284. FWS_S,
  285. #endif
  286. FWS_L,
  287. FWS_R,
  288. FWS_C,
  289. FWS_U
  290. };
  291. struct fib6_walker {
  292. struct list_head lh;
  293. struct fib6_node *root, *node;
  294. struct fib6_info *leaf;
  295. enum fib6_walk_state state;
  296. unsigned int skip;
  297. unsigned int count;
  298. unsigned int skip_in_node;
  299. int (*func)(struct fib6_walker *);
  300. void *args;
  301. };
  302. struct rt6_statistics {
  303. __u32 fib_nodes; /* all fib6 nodes */
  304. __u32 fib_route_nodes; /* intermediate nodes */
  305. __u32 fib_rt_entries; /* rt entries in fib table */
  306. __u32 fib_rt_cache; /* cached rt entries in exception table */
  307. __u32 fib_discarded_routes; /* total number of routes delete */
  308. /* The following stat is not protected by any lock */
  309. atomic_t fib_rt_alloc; /* total number of routes alloced */
  310. };
  311. #define RTN_TL_ROOT 0x0001
  312. #define RTN_ROOT 0x0002 /* tree root node */
  313. #define RTN_RTINFO 0x0004 /* node with valid routing info */
  314. /*
  315. * priority levels (or metrics)
  316. *
  317. */
  318. struct fib6_table {
  319. struct hlist_node tb6_hlist;
  320. u32 tb6_id;
  321. spinlock_t tb6_lock;
  322. struct fib6_node tb6_root;
  323. struct inet_peer_base tb6_peers;
  324. unsigned int flags;
  325. unsigned int fib_seq;
  326. #define RT6_TABLE_HAS_DFLT_ROUTER BIT(0)
  327. };
  328. #define RT6_TABLE_UNSPEC RT_TABLE_UNSPEC
  329. #define RT6_TABLE_MAIN RT_TABLE_MAIN
  330. #define RT6_TABLE_DFLT RT6_TABLE_MAIN
  331. #define RT6_TABLE_INFO RT6_TABLE_MAIN
  332. #define RT6_TABLE_PREFIX RT6_TABLE_MAIN
  333. #ifdef CONFIG_IPV6_MULTIPLE_TABLES
  334. #define FIB6_TABLE_MIN 1
  335. #define FIB6_TABLE_MAX RT_TABLE_MAX
  336. #define RT6_TABLE_LOCAL RT_TABLE_LOCAL
  337. #else
  338. #define FIB6_TABLE_MIN RT_TABLE_MAIN
  339. #define FIB6_TABLE_MAX FIB6_TABLE_MIN
  340. #define RT6_TABLE_LOCAL RT6_TABLE_MAIN
  341. #endif
  342. typedef struct rt6_info *(*pol_lookup_t)(struct net *,
  343. struct fib6_table *,
  344. struct flowi6 *,
  345. const struct sk_buff *, int);
  346. struct fib6_entry_notifier_info {
  347. struct fib_notifier_info info; /* must be first */
  348. struct fib6_info *rt;
  349. unsigned int nsiblings;
  350. };
  351. /*
  352. * exported functions
  353. */
  354. struct fib6_table *fib6_get_table(struct net *net, u32 id);
  355. struct fib6_table *fib6_new_table(struct net *net, u32 id);
  356. struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6,
  357. const struct sk_buff *skb,
  358. int flags, pol_lookup_t lookup);
  359. /* called with rcu lock held; can return error pointer
  360. * caller needs to select path
  361. */
  362. int fib6_lookup(struct net *net, int oif, struct flowi6 *fl6,
  363. struct fib6_result *res, int flags);
  364. /* called with rcu lock held; caller needs to select path */
  365. int fib6_table_lookup(struct net *net, struct fib6_table *table,
  366. int oif, struct flowi6 *fl6, struct fib6_result *res,
  367. int strict);
  368. void fib6_select_path(const struct net *net, struct fib6_result *res,
  369. struct flowi6 *fl6, int oif, bool have_oif_match,
  370. const struct sk_buff *skb, int strict);
  371. struct fib6_node *fib6_node_lookup(struct fib6_node *root,
  372. const struct in6_addr *daddr,
  373. const struct in6_addr *saddr);
  374. struct fib6_node *fib6_locate(struct fib6_node *root,
  375. const struct in6_addr *daddr, int dst_len,
  376. const struct in6_addr *saddr, int src_len,
  377. bool exact_match);
  378. void fib6_clean_all(struct net *net, int (*func)(struct fib6_info *, void *arg),
  379. void *arg);
  380. void fib6_clean_all_skip_notify(struct net *net,
  381. int (*func)(struct fib6_info *, void *arg),
  382. void *arg);
  383. int fib6_add(struct fib6_node *root, struct fib6_info *rt,
  384. struct nl_info *info, struct netlink_ext_ack *extack);
  385. int fib6_del(struct fib6_info *rt, struct nl_info *info);
  386. static inline
  387. void rt6_get_prefsrc(const struct rt6_info *rt, struct in6_addr *addr)
  388. {
  389. const struct fib6_info *from;
  390. rcu_read_lock();
  391. from = rcu_dereference(rt->from);
  392. if (from)
  393. *addr = from->fib6_prefsrc.addr;
  394. else
  395. *addr = in6addr_any;
  396. rcu_read_unlock();
  397. }
  398. int fib6_nh_init(struct net *net, struct fib6_nh *fib6_nh,
  399. struct fib6_config *cfg, gfp_t gfp_flags,
  400. struct netlink_ext_ack *extack);
  401. void fib6_nh_release(struct fib6_nh *fib6_nh);
  402. void fib6_nh_release_dsts(struct fib6_nh *fib6_nh);
  403. int call_fib6_entry_notifiers(struct net *net,
  404. enum fib_event_type event_type,
  405. struct fib6_info *rt,
  406. struct netlink_ext_ack *extack);
  407. int call_fib6_multipath_entry_notifiers(struct net *net,
  408. enum fib_event_type event_type,
  409. struct fib6_info *rt,
  410. unsigned int nsiblings,
  411. struct netlink_ext_ack *extack);
  412. int call_fib6_entry_notifiers_replace(struct net *net, struct fib6_info *rt);
  413. void fib6_rt_update(struct net *net, struct fib6_info *rt,
  414. struct nl_info *info);
  415. void inet6_rt_notify(int event, struct fib6_info *rt, struct nl_info *info,
  416. unsigned int flags);
  417. void fib6_run_gc(unsigned long expires, struct net *net, bool force);
  418. void fib6_gc_cleanup(void);
  419. int fib6_init(void);
  420. struct ipv6_route_iter {
  421. struct seq_net_private p;
  422. struct fib6_walker w;
  423. loff_t skip;
  424. struct fib6_table *tbl;
  425. int sernum;
  426. };
  427. extern const struct seq_operations ipv6_route_seq_ops;
  428. int call_fib6_notifier(struct notifier_block *nb,
  429. enum fib_event_type event_type,
  430. struct fib_notifier_info *info);
  431. int call_fib6_notifiers(struct net *net, enum fib_event_type event_type,
  432. struct fib_notifier_info *info);
  433. int __net_init fib6_notifier_init(struct net *net);
  434. void __net_exit fib6_notifier_exit(struct net *net);
  435. unsigned int fib6_tables_seq_read(struct net *net);
  436. int fib6_tables_dump(struct net *net, struct notifier_block *nb,
  437. struct netlink_ext_ack *extack);
  438. void fib6_update_sernum(struct net *net, struct fib6_info *rt);
  439. void fib6_update_sernum_upto_root(struct net *net, struct fib6_info *rt);
  440. void fib6_update_sernum_stub(struct net *net, struct fib6_info *f6i);
  441. void fib6_metric_set(struct fib6_info *f6i, int metric, u32 val);
  442. static inline bool fib6_metric_locked(struct fib6_info *f6i, int metric)
  443. {
  444. return !!(f6i->fib6_metrics->metrics[RTAX_LOCK - 1] & (1 << metric));
  445. }
  446. void fib6_info_hw_flags_set(struct net *net, struct fib6_info *f6i,
  447. bool offload, bool trap, bool offload_failed);
  448. #if IS_BUILTIN(CONFIG_IPV6) && defined(CONFIG_BPF_SYSCALL)
  449. struct bpf_iter__ipv6_route {
  450. __bpf_md_ptr(struct bpf_iter_meta *, meta);
  451. __bpf_md_ptr(struct fib6_info *, rt);
  452. };
  453. #endif
  454. INDIRECT_CALLABLE_DECLARE(struct rt6_info *ip6_pol_route_output(struct net *net,
  455. struct fib6_table *table,
  456. struct flowi6 *fl6,
  457. const struct sk_buff *skb,
  458. int flags));
  459. INDIRECT_CALLABLE_DECLARE(struct rt6_info *ip6_pol_route_input(struct net *net,
  460. struct fib6_table *table,
  461. struct flowi6 *fl6,
  462. const struct sk_buff *skb,
  463. int flags));
  464. INDIRECT_CALLABLE_DECLARE(struct rt6_info *__ip6_route_redirect(struct net *net,
  465. struct fib6_table *table,
  466. struct flowi6 *fl6,
  467. const struct sk_buff *skb,
  468. int flags));
  469. INDIRECT_CALLABLE_DECLARE(struct rt6_info *ip6_pol_route_lookup(struct net *net,
  470. struct fib6_table *table,
  471. struct flowi6 *fl6,
  472. const struct sk_buff *skb,
  473. int flags));
  474. static inline struct rt6_info *pol_lookup_func(pol_lookup_t lookup,
  475. struct net *net,
  476. struct fib6_table *table,
  477. struct flowi6 *fl6,
  478. const struct sk_buff *skb,
  479. int flags)
  480. {
  481. return INDIRECT_CALL_4(lookup,
  482. ip6_pol_route_output,
  483. ip6_pol_route_input,
  484. ip6_pol_route_lookup,
  485. __ip6_route_redirect,
  486. net, table, fl6, skb, flags);
  487. }
  488. #ifdef CONFIG_IPV6_MULTIPLE_TABLES
  489. static inline bool fib6_has_custom_rules(const struct net *net)
  490. {
  491. return net->ipv6.fib6_has_custom_rules;
  492. }
  493. int fib6_rules_init(void);
  494. void fib6_rules_cleanup(void);
  495. bool fib6_rule_default(const struct fib_rule *rule);
  496. int fib6_rules_dump(struct net *net, struct notifier_block *nb,
  497. struct netlink_ext_ack *extack);
  498. unsigned int fib6_rules_seq_read(struct net *net);
  499. static inline bool fib6_rules_early_flow_dissect(struct net *net,
  500. struct sk_buff *skb,
  501. struct flowi6 *fl6,
  502. struct flow_keys *flkeys)
  503. {
  504. unsigned int flag = FLOW_DISSECTOR_F_STOP_AT_ENCAP;
  505. if (!net->ipv6.fib6_rules_require_fldissect)
  506. return false;
  507. memset(flkeys, 0, sizeof(*flkeys));
  508. __skb_flow_dissect(net, skb, &flow_keys_dissector,
  509. flkeys, NULL, 0, 0, 0, flag);
  510. fl6->fl6_sport = flkeys->ports.src;
  511. fl6->fl6_dport = flkeys->ports.dst;
  512. fl6->flowi6_proto = flkeys->basic.ip_proto;
  513. return true;
  514. }
  515. #else
  516. static inline bool fib6_has_custom_rules(const struct net *net)
  517. {
  518. return false;
  519. }
  520. static inline int fib6_rules_init(void)
  521. {
  522. return 0;
  523. }
  524. static inline void fib6_rules_cleanup(void)
  525. {
  526. return ;
  527. }
  528. static inline bool fib6_rule_default(const struct fib_rule *rule)
  529. {
  530. return true;
  531. }
  532. static inline int fib6_rules_dump(struct net *net, struct notifier_block *nb,
  533. struct netlink_ext_ack *extack)
  534. {
  535. return 0;
  536. }
  537. static inline unsigned int fib6_rules_seq_read(struct net *net)
  538. {
  539. return 0;
  540. }
  541. static inline bool fib6_rules_early_flow_dissect(struct net *net,
  542. struct sk_buff *skb,
  543. struct flowi6 *fl6,
  544. struct flow_keys *flkeys)
  545. {
  546. return false;
  547. }
  548. #endif
  549. #endif