home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / include / net / tc_act / tc_mirred.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  314 b   |  17 lines

  1. #ifndef __NET_TC_MIR_H
  2. #define __NET_TC_MIR_H
  3.  
  4. #include <net/act_api.h>
  5.  
  6. struct tcf_mirred {
  7.     struct tcf_common    common;
  8.     int            tcfm_eaction;
  9.     int            tcfm_ifindex;
  10.     int            tcfm_ok_push;
  11.     struct net_device    *tcfm_dev;
  12. };
  13. #define to_mirred(pc) \
  14.     container_of(pc, struct tcf_mirred, common)
  15.  
  16. #endif /* __NET_TC_MIR_H */
  17.