]>
git.proxmox.com Git - mirror_frr.git/blob - zebra/ioctl.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Common ioctl functions.
4 * Copyright (C) 1998 Kunihiro Ishiguro
15 extern void ifreq_set_name(struct ifreq
*, struct interface
*);
16 extern int if_ioctl(unsigned long, caddr_t
);
17 extern int vrf_if_ioctl(unsigned long request
, caddr_t buffer
, vrf_id_t vrf_id
);
19 extern int if_set_flags(struct interface
*, uint64_t);
20 extern int if_unset_flags(struct interface
*, uint64_t);
21 extern void if_get_flags(struct interface
*);
23 extern void if_get_metric(struct interface
*);
24 extern void if_get_mtu(struct interface
*);
26 #define AF_IOCTL(af, request, buffer) if_ioctl(request, buffer)
32 #endif /* _ZEBRA_IOCTL_H */