diff options
Diffstat (limited to 'target/linux/realtek/files/include/net/rtl/features/rtl_ps_hooks.h')
-rw-r--r-- | target/linux/realtek/files/include/net/rtl/features/rtl_ps_hooks.h | 34 |
1 files changed, 22 insertions, 12 deletions
diff --git a/target/linux/realtek/files/include/net/rtl/features/rtl_ps_hooks.h b/target/linux/realtek/files/include/net/rtl/features/rtl_ps_hooks.h index 6af1b865d..8605b5462 100644 --- a/target/linux/realtek/files/include/net/rtl/features/rtl_ps_hooks.h +++ b/target/linux/realtek/files/include/net/rtl/features/rtl_ps_hooks.h @@ -1,8 +1,9 @@ -#ifndef RTL_PS_HOOKS_H +#ifndef RTL_PS_HOOKS_H
#define RTL_PS_HOOKS_H 1 #include <linux/netfilter_ipv4.h> -#include <linux/netfilter/nf_conntrack_common.h> +#include <linux/netfilter/nf_conntrack_common.h>
+
#include <linux/netfilter/nf_conntrack_tcp.h> #include <net/rtl/rtl_types.h> @@ -55,13 +56,15 @@ int32 rtl_fn_hash_replace_hooks(struct fib_table *tb, struct fib_config *cfg, st int32 rtl_dev_queue_xmit_hooks(struct sk_buff *skb, struct net_device *dev); int32 rtl_dev_hard_start_xmit_hooks(struct sk_buff *skb, struct net_device *dev, struct netdev_queue *txq); -int32 rtl_netif_receive_skb_hooks(struct sk_buff **pskb); +int32 rtl_netif_receive_skb_hooks(struct sk_buff **pskb);
int32 rtl_br_dev_queue_push_xmit_before_xmit_hooks(struct sk_buff *skb); #ifdef CONFIG_NET_SCHED +
extern int gQosEnabled; #endif +
int32 rtl_neigh_forced_gc_hooks(struct neigh_table *tbl, struct neighbour *n); int32 rtl_neigh_flush_dev_hooks(struct neigh_table *tbl, struct net_device *dev, struct neighbour *n); int32 rtl_neigh_destroy_hooks(struct neighbour *n); @@ -75,10 +78,11 @@ int32 rtl_neigh_update_hooks(struct neighbour *n, const u8 *lladdr, uint8 old); int32 rtl_neigh_update_post_hooks(struct neighbour *n, const u8 *lladdr, uint8 old); int32 rtl_neigh_periodic_timer_hooks(struct neighbour *n, unsigned int refresh); int32 rtl_neigh_init_hooks(void); -#if defined(CONFIG_BRIDGE) -int32 rtl___br_fdb_get_timeout_hooks(struct net_bridge *br, struct net_bridge_fdb_entry *fdb, const unsigned char *addr); -#endif +#if defined(CONFIG_BRIDGE)
+int32 rtl___br_fdb_get_timeout_hooks(struct net_bridge *br, struct net_bridge_fdb_entry *fdb, const unsigned char *addr);
+#endif
int32 rtl_translate_table_hooks(const char *name, +
unsigned int valid_hooks, struct xt_table_info *newinfo, void *entry0, @@ -112,7 +116,7 @@ int rtl_ct_seq_show_hooks(struct seq_file *s, struct nf_conn *ct); int rtl_get_unique_tuple_hooks(struct nf_conntrack_tuple *tuple, const struct nf_conntrack_tuple *orig_tuple, const struct nf_nat_range *range, - struct nf_conn *ct, + struct nf_conn *ct,
enum nf_nat_manip_type maniptype, struct nf_nat_protocol *proto); @@ -134,11 +138,17 @@ int32 __drop_one_conntrack_process_hooks2(struct nf_conn* ct, int dropPrioIdx, i int32 rtl_nf_conn_GC_init_hooks(void); #endif -#if defined(CONFIG_BRIDGE) -int32 rtl_fdb_delete_hooks(struct net_bridge_fdb_entry *f); -int32 rtl_br_fdb_cleanup_hooks(struct net_bridge *br, struct net_bridge_fdb_entry *f); -#endif - +
+#if defined(CONFIG_BRIDGE)
+int32 rtl_fdb_create_hooks(struct net_bridge_fdb_entry *fdb,const unsigned char *addr);
+int32 rtl865x_addAuthFDBEntry_hooks(const unsigned char *addr);
+int32 rtl_fdb_delete_hooks(struct net_bridge_fdb_entry *f);
+int32 rtl_br_fdb_cleanup_hooks(struct net_bridge *br, struct net_bridge_fdb_entry *f, unsigned long delay);
+
+#endif
+
+
#endif +
|