Home
last modified time | relevance | path

Searched refs:ifaddr (Results 1 – 14 of 14) sorted by relevance

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/rarpd/rarpd/
H A D0003-rarpd.c-bug-fix.patch56 - struct ifaddr *ifa_list;
65 -struct ifaddr
68 - struct ifaddr *next;
84 - struct ifaddr *ifa;
111 - ifa = (struct ifaddr*)malloc(sizeof(*ifa));
140 -struct ifaddr *select_ipaddr(int ifindex, __u32 *sel_addr, __u32 **alist)
144 - struct ifaddr *ifa;
154 - struct ifaddr *ifa;
182 - struct ifaddr *ifa;
/openbmc/phosphor-networkd/src/
H A Dtypes.hpp54 stdplus::SubnetAny ifaddr; member
60 return ifidx == rhs.ifidx && ifaddr == rhs.ifaddr && in operator ==()
H A Dethernet_interface.cpp175 if (dhcpIsEnabled(info.ifaddr.getAddr())) in addAddr()
182 std::holds_alternative<stdplus::In6Addr>(info.ifaddr.getAddr())) in addAddr()
187 std::holds_alternative<stdplus::In4Addr>(info.ifaddr.getAddr())) in addAddr()
214 info.ifidx, info.ifaddr); in addAddr()
255 auto it = addrs.find(info.ifaddr); in addAddr()
258 addrs.emplace(info.ifaddr, std::make_unique<IPAddress>( in addAddr()
260 info.ifaddr, origin)); in addAddr()
352 std::optional<stdplus::SubnetAny> ifaddr; in ip() local
359 ifaddr.emplace(*addr, prefixLength); in ip()
370 auto it = addrs.find(*ifaddr); in ip()
[all …]
H A Dnetwork_manager.cpp307 it->second.addrs.insert_or_assign(info.ifaddr, info); in addAddress()
325 it->second->addrs.erase(info.ifaddr); in removeAddress()
328 it->second.addrs.erase(info.ifaddr); in removeAddress()
H A Drtnetlink.cpp157 .ifaddr = stdplus::SubnetAny{*addr, ifa.ifa_prefixlen}, in addrFromRtm()
/openbmc/phosphor-host-ipmid/
H A Dtransporthandler.hpp281 IfAddr<family> ifaddr; in findIfAddr() local
282 ifaddr.path = path; in findIfAddr()
283 ifaddr.address = addr; in findIfAddr()
284 ifaddr.prefix = std::get<uint8_t>(properties.at("PrefixLength")); in findIfAddr()
285 ifaddr.origin = origin; in findIfAddr()
287 return ifaddr; in findIfAddr()
H A Dtransporthandler.cpp329 auto ifaddr = getIfAddr4(bus, params); in reconfigureIfAddr4() local
330 if (!ifaddr && !address) in reconfigureIfAddr4()
337 if (ifaddr) in reconfigureIfAddr4()
339 addr = ifaddr->address; in reconfigureIfAddr4()
340 fallbackPrefix = ifaddr->prefix; in reconfigureIfAddr4()
341 deleteObjectIfExists(bus, params.service, ifaddr->path); in reconfigureIfAddr4()
404 auto ifaddr = getIfAddr<AF_INET6>(bus, params, idx, originsV6Static); in deconfigureIfAddr6() local
405 if (ifaddr) in deconfigureIfAddr6()
407 deleteObjectIfExists(bus, params.service, ifaddr->path); in deconfigureIfAddr6()
469 auto ifaddr = channelCall<getIfAddr<AF_INET6>>(channel, set, origins); in getLanIPv6Address() local
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-ifaddr_0.2.0.bb3 HOMEPAGE = "https://pypi.org/project/ifaddr/"
H A Dpython3-pysonos_0.0.54.bb12 python3-ifaddr \
H A Dpython3-zeroconf_0.147.0.bb11 python3-ifaddr (>=0.1.7) \
/openbmc/slpd-lite/
H A Dslp_message_handler.cpp283 struct ifaddrs* ifaddr; in getIntfAddrs() local
285 if (getifaddrs(&ifaddr) == -1) in getIntfAddrs()
290 slp::deleted_unique_ptr<ifaddrs> ifaddrPtr(ifaddr, [](ifaddrs* addr) { in getIntfAddrs()
294 ifaddr = nullptr; in getIntfAddrs()
/openbmc/phosphor-host-ipmid/user_channel/
H A Dchannel_mgmt.cpp928 struct ifaddrs *ifaddr = nullptr, *ifa = nullptr; in loadChannelConfig() local
929 if (int err = getifaddrs(&ifaddr); err < 0) in loadChannelConfig()
952 freeifaddrs(ifaddr); in loadChannelConfig()
961 for (ifa = ifaddr; ifa != nullptr; ifa = ifa->ifa_next) in loadChannelConfig()
1003 freeifaddrs(ifaddr); in loadChannelConfig()
1010 freeifaddrs(ifaddr); in loadChannelConfig()
1014 freeifaddrs(ifaddr); in loadChannelConfig()
/openbmc/phosphor-networkd/test/
H A Dtest_rtnetlink.cpp98 EXPECT_EQ("192.168.1.20/28"_sub, ret.ifaddr); in TEST()
/openbmc/openbmc/meta-openembedded/meta-python/recipes-core/packagegroups/
H A Dpackagegroup-meta-python.bb186 python3-ifaddr \