Home
last modified time | relevance | path

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

/system/extras/tests/net_test/
Dnetlink.py175 nlmsg = NLMsgHdr((length, command, flags, self.seq, self.pid)).Pack()
177 self.MaybeDebugCommand(command, nlmsg + data)
180 self._Send(nlmsg + data)
194 nlmsg, data = cstruct.Read(data, msgtype)
195 self._Debug(" %s" % nlmsg)
198 attrlen = nlmsghdr.length - len(nlmsghdr) - len(nlmsg)
199 attributes = self._ParseAttributes(nlmsghdr.type, nlmsg.family,
200 nlmsg, data[:attrlen])
202 return (nlmsg, attributes), data
/system/netd/server/
DRouteController.cpp194 nlmsghdr nlmsg = { in sendNetlinkRequest() local
198 iov[0].iov_base = &nlmsg; in sendNetlinkRequest()
199 iov[0].iov_len = sizeof(nlmsg); in sendNetlinkRequest()
201 nlmsg.nlmsg_len += iov[i].iov_len; in sendNetlinkRequest()