Searched refs:ifreq (Results 1 - 25 of 214) sorted by relevance

123456789

/openbsd-current/sys/sys/
H A Dsockio.h45 #define SIOCSIFADDR _IOW('i', 12, struct ifreq) /* set ifnet address */
46 #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) /* get ifnet address */
47 #define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq) /* set p-p address */
48 #define SIOCGIFDSTADDR _IOWR('i', 34, struct ifreq) /* get p-p address */
49 #define SIOCSIFFLAGS _IOW('i', 16, struct ifreq) /* set ifnet flags */
50 #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) /* get ifnet flags */
51 #define SIOCGIFBRDADDR _IOWR('i', 35, struct ifreq) /* get broadcast addr */
52 #define SIOCSIFBRDADDR _IOW('i', 19, struct ifreq) /* set broadcast addr */
54 #define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq) /* get net addr mask */
55 #define SIOCSIFNETMASK _IOW('i', 22, struct ifreq) /* se
[all...]
/openbsd-current/sbin/isakmpd/
H A Dif.h37 struct ifreq;
/openbsd-current/sys/dev/ic/
H A Dif_wi_hostap.h56 #define SIOCHOSTAP_GET _IOWR('i', 200, struct ifreq)
57 #define SIOCHOSTAP_ADD _IOWR('i', 201, struct ifreq)
58 #define SIOCHOSTAP_DEL _IOWR('i', 202, struct ifreq)
59 #define SIOCHOSTAP_GETALL _IOWR('i', 203, struct ifreq)
60 #define SIOCHOSTAP_GFLAGS _IOWR('i', 204, struct ifreq)
61 #define SIOCHOSTAP_SFLAGS _IOWR('i', 205, struct ifreq)
/openbsd-current/usr.bin/systat/
H A Dmbufs.c265 struct ifreq ifreq; local
268 memset(&ifreq, 0, sizeof(ifreq));
269 strlcpy(ifreq.ifr_name, ifa->ifa_name,
270 sizeof(ifreq.ifr_name));
271 ifreq.ifr_data = (caddr_t)&ifi->data;
273 rv = ioctl(sock, SIOCGIFRXR, &ifreq);
/openbsd-current/sys/net80211/
H A Dieee80211_ioctl.h117 #define SIOCG80211STATS _IOWR('i', 242, struct ifreq)
125 #define SIOCS80211NWID _IOWR('i', 230, struct ifreq)
126 #define SIOCG80211NWID _IOWR('i', 231, struct ifreq)
128 /* network key (WEP), the first member must be matched with struct ifreq */
271 #define SIOCS80211SCAN _IOW('i', 210, struct ifreq)
274 #define SIOCS80211JOIN _IOWR('i', 255, struct ifreq)
275 #define SIOCG80211JOIN _IOWR('i', 0, struct ifreq)
425 #define SIOCG80211FLAGS _IOWR('i', 216, struct ifreq)
426 #define SIOCS80211FLAGS _IOW('i', 217, struct ifreq)
/openbsd-current/lib/libpcap/
H A Dinet.c154 struct ifreq *ifrp, *ifend, *ifnext, *mp;
156 struct ifreq ibuf[16], ifr;
170 ifc.ifc_len < sizeof(struct ifreq)) {
177 ifend = (struct ifreq *)((char *)ibuf + ifc.ifc_len);
187 ifnext = (struct ifreq *)((char *)ifrp + n);
243 struct ifreq ifr;
/openbsd-current/sys/net/
H A Dif_vlan.c138 int vlan_multi_add(struct vlan_softc *, struct ifreq *);
139 int vlan_multi_del(struct vlan_softc *, struct ifreq *);
143 int vlan_media_get(struct vlan_softc *, struct ifreq *);
146 int vlan_setlladdr(struct vlan_softc *, struct ifreq *);
148 int vlan_set_compat(struct ifnet *, struct ifreq *);
149 int vlan_get_compat(struct ifnet *, struct ifreq *);
678 struct ifreq *ifr = (struct ifreq *)data;
838 vlan_setlladdr(struct vlan_softc *sc, struct ifreq *ifr)
974 vlan_set_compat(struct ifnet *ifp, struct ifreq *if
1195 struct ifreq ifreq; member in union:__anon64
1200 } ifreq; local
[all...]
H A Dif_trunk.h202 struct ifreq ifreq; member in union:trunk_ifreq::__anon152
207 } ifreq; member in struct:trunk_ifreq
H A Dif_vether.c139 struct ifreq *ifr = (struct ifreq *)data;
H A Dif_pair.c195 struct ifreq *ifr = (struct ifreq *)data;
H A Dif_enc.c176 struct ifreq *ifr = (struct ifreq *)data;
H A Dif_loop.c290 struct ifreq *ifr;
314 ifr = (struct ifreq *)data;
H A Dbpf.h103 #define BIOCGETIF _IOR('B',107, struct ifreq)
104 #define BIOCSETIF _IOW('B',108, struct ifreq)
H A Dif_trunk.c74 int trunk_ether_addmulti(struct trunk_softc *, struct ifreq *);
75 int trunk_ether_delmulti(struct trunk_softc *, struct ifreq *);
619 struct ifreq *ifr = (struct ifreq *)data;
885 trunk_ether_addmulti(struct trunk_softc *tr, struct ifreq *ifr)
920 trunk_ether_delmulti(struct trunk_softc *tr, struct ifreq *ifr)
966 struct ifreq *ifr = &ifs.ifreq.ifreq;
985 struct ifreq *if
[all...]
H A Dif_mpip.c192 mpip_set_label(struct mpip_softc *sc, struct ifreq *ifr)
215 mpip_get_label(struct mpip_softc *sc, struct ifreq *ifr)
321 mpip_del_neighbor(struct mpip_softc *sc, struct ifreq *req)
344 struct ifreq *ifr = (struct ifreq *)data;
/openbsd-current/usr.sbin/mopd/common/
H A Dpf.c79 struct ifreq ifr;
161 struct ifreq ifr;
193 struct ifreq ifr;
/openbsd-current/usr.sbin/hostapd/
H A Dllc.c47 struct ifreq ifr;
53 bzero(&ifr, sizeof(struct ifreq));
/openbsd-current/usr.sbin/mopd/otherOS/
H A Dpf-snit.c57 /* struct ifreq ifr; */
89 struct ifreq ifr;
208 struct ifreq ifr;
230 struct ifreq ifr;
266 struct ifreq ifr;
/openbsd-current/usr.bin/netstat/
H A Dnet80211.c43 struct ifreq ifr;
/openbsd-current/regress/sys/copy/
H A Dcopy.c39 struct ifreq ifrdesc;
/openbsd-current/usr.sbin/dhcrelay/
H A Ddhcpd.h104 struct ifreq ifr;
/openbsd-current/usr.sbin/dhcrelay6/
H A Ddhcpd.h101 struct ifreq ifr;
/openbsd-current/games/hunt/hunt/
H A Dlist.c214 struct ifreq *ifr;
274 i += len, ifr = (struct ifreq *)((caddr_t)ifr + len)) {
/openbsd-current/sys/netinet/
H A Din.c222 struct ifreq *ifr = (struct ifreq *)data;
342 struct ifreq *ifr = (struct ifreq *)data;
538 struct ifreq *ifr = (struct ifreq *)data;
832 struct ifreq ifr;
888 struct ifreq ifr;
H A Dif_ether.h275 int ether_addmulti(struct ifreq *, struct arpcom *);
276 int ether_delmulti(struct ifreq *, struct arpcom *);

Completed in 420 milliseconds

123456789