Lines Matching defs:prefix
261 * @param[in] prefix - The prefix of the new IP
265 typename AddrFamily<family>::addr address, uint8_t prefix)
274 newreq.append(protocol, tsh(address), prefix, "");
282 * @return The address and prefix if found
323 * @param[in] prefix - The new address prefix if specified
327 std::optional<uint8_t> prefix)
340 fallbackPrefix = ifaddr->prefix;
347 prefix.value_or(fallbackPrefix));
417 * @param[in] prefix - The new address prefix
420 uint8_t idx, stdplus::In6Addr address, uint8_t prefix)
423 createIfAddr<AF_INET6>(bus, params, address, prefix);
466 uint8_t prefix{};
475 prefix = ifaddr->prefix;
482 ret.pack(prefix);
618 createIfAddr<AF_INET>(bus, params, ifaddr4->address, ifaddr4->prefix);
622 createIfAddr<AF_INET6>(bus, params, ifaddr6.address, ifaddr6.prefix);
972 uint8_t prefix;
979 if (req.unpack(prefix, status) != 0)
990 if (prefix < MIN_IPV6_PREFIX_LENGTH ||
991 prefix > MAX_IPV6_PREFIX_LENGTH)
995 channelCall<reconfigureIfAddr6>(channel, set, ip, prefix);
1045 uint8_t prefix;
1046 if (req.unpack(prefix) != 0)
1051 if (prefix != 0)
1061 // Accept any prefix value since our prefix length has to be 0
1225 uint8_t prefix = AddrFamily<AF_INET>::defaultPrefix;
1228 prefix = ifaddr->prefix;
1230 auto netmask = stdplus::pfxToMask<stdplus::In4Addr>(prefix);