Home
last modified time | relevance | path

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

/openthread-3.4.0/src/posix/platform/
Dnetif.cpp340 static struct rtattr *AddRtAttr(struct nlmsghdr *aHeader, in AddRtAttr() function
366 AddRtAttr(aHeader, aMaxLen, aType, &aData, sizeof(aData)); in AddRtAttrUint32()
403AddRtAttr(&req.nh, sizeof(req), IFA_LOCAL, aAddressInfo.mAddress, sizeof(*aAddressInfo.mAddress)); in UpdateUnicastLinux()
412 AddRtAttr(&req.nh, sizeof(req), IFA_CACHEINFO, &cacheinfo, sizeof(cacheinfo)); in UpdateUnicastLinux()
621 AddRtAttr(reinterpret_cast<nlmsghdr *>(&req), sizeof(req), RTA_DST, aAddress, sizeof(aAddress)); in AddRoute()
668AddRtAttr(reinterpret_cast<nlmsghdr *>(&req), sizeof(req), RTA_DST, &aAddress, sizeof(aAddress)); in DeleteRoute()
1671 struct rtattr *afSpec = AddRtAttr(&req.nh, sizeof(req), IFLA_AF_SPEC, 0, 0);
1672 struct rtattr *afInet6 = AddRtAttr(&req.nh, sizeof(req), AF_INET6, 0, 0);
1674 AddRtAttr(&req.nh, sizeof(req), IFLA_INET6_ADDR_GEN_MODE, &mode, sizeof(mode));