/openbmc/webui-vue/src/views/Settings/Network/ |
H A D | ModalMacAddress.vue | 12 :label="$t('pageNetwork.macAddress')" 13 label-for="macAddress" 17 v-model.trim="form.macAddress" 18 data-test-id="network-input-macAddress" 20 :state="getValidationState(v$.form.macAddress)" 21 @change="v$.form.macAddress.$touch()" 24 <div v-if="v$.form.macAddress.required.$invalid"> 27 <div v-if="v$.form.macAddress.macAddress.$invalid"> 55 import { macAddress } from 'vuelidate/lib/validators'; 61 macAddress: { [all …]
|
H A D | NetworkInterfaceSettings.vue | 38 {{ $t('pageNetwork.macAddress') }} 50 {{ dataFormatter(macAddress) }} 87 macAddress: '', 112 this.macAddress = this.ethernetData[this.selectedInterface].MACAddress;
|
H A D | Network.vue | 153 ].macAddress;
|
/openbmc/phosphor-networkd/src/ |
H A D | ethernet_interface.cpp | 151 MacAddressIntf::macAddress(stdplus::toStr(*info.mac), skipSignal); in updateInfo() 222 it->second->NeighborObj::macAddress(stdplus::toStr(*info.mac)); in addStaticNeigh() 337 std::string macAddress) in neighbor() argument 355 lladdr.emplace(stdplus::fromStr<stdplus::EtherAddr>(macAddress)); in neighbor() 360 macAddress, "ERROR", e); in neighbor() 362 Argument::ARGUMENT_VALUE(macAddress.c_str())); in neighbor() 376 if (it->second->macAddress() == str) in neighbor() 380 it->second->NeighborObj::macAddress(str); in neighbor() 659 auto macStr = MacAddressIntf::macAddress(); in createVLAN() 757 auto mac = MacAddressIntf::macAddress(); in writeConfigurationFile() [all …]
|
H A D | neighbor.hpp | 51 using NeighborObj::macAddress; 52 std::string macAddress(std::string) override;
|
H A D | ethernet_interface.hpp | 135 ObjectPath neighbor(std::string ipAddress, std::string macAddress) override; 176 std::string macAddress(std::string value) override; 234 using MacAddressIntf::macAddress;
|
H A D | neighbor.cpp | 41 NeighborObj::macAddress(stdplus::toStr(lladdr), true); in Neighbor() 74 std::string Neighbor::macAddress(std::string /*macAddress*/) in macAddress() function in phosphor::network::Neighbor
|
H A D | inventory_mac.cpp | 59 auto returnMAC = interface.second->macAddress(mac); in setFirstBootMACOnInterface()
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | ethernet.hpp | 109 std::optional<std::string> macAddress; member 226 ethData.macAddress = *mac; in extractEthernetInterfaceData() 1301 const std::string& ifaceId, const std::string& macAddress, in handleMACAddressPatch() argument 1308 "xyz.openbmc_project.Network.MACAddress", "MACAddress", macAddress); in handleMACAddressPatch() 1877 if (ethData.macAddress) in parseInterfaceData() 1879 jsonResponse["MACAddress"] = *ethData.macAddress; in parseInterfaceData() 2307 std::optional<std::string> macAddress; in requestEthernetInterfacesRoutes() local 2345 "MACAddress", macAddress, // in requestEthernetInterfacesRoutes() 2360 fqdn = std::move(fqdn), macAddress = std::move(macAddress), in requestEthernetInterfacesRoutes() 2405 if (macAddress) in requestEthernetInterfacesRoutes() [all …]
|
/openbmc/phosphor-networkd/test/ |
H A D | test_ethernet_interface.cpp | 78 EXPECT_EQ("", interface.macAddress()); in TEST_F() 95 EXPECT_EQ(stdplus::toStr(mac), intf.macAddress()); in TEST_F()
|
/openbmc/linux/drivers/net/ethernet/tehuti/ |
H A D | tehuti.c | 842 u16 macAddress[3], i; in bdx_read_mac() local 846 macAddress[2] = READ_REG(priv, regUNC_MAC0_A); in bdx_read_mac() 847 macAddress[2] = READ_REG(priv, regUNC_MAC0_A); in bdx_read_mac() 848 macAddress[1] = READ_REG(priv, regUNC_MAC1_A); in bdx_read_mac() 849 macAddress[1] = READ_REG(priv, regUNC_MAC1_A); in bdx_read_mac() 850 macAddress[0] = READ_REG(priv, regUNC_MAC2_A); in bdx_read_mac() 851 macAddress[0] = READ_REG(priv, regUNC_MAC2_A); in bdx_read_mac() 853 addr[i * 2 + 1] = macAddress[i]; in bdx_read_mac() 854 addr[i * 2] = macAddress[i] >> 8; in bdx_read_mac()
|
/openbmc/linux/drivers/scsi/qla4xxx/ |
H A D | ql4_nvram.h | 98 u8 macAddress[6]; member
|
/openbmc/phosphor-webui/app/common/services/ |
H A D | api-utils.js | 281 var macAddress = ''; 356 macAddress = 365 mac_address: macAddress,
|
/openbmc/webui-vue/src/store/modules/Settings/ |
H A D | NetworkStore.js | 55 macAddress: MACAddress,
|
/openbmc/fb-ipmi-oem/src/ |
H A D | oemcommands.cpp | 480 std::string macAddress; in getNetworkData() local 489 macAddress = std::get<std::string>(variant); in getNetworkData() 491 sscanf(macAddress.c_str(), ipmi::network::MAC_ADDRESS_FORMAT, in getNetworkData() 494 std::strcpy(data, macAddress.c_str()); in getNetworkData()
|
/openbmc/linux/drivers/net/ethernet/qlogic/ |
H A D | qla3xxx.h | 857 u16 macAddress[3]; member
|
H A D | qla3xxx.c | 3836 ql_set_mac_addr(ndev, qdev->nvram_data.funcCfg_fn2.macAddress); in ql3xxx_probe() 3839 ql_set_mac_addr(ndev, qdev->nvram_data.funcCfg_fn0.macAddress); in ql3xxx_probe()
|