/src/usr.sbin/bootp/common/ |
getif.h | 5 extern struct ifreq *getif(int, struct in_addr *);
|
getif.c | 24 #include <net/if.h> /* for struct ifreq */ 41 static struct ifreq ifreq[10]; /* Holds interface configuration */ variable in typeref:struct:ifreq[10] 42 static struct ifconf ifconf; /* points to ifreq */ 47 struct ifreq * 54 struct ifreq *ifrq, *ifrmax; 60 return (struct ifreq *) 0; 72 ioc.ic_len = sizeof(ifreq); 73 ioc.ic_dp = (char *) ifreq; 76 ifconf.ifc_req = ifreq; [all...] |
trygetif.c | 19 #include <net/if.h> /* for struct ifreq */ 35 struct ifreq *ifr;
|
/src/sys/sys/ |
sockio.h | 54 #define SIOCSIFADDR _IOW('i', 12, struct ifreq) /* set ifnet address */ 55 #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) /* get ifnet address */ 57 #define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq) /* set p-p address */ 58 #define SIOCGIFDSTADDR _IOWR('i', 34, struct ifreq) /* get p-p address */ 60 #define SIOCSIFFLAGS _IOW('i', 16, struct ifreq) /* set ifnet flags */ 61 #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) /* get ifnet flags */ 63 #define SIOCGIFBRDADDR _IOWR('i', 35, struct ifreq) /* get broadcast addr */ 64 #define SIOCSIFBRDADDR _IOW('i', 19, struct ifreq) /* set broadcast addr */ 68 #define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq) /* get net addr mask */ 69 #define SIOCSIFNETMASK _IOW('i', 22, struct ifreq) /* set net addr mask * [all...] |
/src/sys/net/ |
if_tap.h | 35 #define TAPGIFNAME _IOR('e', 0, struct ifreq)
|
if_gre.h | 160 #define GRESADDRS _IOW('i', 101, struct ifreq) 161 #define GRESADDRD _IOW('i', 102, struct ifreq) 162 #define GREGADDRS _IOWR('i', 103, struct ifreq) 163 #define GREGADDRD _IOWR('i', 104, struct ifreq) 164 #define GRESPROTO _IOW('i', 105, struct ifreq) 165 #define GREGPROTO _IOWR('i', 106, struct ifreq) 166 #define GRESSOCK _IOW('i', 107, struct ifreq) 167 #define GREDSOCK _IOW('i', 108, struct ifreq)
|
if_l2tp.h | 47 #define SIOCSL2TPSESSION _IOW('i', 151, struct ifreq) 48 #define SIOCDL2TPSESSION _IOW('i', 152, struct ifreq) 49 #define SIOCSL2TPCOOKIE _IOW('i', 153, struct ifreq) 50 #define SIOCDL2TPCOOKIE _IOW('i', 154, struct ifreq) 51 #define SIOCSL2TPSTATE _IOW('i', 155, struct ifreq)
|
/src/sys/netatalk/ |
phase2.h | 38 #define SIOCPHASE1 _IOW('i', 100, struct ifreq) /* AppleTalk phase 1 */ 39 #define SIOCPHASE2 _IOW('i', 101, struct ifreq) /* AppleTalk phase 2 */
|
/src/tests/net/if/ |
t_compat.c | 53 struct oifreq ifreq; local in function:ATF_TC_BODY 57 memset(&ifreq,'\0',sizeof ifreq); 65 sprintf(ifreq.ifr_name, "shmif%d", ifnum); 66 netcfg_rump_if(ifreq.ifr_name, "1.7.64.10", "255.255.0.0"); 72 RL(rump_sys_ioctl(fd, OOSIOCGIFBRDADDR, &ifreq)); 75 sin = (struct sockaddr_in *)&ifreq.ifr_broadaddr;
|
ifconf.c | 69 return ifc.ifc_len / sizeof(struct ifreq); 83 struct ifreq *ifreqs; 91 ifreqs = malloc(sizeof(struct ifreq) * nifreqs); 93 err(EXIT_FAILURE, "malloc(sizeof(ifreq) * %d)", nifreqs); 99 ifc.ifc_len = sizeof(struct ifreq) * nifreqs; 107 for (i=0; i < (int)(ifc.ifc_len / sizeof(struct ifreq)); i++) {
|
/src/sys/dev/pcmcia/ |
if_cnwioctl.h | 61 struct ifreq ifr; 84 struct ifreq ifr; 97 struct ifreq ifr; 105 #define SIOCSCNWDOMAIN _IOW('i', 254, struct ifreq) /* set domain */ 106 #define SIOCGCNWDOMAIN _IOWR('i', 253, struct ifreq) /* get domain */ 107 #define SIOCSCNWKEY _IOWR('i', 252, struct ifreq) /* set scramble key */
|
/src/sys/net/agr/ |
if_agrsubr.h | 50 struct ifreq *, bool);
|
if_agrether.c | 61 static int agrether_configmulti_ifreq(struct agr_softc *, struct ifreq *, 139 struct ifreq ifr; 203 struct ifreq ifr; 248 agrether_configmulti_ifreq(struct agr_softc *sc, struct ifreq *ifr,
|
/src/usr.sbin/bootp/bootptest/ |
getether.c | 78 #include <net/if.h> /* for struct ifreq */ 86 struct ifreq ifrnit; 133 struct ifreq ibuf[16]; 135 struct ifreq *ifrp, *ifend; 146 ifc.ifc_len < (int)sizeof(struct ifreq)) { 152 ifend = (struct ifreq *) ((char *) ibuf + ifc.ifc_len); 166 ifrp = (struct ifreq *) ((char *) ifrp + n); 340 #include <net/if.h> /* struct ifreq */ 350 struct ifreq phys;
|
/src/usr.sbin/iwictl/ |
iwictl.c | 50 #define SIOCGRADIO _IOWR('i', 139, struct ifreq) 51 #define SIOCGTABLE0 _IOWR('i', 140, struct ifreq) 114 struct ifreq ifr;
|
/src/share/examples/rump/wirelessconf/ |
wirelessconf.c | 53 struct ifreq ifr;
|
/src/usr.sbin/wiconfig/ |
wiconfig.c | 124 struct ifreq ifreq; local in function:get_if_flags 127 strncpy(ifreq.ifr_name, name, sizeof(ifreq.ifr_name)); 128 if (ioctl(s, SIOCGIFFLAGS, (caddr_t)&ifreq) == -1) 130 flags = ifreq.ifr_flags; 138 struct ifreq ifreq; local in function:set_if_flags 140 ifreq.ifr_flags = flags; 141 strncpy(ifreq.ifr_name, name, sizeof(ifreq.ifr_name)) [all...] |
/src/sys/compat/common/ |
if_media_80.c | 96 compat_ifmediareq_pre(struct ifreq *ifr, u_long *cmd, bool *do_post) 126 compat_ifmediareq_post(struct ifreq *ifr, u_long cmd)
|
ieee80211_20.c | 102 struct ifreq *ifr; 109 ifr = (struct ifreq *)data;
|
/src/tests/net/bpf/ |
t_bpf.c | 80 struct ifreq ifr; 110 struct ifreq ifr; 180 struct ifreq ifr; 212 struct ifreq ifr; 239 struct ifreq ifr; 266 struct ifreq ifr; 298 struct ifreq ifr;
|
/src/usr.sbin/mopd/common/ |
pf.c | 74 struct ifreq ifr; 151 struct ifreq ifr; 184 struct ifreq ifr;
|
/src/sys/dev/pci/ |
if_ipwvar.h | 171 #define SIOCGRADIO _IOWR('i', 139, struct ifreq) 172 #define SIOCGTABLE1 _IOWR('i', 140, struct ifreq)
|
if_iwivar.h | 181 #define SIOCGRADIO _IOWR('i', 139, struct ifreq) 182 #define SIOCGTABLE0 _IOWR('i', 140, struct ifreq)
|
/src/sys/compat/netbsd32/ |
netbsd32_ioctl.c | 118 netbsd32_to_ifreq(struct netbsd32_ifreq *s32p, struct ifreq *p, u_long cmd) 124 * struct ifreq says the same, but sometimes the ifr_data 145 * struct ifreq says the same, but sometimes the ifr_data 673 netbsd32_from_ifreq(struct ifreq *p, struct netbsd32_ifreq *s32p, u_long cmd) 678 * struct ifreq says the same, but sometimes the ifr_data 700 * struct ifreq says the same, but sometimes the ifr_data 1484 * only a few ifreq syscalls need conversion and those are 1489 IOCTL_STRUCT_CONV_TO(SIOCGADDRROM32, ifreq); 1491 IOCTL_STRUCT_CONV_TO(SIOCGCHIPID, ifreq); 1493 IOCTL_STRUCT_CONV_TO(SIOCSIFADDR, ifreq); [all...] |
/src/lib/libc/net/ |
if_nametoindex.c | 77 struct ifreq ifr;
|