summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/include/net/rtl/rtl865x_ip_api.h
blob: b0aaed8c2aadaa2ea3bbc5a86be5496c6fa180fa (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef RTL865X_IP_API_H
#define RTL865X_IP_API_H

#define IP_TYPE_NAPT            0x00
#define IP_TYPE_NAT             0x01
#define IP_TYPE_LOCALSERVER     0x02
#define IP_TYPE_RESERVED        0x03

int32 rtl865x_addIp(ipaddr_t intIp, ipaddr_t extIp, uint32 ip_type);
int32 rtl865x_delIp(ipaddr_t extIp);
#endif