Home
last modified time | relevance | path

Searched refs:oifreq (Results 1 – 11 of 11) sorted by relevance

/netbsd/src/sys/compat/sys/
Dsockio.h38 #define OSIOCSIFADDR _IOW('i', 12, struct oifreq) /* set ifnet address */
39 #define OOSIOCGIFADDR _IOWR('i', 13, struct oifreq) /* get ifnet address */
40 #define OSIOCSIFDSTADDR _IOW('i', 14, struct oifreq) /* set p-p address */
41 #define OOSIOCGIFDSTADDR _IOWR('i', 15, struct oifreq) /* get p-p address */
42 #define OSIOCSIFFLAGS _IOW('i', 16, struct oifreq) /* set ifnet flags */
43 #define OSIOCGIFFLAGS _IOWR('i', 17, struct oifreq) /* get ifnet flags */
44 #define OOSIOCGIFBRDADDR _IOWR('i', 18, struct oifreq) /* get bcast addr */
45 #define OSIOCSIFBRDADDR _IOW('i', 19, struct oifreq) /* set bcast addr */
47 #define OOSIOCGIFNETMASK _IOWR('i', 21, struct oifreq) /* get net addr mask */
48 #define OSIOCSIFNETMASK _IOW('i', 22, struct oifreq) /* set net addr mask */
[all …]
/netbsd/src/sys/compat/ultrix/
Dultrix_ioctl.c677 struct oifreq ifreq; \ in ultrix_sys_ioctl()
684 struct oifreq ifreq; \ in ultrix_sys_ioctl()
692 case _IOW('i', 12, struct oifreq): in ultrix_sys_ioctl()
696 case _IOWR('i', 13, struct oifreq): in ultrix_sys_ioctl()
699 case _IOW('i', 14, struct oifreq): in ultrix_sys_ioctl()
703 case _IOWR('i', 15, struct oifreq): in ultrix_sys_ioctl()
706 case _IOW('i', 16, struct oifreq): in ultrix_sys_ioctl()
710 case _IOWR('i', 17, struct oifreq): in ultrix_sys_ioctl()
714 case _IOWR('i', 18, struct oifreq): in ultrix_sys_ioctl()
717 case _IOWR('i', 19, struct oifreq): in ultrix_sys_ioctl()
[all …]
/netbsd/src/sys/compat/sunos/
Dsunos_ioctl.c634 struct oifreq ifreq; \ in sunos_sys_ioctl()
642 struct oifreq ifreq; \ in sunos_sys_ioctl()
652 case _IOW('i', 12, struct oifreq): /* SIOCSIFADDR */ in sunos_sys_ioctl()
653 case _IOW('i', 14, struct oifreq): /* SIOCSIFDSTADDR */ in sunos_sys_ioctl()
654 case _IOW('i', 16, struct oifreq): /* SIOCSIFFLAGS */ in sunos_sys_ioctl()
655 case _IOWR('i', 17, struct oifreq): /* SIOCGIFFLAGS */ in sunos_sys_ioctl()
661 case _IOWR('i', 13, struct oifreq): in sunos_sys_ioctl()
664 case _IOWR('i', 15, struct oifreq): in sunos_sys_ioctl()
667 case _IOW('i', 21, struct oifreq): in sunos_sys_ioctl()
670 case _IOWR('i', 22, struct oifreq): in sunos_sys_ioctl()
[all …]
/netbsd/src/sys/compat/sunos32/
Dsunos32_ioctl.c657 struct oifreq ifreq; \ in sunos32_sys_ioctl()
664 struct oifreq ifreq; \ in sunos32_sys_ioctl()
673 case _IOW('i', 12, struct oifreq): in sunos32_sys_ioctl()
677 case _IOWR('i', 13, struct oifreq): in sunos32_sys_ioctl()
680 case _IOW('i', 14, struct oifreq): in sunos32_sys_ioctl()
684 case _IOWR('i', 15, struct oifreq): in sunos32_sys_ioctl()
687 case _IOW('i', 16, struct oifreq): in sunos32_sys_ioctl()
691 case _IOWR('i', 17, struct oifreq): in sunos32_sys_ioctl()
695 case _IOW('i', 21, struct oifreq): in sunos32_sys_ioctl()
698 case _IOWR('i', 22, struct oifreq): in sunos32_sys_ioctl()
[all …]
/netbsd/src/tests/net/if/
Dt_compat.c22 struct oifreq { struct
40 #define OOSIOCGIFBRDADDR _IOWR('i', 18, struct oifreq) argument
53 struct oifreq ifreq; in ATF_TC_BODY()
/netbsd/src/sys/compat/freebsd/
Dfreebsd_ioctl.h50 #define FREEBSD_SIOCGIFMTU _IOWR('i', 51, struct oifreq)
51 #define FREEBSD_SIOCSIFMTU _IOW('i', 52, struct oifreq)
/netbsd/src/sys/compat/net/
Dif.h71 struct oifreq { struct
93 struct oifreq *ifcu_req; argument
/netbsd/src/sys/compat/common/
Duipc_syscalls_40.c41 struct oifreq ifr, *ifrp = NULL; in compat_ifconf()
132 ifrp = (struct oifreq *) in compat_ifconf()
Dif_43.c98 if (IOCPARM_LEN(cmd) != sizeof(struct oifreq)) in compat_cvtcmd()
230 struct oifreq *oifr = NULL; in compat_ifioctl()
/netbsd/src/sys/compat/netbsd32/
Dnetbsd32_ioctl.c139 netbsd32_to_oifreq(struct netbsd32_oifreq *s32p, struct oifreq *p, u_long cmd) in netbsd32_to_oifreq()
694 netbsd32_from_oifreq(struct oifreq *p, in netbsd32_from_oifreq()
1565 IOCTL_STRUCT_CONV_TO(OSIOCGIFFLAGS, oifreq); in netbsd32_ioctl()
1567 IOCTL_STRUCT_CONV_TO(OSIOCSIFFLAGS, oifreq); in netbsd32_ioctl()
/netbsd/src/sys/net/
Dif.c3456 struct oifreq *oifr = NULL; in doifioctl()
3745 struct oifreq *oifr = NULL; in ifreq_setaddr()
3752 oifr = (struct oifreq *)(void *)ifr; in ifreq_setaddr()