blob: d2b73c482d76490381bf8010565087798c65c0fa [file] [log] [blame]
Nick Kralevicha67e4de2013-01-14 11:28:26 -08001/****************************************************************************
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 ****************************************************************************/
Ben Cheng655a7c02013-10-16 16:09:24 -070019#ifndef __BPQETHER_H
20#define __BPQETHER_H
Ben Cheng655a7c02013-10-16 16:09:24 -070021#include <linux/if_ether.h>
Tao Baod7db5942015-01-28 10:07:51 -080022#define SIOCSBPQETHOPT (SIOCDEVPRIVATE + 0)
Christopher Ferris6a9755d2017-01-13 14:09:31 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080024#define SIOCSBPQETHADDR (SIOCDEVPRIVATE + 1)
Ben Cheng655a7c02013-10-16 16:09:24 -070025struct bpq_ethaddr {
Tao Baod7db5942015-01-28 10:07:51 -080026 unsigned char destination[ETH_ALEN];
27 unsigned char accept[ETH_ALEN];
Christopher Ferris6a9755d2017-01-13 14:09:31 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070029};
30#define SIOCGBPQETHPARAM 0x5000
Ben Cheng655a7c02013-10-16 16:09:24 -070031#define SIOCSBPQETHPARAM 0x5001
32struct bpq_req {
Christopher Ferris6a9755d2017-01-13 14:09:31 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080034 int cmd;
35 int speed;
Tao Baod7db5942015-01-28 10:07:51 -080036 int clockmode;
37 int txdelay;
Christopher Ferris6a9755d2017-01-13 14:09:31 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080039 unsigned char persist;
40 int slotime;
Tao Baod7db5942015-01-28 10:07:51 -080041 int squeldelay;
42 int dmachan;
Christopher Ferris6a9755d2017-01-13 14:09:31 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 int irq;
Ben Cheng655a7c02013-10-16 16:09:24 -070045};
Nick Kralevicha67e4de2013-01-14 11:28:26 -080046#endif