2 * Driver-specific socket ioctls
3 * used by BSD, Linux, and PSOS
4 * Broadcom BCM44XX 10/100Mbps Ethernet Device Driver
6 * Copyright 2004, Broadcom Corporation
9 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
10 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
11 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
12 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
20 /* THESE MUST BE CONTIGUOUS AND CONSISTENT WITH VALUES IN ETC.H */
24 #define SIOCSETCUP (SIOCDEVPRIVATE + 0)
25 #define SIOCSETCDOWN (SIOCDEVPRIVATE + 1)
26 #define SIOCSETCLOOP (SIOCDEVPRIVATE + 2)
27 #define SIOCGETCDUMP (SIOCDEVPRIVATE + 3)
28 #define SIOCSETCSETMSGLEVEL (SIOCDEVPRIVATE + 4)
29 #define SIOCSETCPROMISC (SIOCDEVPRIVATE + 5)
30 #define SIOCSETCTXDOWN (SIOCDEVPRIVATE + 6) /* obsolete */
31 #define SIOCSETCSPEED (SIOCDEVPRIVATE + 7)
32 #define SIOCTXGEN (SIOCDEVPRIVATE + 8)
33 #define SIOCGETCPHYRD (SIOCDEVPRIVATE + 9)
34 #define SIOCSETCPHYWR (SIOCDEVPRIVATE + 10)
38 #define SIOCSETCUP _IOWR('e', 130 + 0, struct ifreq)
39 #define SIOCSETCDOWN _IOWR('e', 130 + 1, struct ifreq)
40 #define SIOCSETCLOOP _IOWR('e', 130 + 2, struct ifreq)
41 #define SIOCGETCDUMP _IOWR('e', 130 + 3, struct ifreq)
42 #define SIOCSETCSETMSGLEVEL _IOWR('e', 130 + 4, struct ifreq)
43 #define SIOCSETCPROMISC _IOWR('e', 130 + 5, struct ifreq)
44 #define SIOCSETCTXDOWN _IOWR('e', 130 + 6, struct ifreq) /* obsolete */
45 #define SIOCSETCSPEED _IOWR('e', 130 + 7, struct ifreq)
46 #define SIOCTXGEN _IOWR('e', 130 + 8, struct ifreq)
50 /* arg to SIOCTXGEN */
52 uint32 num
; /* number of frames to send */
53 uint32 delay
; /* delay in microseconds between sending each */
54 uint32 size
; /* size of ether frame to send */
55 uchar buf
[1514]; /* starting ether frame data */
This page took 0.049274 seconds and 5 git commands to generate.