Home
last modified time | relevance | path

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

/linux/fs/afs/
H A Daddr_prefs.c138 pref->subnet_mask = mask; in afs_parse_address()
155 int subnet = min(a->subnet_mask, b->subnet_mask); in afs_cmp_address_pref()
195 if (a->subnet_mask == b->subnet_mask) in afs_cmp_address_pref()
197 if (a->subnet_mask > b->subnet_mask) in afs_cmp_address_pref()
473 test.subnet_mask = 32; in afs_get_address_preferences_rcu()
495 test.subnet_mask = 128; in afs_get_address_preferences_rcu()
H A Dproc.c184 snprintf(buf, sizeof(buf), "%pISc/%u", &addr.sin, pref->subnet_mask); in afs_proc_addr_prefs_show()
189 snprintf(buf, sizeof(buf), "%pISc/%u", &addr.sin6, pref->subnet_mask); in afs_proc_addr_prefs_show()
H A Dinternal.h86 u8 subnet_mask; /* How many bits to compare */ member
/linux/drivers/scsi/qedi/
H A Dqedi_nvm_iscsi_cfg.h38 union nvm_iscsi_ipv4_addr subnet_mask; /* 0x4 */ member
54 union nvm_iscsi_ipv6_addr subnet_mask; /* 0x10 */ member
/linux/drivers/scsi/be2iscsi/
H A Dbe_mgmt.c538 memcpy(req->ip_params.ip_record.ip_addr.subnet_mask, in beiscsi_if_clr_ip()
539 if_info->ip_addr.subnet_mask, in beiscsi_if_clr_ip()
540 sizeof(if_info->ip_addr.subnet_mask)); in beiscsi_if_clr_ip()
577 memcpy(req->ip_params.ip_record.ip_addr.subnet_mask, in beiscsi_if_set_ip()
H A Dbe_cmds.h494 u8 subnet_mask[16]; member
H A Dbe_iscsi.c543 len = sprintf(buf, "%pI4\n", if_info->ip_addr.subnet_mask); in __beiscsi_iface_get_param()
/linux/tools/hv/
H A Dhv_kvp_daemon.c1210 uint32_t subnet_mask = ntohl(subnet_addr4.s_addr); in kvp_subnet_to_plen() local
1212 while (subnet_mask & 0x80000000) { in kvp_subnet_to_plen()
1214 subnet_mask <<= 1; in kvp_subnet_to_plen()
/linux/drivers/scsi/qla4xxx/
H A Dql4_def.h471 uint8_t subnet_mask[IP_ADDR_LEN]; member
H A Dql4_mbx.c475 memcpy(ha->ip_config.subnet_mask, init_fw_cb->ipv4_subnet, in qla4xxx_update_local_ip()
476 min(sizeof(ha->ip_config.subnet_mask), in qla4xxx_update_local_ip()
H A Dql4_os.c1282 &ha->ip_config.subnet_mask); in qla4xxx_get_iface_param()