tc_connmark.h 392 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __NET_TC_CONNMARK_H
  3. #define __NET_TC_CONNMARK_H
  4. #include <net/act_api.h>
  5. struct tcf_connmark_parms {
  6. struct net *net;
  7. u16 zone;
  8. struct rcu_head rcu;
  9. };
  10. struct tcf_connmark_info {
  11. struct tc_action common;
  12. struct tcf_connmark_parms __rcu *parms;
  13. };
  14. #define to_connmark(a) ((struct tcf_connmark_info *)a)
  15. #endif /* __NET_TC_CONNMARK_H */