linux-old/include/linux/netfilter_ipv6/ip6t_multiport.h
<<
>>
Prefs
   1#ifndef _IP6T_MULTIPORT_H
   2#define _IP6T_MULTIPORT_H
   3#include <linux/netfilter_ipv6/ip6_tables.h>
   4
   5enum ip6t_multiport_flags
   6{
   7        IP6T_MULTIPORT_SOURCE,
   8        IP6T_MULTIPORT_DESTINATION,
   9        IP6T_MULTIPORT_EITHER
  10};
  11
  12#define IP6T_MULTI_PORTS        15
  13
  14/* Must fit inside union ip6t_matchinfo: 16 bytes */
  15struct ip6t_multiport
  16{
  17        u_int8_t flags;                         /* Type of comparison */
  18        u_int8_t count;                         /* Number of ports */
  19        u_int16_t ports[IP6T_MULTI_PORTS];      /* Ports */
  20};
  21#endif /*_IPT_MULTIPORT_H*/
  22
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.