summaryrefslogtreecommitdiff
path: root/mainline/runtime/sdk/android/x86_64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebtables.h
diff options
context:
space:
mode:
authorKalesh Singh <kaleshsingh@google.com>2024-01-31 07:58:16 -0800
committerKalesh Singh <kaleshsingh@google.com>2024-01-31 07:58:24 -0800
commit9f2b634c25c4af1a26f6a92263fef48377f0ddec (patch)
tree33e8bdce25c4bdd468ab14d808c040d56b42bb9f /mainline/runtime/sdk/android/x86_64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebtables.h
parent553d413953d518a56f665c09b9e9457c713da144 (diff)
downloadruntime-9f2b634c25c4af1a26f6a92263fef48377f0ddec.tar.gz
Update ART dependencies prebuilts.
Taken from branch aosp-main, target mainline_modules_sdks-trunk_staging-userdebug, build 11379957. CL prepared by prebuilts/runtime/mainline/update.py. Bug: 316403210 Test: Presubmits Change-Id: Iab2e6fcbe848d01912d90d24cf28cac1730e9c39 Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Diffstat (limited to 'mainline/runtime/sdk/android/x86_64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebtables.h')
-rw-r--r--mainline/runtime/sdk/android/x86_64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebtables.h35
1 files changed, 12 insertions, 23 deletions
diff --git a/mainline/runtime/sdk/android/x86_64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebtables.h b/mainline/runtime/sdk/android/x86_64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebtables.h
index d87d65e6..b698b8b1 100644
--- a/mainline/runtime/sdk/android/x86_64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebtables.h
+++ b/mainline/runtime/sdk/android/x86_64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebtables.h
@@ -1,21 +1,9 @@
-/****************************************************************************
- ****************************************************************************
- ***
- *** This header was automatically generated from a Linux kernel header
- *** of the same name, to make information necessary for userspace to
- *** call into the kernel available to libc. It contains only constants,
- *** structures, and macros generated from the original header, and thus,
- *** contains no copyrightable information.
- ***
- *** To edit the content of this header, modify the corresponding
- *** source file (e.g. under external/kernel-headers/original/) then
- *** run bionic/libc/kernel/tools/update_all.py
- ***
- *** Any manual change here will be lost the next time this script will
- *** be run. You've been warned!
- ***
- ****************************************************************************
- ****************************************************************************/
+/*
+ * This file is auto-generated. Modifications will be lost.
+ *
+ * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
+ * for more information.
+ */
#ifndef _UAPI__LINUX_BRIDGE_EFF_H
#define _UAPI__LINUX_BRIDGE_EFF_H
#include <linux/types.h>
@@ -63,7 +51,7 @@ struct ebt_entries {
unsigned int counter_offset;
int policy;
unsigned int nentries;
- char data[0] __attribute__((aligned(__alignof__(struct ebt_replace))));
+ char data[] __attribute__((aligned(__alignof__(struct ebt_replace))));
};
#define EBT_ENTRY_OR_ENTRIES 0x01
#define EBT_NOPROTO 0x02
@@ -88,7 +76,7 @@ struct ebt_entry_match {
struct xt_match * match;
} u;
unsigned int match_size;
- unsigned char data[0] __attribute__((aligned(__alignof__(struct ebt_replace))));
+ unsigned char data[] __attribute__((aligned(__alignof__(struct ebt_replace))));
};
struct ebt_entry_watcher {
union {
@@ -99,7 +87,7 @@ struct ebt_entry_watcher {
struct xt_target * watcher;
} u;
unsigned int watcher_size;
- unsigned char data[0] __attribute__((aligned(__alignof__(struct ebt_replace))));
+ unsigned char data[] __attribute__((aligned(__alignof__(struct ebt_replace))));
};
struct ebt_entry_target {
union {
@@ -129,10 +117,11 @@ struct ebt_entry {
unsigned char sourcemsk[ETH_ALEN];
unsigned char destmac[ETH_ALEN];
unsigned char destmsk[ETH_ALEN];
- unsigned int watchers_offset;
+ __struct_group(, offsets,, unsigned int watchers_offset;
unsigned int target_offset;
unsigned int next_offset;
- unsigned char elems[0] __attribute__((aligned(__alignof__(struct ebt_replace))));
+ );
+ unsigned char elems[] __attribute__((aligned(__alignof__(struct ebt_replace))));
};
#define EBT_BASE_CTL 128
#define EBT_SO_SET_ENTRIES (EBT_BASE_CTL)