Searched refs:inmask (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_ipaddr.c | 114 upd->rb_mask = ifa->inmask; in modify() 116 if (((upd->set & UPD_MASK) && upd->mask.s_addr != ifa->inmask.s_addr) || in modify() 119 ifa->inmask = upd->mask; in modify() 122 & ifa->inmask.s_addr; in modify() 125 & ~ifa->inmask.s_addr; in modify() 129 ifa->inmask = upd->rb_mask; in modify() 196 ifa->inmask = upd->rb_mask; in update_func() 324 value->v.ipaddress[0] = (ntohl(ifa->inmask.s_addr) >> 24) & 0xff; in op_ipaddr() 325 value->v.ipaddress[1] = (ntohl(ifa->inmask.s_addr) >> 16) & 0xff; in op_ipaddr() 326 value->v.ipaddress[2] = (ntohl(ifa->inmask.s_addr) >> 8) & 0xff; in op_ipaddr() [all …]
|
H A D | mibII.c | 637 ifa->inmask.s_addr = 0xffffffff; in alloc_ifa() 1075 ifa->inmask = sa->sin_addr; in handle_rtmsg() 1502 if (ifa->inmask.s_addr != sa->sin_addr.s_addr) { in verify_ifa() 1522 if (siocaifaddr(ifp->name, ifa->inaddr, ifa->inmask, ifa->inbcast)) in mib_undestroy_ifa() 1567 if (siocaifaddr(ifp->name, ifa->inaddr, ifa->inmask, ifa->inbcast)) { in mib_unmodify_ifa() 1588 if (siocaifaddr(ifp->name, ifa->inaddr, ifa->inmask, ifa->inbcast)) { in mib_modify_ifa() 1640 ifa->inmask = mask; in mib_create_ifa() 1643 if (siocaifaddr(ifp->name, ifa->inaddr, ifa->inmask, ifa->inbcast)) { in mib_create_ifa()
|
H A D | snmp_mibII.h | 96 struct in_addr inmask; member
|
/freebsd/contrib/netbsd-tests/net/config/ |
H A D | netconfig.c | 79 in_addr_t inaddr, inmask; in netcfg_rump_if() local 91 inmask = inet_addr(mask); in netcfg_rump_if() 105 sin->sin_addr.s_addr = inmask; in netcfg_rump_if() 111 sin->sin_addr.s_addr = inaddr | ~inmask; in netcfg_rump_if()
|
/freebsd/sys/dev/usb/ |
H A D | usb_device.c | 2208 int inmode, outmode, inmask, outmask, mode; in usb_cdev_create() local 2223 inmask = 0; in usb_cdev_create() 2243 inmask |= 1 << UE_GET_ADDR(ep); in usb_cdev_create() 2249 mode = (inmask & (1 << ep)) ? inmode : 0; in usb_cdev_create()
|