Searched refs:nlAttr (Results 1 – 1 of 1) sorted by relevance
/system/netd/server/ |
D | XfrmController.cpp | 185 size_t fillNlAttr(__u16 nlaType, size_t valueSize, nlattr* nlAttr) { in fillNlAttr() argument 188 nlAttr->nla_len = (__u16)(dataLen + sizeof(nlattr)); in fillNlAttr() 189 nlAttr->nla_type = nlaType; in fillNlAttr() 193 size_t fillNlAttrIpAddress(__u16 nlaType, int family, const std::string& value, nlattr* nlAttr, in fillNlAttrIpAddress() argument 196 return fillNlAttr(nlaType, (family == AF_INET) ? sizeof(in_addr) : sizeof(in6_addr), nlAttr); in fillNlAttrIpAddress() 199 size_t fillNlAttrU32(__u16 nlaType, uint32_t value, XfrmController::nlattr_payload_u32* nlAttr) { in fillNlAttrU32() argument 200 nlAttr->value = value; in fillNlAttrU32() 201 return fillNlAttr(nlaType, sizeof(value), &nlAttr->hdr); in fillNlAttrU32()
|