]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/net/tc_act/tc_nat.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / include / net / tc_act / tc_nat.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
b4219952
HX
2#ifndef __NET_TC_NAT_H
3#define __NET_TC_NAT_H
4
5#include <linux/types.h>
6#include <net/act_api.h>
7
8struct tcf_nat {
ec0595cc 9 struct tc_action common;
b4219952
HX
10
11 __be32 old_addr;
12 __be32 new_addr;
13 __be32 mask;
14 u32 flags;
15};
16
a85a970a 17#define to_tcf_nat(a) ((struct tcf_nat *)a)
b4219952
HX
18
19#endif /* __NET_TC_NAT_H */