Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/wtap/if_wtapioctl.h
/*- | /*- | ||||
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD | * SPDX-License-Identifier: BSD-2-Clause-FreeBSD | ||||
* | * | ||||
* Copyright (c) 2010-2011 Monthadar Al Jaberi, TerraNet AB | * Copyright (c) 2010-2011 Monthadar Al Jaberi, TerraNet AB | ||||
* All rights reserved. | * All rights reserved. | ||||
* | * | ||||
* Copyright (c) 2002-2009 Sam Leffler, Errno Consulting | * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting | ||||
* All rights reserved. | * All rights reserved. | ||||
* | * | ||||
* Copyright (c) 2023 The FreeBSD Foundation | |||||
* | |||||
* Portions of this software were developed by En-Wei Wu | |||||
* under sponsorship from the FreeBSD Foundation. | |||||
* | |||||
* Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without | ||||
* modification, are permitted provided that the following conditions | * modification, are permitted provided that the following conditions | ||||
* are met: | * are met: | ||||
* 1. Redistributions of source code must retain the above copyright | * 1. Redistributions of source code must retain the above copyright | ||||
* notice, this list of conditions and the following disclaimer, | * notice, this list of conditions and the following disclaimer, | ||||
* without modification. | * without modification. | ||||
* 2. Redistributions in binary form must reproduce at minimum a disclaimer | * 2. Redistributions in binary form must reproduce at minimum a disclaimer | ||||
* similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any | * similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any | ||||
Show All 25 Lines | |||||
#define _DEV_WTAP_WTAPIOCTL_H | #define _DEV_WTAP_WTAPIOCTL_H | ||||
#include <sys/param.h> | #include <sys/param.h> | ||||
#include <net80211/ieee80211_radiotap.h> | #include <net80211/ieee80211_radiotap.h> | ||||
#define SIOCGATHSTATS _IOWR('i', 137, struct ifreq) | #define SIOCGATHSTATS _IOWR('i', 137, struct ifreq) | ||||
#define SIOCZATHSTATS _IOWR('i', 139, struct ifreq) | #define SIOCZATHSTATS _IOWR('i', 139, struct ifreq) | ||||
#define WTAPIOCTLCRT _IOW('W', 1, int) | #define WTAPIOCTLCRT _IOWR('W', 1, int) | ||||
#define WTAPIOCTLDEL _IOW('W', 2, int) | #define WTAPIOCTLDEL _IOW('W', 2, int) | ||||
#define WTAPIOCTLLIST _IOR('W', 3, uint64_t) | |||||
struct wtap_stats { | struct wtap_stats { | ||||
u_int32_t ast_watchdog; /* device reset by watchdog */ | u_int32_t ast_watchdog; /* device reset by watchdog */ | ||||
u_int32_t ast_hardware; /* fatal hardware error interrupts */ | u_int32_t ast_hardware; /* fatal hardware error interrupts */ | ||||
u_int32_t ast_bmiss; /* beacon miss interrupts */ | u_int32_t ast_bmiss; /* beacon miss interrupts */ | ||||
u_int32_t ast_bmiss_phantom;/* beacon miss interrupts */ | u_int32_t ast_bmiss_phantom;/* beacon miss interrupts */ | ||||
u_int32_t ast_bstuck; /* beacon stuck interrupts */ | u_int32_t ast_bstuck; /* beacon stuck interrupts */ | ||||
u_int32_t ast_rxorn; /* rx overrun interrupts */ | u_int32_t ast_rxorn; /* rx overrun interrupts */ | ||||
▲ Show 20 Lines • Show All 121 Lines • Show Last 20 Lines |