https://github.com/torvalds/linux
Raw File
Tip revision: b2cd1df66037e7c4697c7e40496bf7e4a5e16a2d authored by Linus Torvalds on 07 January 2018, 22:22:41 UTC
Linux 4.15-rc7
Tip revision: b2cd1df
ebt_802_3.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __LINUX_BRIDGE_EBT_802_3_H
#define __LINUX_BRIDGE_EBT_802_3_H

#include <linux/skbuff.h>
#include <uapi/linux/netfilter_bridge/ebt_802_3.h>

static inline struct ebt_802_3_hdr *ebt_802_3_hdr(const struct sk_buff *skb)
{
	return (struct ebt_802_3_hdr *)skb_mac_header(skb);
}
#endif
back to top