Searched refs:nlmsg (Results 1 - 2 of 2) sorted by relevance
/system/extras/tests/net_test/ |
H A D | netlink.py | 175 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) 197 # Parse the attributes in the nlmsg. 198 attrlen = nlmsghdr.length - len(nlmsghdr) - len(nlmsg) 199 attributes = self._ParseAttributes(nlmsghdr.type, nlmsg.family, 200 nlmsg, data[:attrlen]) 202 return (nlmsg, attribute [all...] |
/system/netd/server/ |
H A D | RouteController.cpp | 194 nlmsghdr nlmsg = { local 198 iov[0].iov_base = &nlmsg; 199 iov[0].iov_len = sizeof(nlmsg); 201 nlmsg.nlmsg_len += iov[i].iov_len;
|
Completed in 54 milliseconds