Three netfilter headers are only included once. Inline their contents at those sites and remove them.
Showing the changes to include/linux (3 of 6 files). Show all
Unified · Split
| @@ -1,11 +0,0 @@ | ||
| 1 | −/* SPDX-License-Identifier: GPL-2.0 */ | |
| 2 | −#ifndef _XT_HASHLIMIT_H | |
| 3 | −#define _XT_HASHLIMIT_H | |
| 4 | − | |
| 5 | −#include <uapi/linux/netfilter/xt_hashlimit.h> | |
| 6 | − | |
| 7 | −#define XT_HASHLIMIT_ALL (XT_HASHLIMIT_HASH_DIP | XT_HASHLIMIT_HASH_DPT | \ | |
| 8 | − XT_HASHLIMIT_HASH_SIP | XT_HASHLIMIT_HASH_SPT | \ | |
| 9 | − XT_HASHLIMIT_INVERT | XT_HASHLIMIT_BYTES |\ | |
| 10 | − XT_HASHLIMIT_RATE_MATCH) | |
| 11 | −#endif /*_XT_HASHLIMIT_H*/ | |
| @@ -1,8 +0,0 @@ | ||
| 1 | −/* SPDX-License-Identifier: GPL-2.0 */ | |
| 2 | −#ifndef _XT_PHYSDEV_H | |
| 3 | −#define _XT_PHYSDEV_H | |
| 4 | − | |
| 5 | −#include <linux/if.h> | |
| 6 | −#include <uapi/linux/netfilter/xt_physdev.h> | |
| 7 | − | |
| 8 | −#endif /*_XT_PHYSDEV_H*/ | |
| @@ -1,12 +0,0 @@ | ||
| 1 | −/* SPDX-License-Identifier: GPL-2.0 */ | |
| 2 | −#ifndef __LINUX_BRIDGE_EBT_802_3_H | |
| 3 | −#define __LINUX_BRIDGE_EBT_802_3_H | |
| 4 | − | |
| 5 | −#include <linux/skbuff.h> | |
| 6 | −#include <uapi/linux/netfilter_bridge/ebt_802_3.h> | |
| 7 | − | |
| 8 | −static inline struct ebt_802_3_hdr *ebt_802_3_hdr(const struct sk_buff *skb) | |
| 9 | −{ | |
| 10 | − return (struct ebt_802_3_hdr *)skb_mac_header(skb); | |
| 11 | −} | |
| 12 | −#endif | |