include/linux/netfilter_bridge/ebtables.h
changeset 2 d1f6d8b6f81c
parent 0 aa628870c1d3
equal deleted inserted replaced
1:0056487c491e 2:d1f6d8b6f81c
   298 	struct module *me;
   298 	struct module *me;
   299 };
   299 };
   300 
   300 
   301 #define EBT_ALIGN(s) (((s) + (__alignof__(struct ebt_replace)-1)) & \
   301 #define EBT_ALIGN(s) (((s) + (__alignof__(struct ebt_replace)-1)) & \
   302 		     ~(__alignof__(struct ebt_replace)-1))
   302 		     ~(__alignof__(struct ebt_replace)-1))
   303 extern int ebt_register_table(struct ebt_table *table);
   303 extern struct ebt_table *ebt_register_table(struct net *net,
       
   304 					    struct ebt_table *table);
   304 extern void ebt_unregister_table(struct ebt_table *table);
   305 extern void ebt_unregister_table(struct ebt_table *table);
   305 extern unsigned int ebt_do_table(unsigned int hook, struct sk_buff *skb,
   306 extern unsigned int ebt_do_table(unsigned int hook, struct sk_buff *skb,
   306    const struct net_device *in, const struct net_device *out,
   307    const struct net_device *in, const struct net_device *out,
   307    struct ebt_table *table);
   308    struct ebt_table *table);
   308 
   309