linux/include/uapi/linux/netfilter_bridge/ebt_802_3.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _UAPI__LINUX_BRIDGE_EBT_802_3_H
#define _UAPI__LINUX_BRIDGE_EBT_802_3_H

#include <linux/types.h>
#include <linux/if_ether.h>

#define EBT_802_3_SAP
#define EBT_802_3_TYPE

#define EBT_802_3_MATCH

/*
 * If frame has DSAP/SSAP value 0xaa you must check the SNAP type
 * to discover what kind of packet we're carrying. 
 */
#define CHECK_TYPE

/*
 * Control field may be one or two bytes.  If the first byte has
 * the value 0x03 then the entire length is one byte, otherwise it is two.
 * One byte controls are used in Unnumbered Information frames.
 * Two byte controls are used in Numbered Information frames.
 */
#define IS_UI

#define EBT_802_3_MASK

/* ui has one byte ctrl, ni has two */
struct hdr_ui {};

struct hdr_ni {};

struct ebt_802_3_hdr {};


struct ebt_802_3_info {};

#endif /* _UAPI__LINUX_BRIDGE_EBT_802_3_H */