*: Remove sys/ioctl.h from zebra.h

Practically no-one uses this and ioctls are pretty much
wrappered.  Further wrappering could make this even better.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2024-01-04 14:42:17 -05:00
parent 88f8c90073
commit 2700519cb3
10 changed files with 11 additions and 1 deletions

View file

@ -12,6 +12,7 @@
*/
#include <zebra.h>
#include <sys/ioctl.h>
#ifdef GNU_LINUX
#include <linux/filter.h>

View file

@ -6,6 +6,8 @@
#include "zebra.h"
#include <sys/ioctl.h>
#include "pullwr.h"
#include "memory.h"
#include "monotime.h"

View file

@ -5,6 +5,7 @@
*/
#include <zebra.h>
#include <sys/ioctl.h>
#include "if.h"
#include "vrf.h"

View file

@ -36,7 +36,6 @@
#include <sys/sysctl.h>
#endif
#endif /* HAVE_SYS_SYSCTL_H */
#include <sys/ioctl.h>
#ifdef HAVE_SYS_CONF_H
#include <sys/conf.h>
#endif /* HAVE_SYS_CONF_H */

View file

@ -7,6 +7,7 @@
#include <errno.h>
#include <linux/if_packet.h>
#include <sys/ioctl.h>
#include "nhrp_protocol.h"
#include "os.h"

View file

@ -6,6 +6,7 @@
*/
#include <zebra.h>
#include <sys/ioctl.h>
#include "lib/json.h"
#include "command.h"

View file

@ -6,6 +6,7 @@
#include <zebra.h>
#include <netinet/icmp6.h>
#include <sys/ioctl.h>
#include "log.h"
#include "privs.h"

View file

@ -5,6 +5,7 @@
*/
#include <zebra.h>
#include <sys/ioctl.h>
#ifdef OPEN_BSD

View file

@ -6,6 +6,8 @@
#include <zebra.h>
#include <sys/ioctl.h>
#include "linklist.h"
#include "if.h"
#include "prefix.h"

View file

@ -4,6 +4,7 @@
*/
#include <zebra.h>
#include <sys/ioctl.h>
#ifdef OPEN_BSD