ebt_802_3.h revision d7db594b8d1dab36b711bd887a9dd21675c87243
1/**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19#ifndef _UAPI__LINUX_BRIDGE_EBT_802_3_H 20#define _UAPI__LINUX_BRIDGE_EBT_802_3_H 21#include <linux/types.h> 22#include <linux/if_ether.h> 23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24#define EBT_802_3_SAP 0x01 25#define EBT_802_3_TYPE 0x02 26#define EBT_802_3_MATCH "802_3" 27#define CHECK_TYPE 0xaa 28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29#define IS_UI 0x03 30#define EBT_802_3_MASK (EBT_802_3_SAP | EBT_802_3_TYPE | EBT_802_3) 31struct hdr_ui { 32 __u8 dsap; 33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 __u8 ssap; 35 __u8 ctrl; 36 __u8 orig[3]; 37 __be16 type; 38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39}; 40struct hdr_ni { 41 __u8 dsap; 42 __u8 ssap; 43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 __be16 ctrl; 45 __u8 orig[3]; 46 __be16 type; 47}; 48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49struct ebt_802_3_hdr { 50 __u8 daddr[ETH_ALEN]; 51 __u8 saddr[ETH_ALEN]; 52 __be16 len; 53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 union { 55 struct hdr_ui ui; 56 struct hdr_ni ni; 57 } llc; 58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59}; 60struct ebt_802_3_info { 61 __u8 sap; 62 __be16 type; 63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 __u8 bitmask; 65 __u8 invflags; 66}; 67#endif 68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69