blob: 2e411709e98c90ac2df6841f88f2a8363a8d6057 [file] [log] [blame]
developerfd40db22021-04-29 10:08:25 +08001/* SPDX-License-Identifier: GPL-2.0
2 *
3 * Copyright (c) 2019 MediaTek Inc.
4 * Author: Harry Huang <harry.huang@mediatek.com>
5 */
6
7#include <linux/version.h>
8#include <linux/module.h>
9#include <linux/kernel.h>
10#include <linux/types.h>
11#include <linux/skbuff.h>
12#include <net/ra_nat.h>
13#define PURPOSE "FAST_NAT_SUPPORT"
14
15int (*ra_sw_nat_hook_rx)(struct sk_buff *skb) = NULL;
16EXPORT_SYMBOL(ra_sw_nat_hook_rx);
17
18int (*ra_sw_nat_hook_tx)(struct sk_buff *skb, int gmac_no) = NULL;
19EXPORT_SYMBOL(ra_sw_nat_hook_tx);