Searched refs:NLMsgHdr (Results 1 – 2 of 2) sorted by relevance
/system/extras/tests/net_test/ |
D | netlink.py | 44 NLMsgHdr = cstruct.Struct("NLMsgHdr", "=LHHLL", "length type flags seq pid") variable 154 hdr = NLMsgHdr(response) 160 hdr, data = cstruct.Read(response, NLMsgHdr) 174 length = len(NLMsgHdr) + len(data) 175 nlmsg = NLMsgHdr((length, command, flags, self.seq, self.pid)).Pack() 187 nlmsghdr, data = cstruct.Read(data, NLMsgHdr) 206 if NLMsgHdr(data).type == NLMSG_ERROR: 236 length = len(NLMsgHdr) + len(msg) + len(attrs) 237 nlmsghdr = NLMsgHdr((length, command, flags, self.seq, self.pid)) 246 response_type = NLMsgHdr(data).type
|
D | iproute.py | 48 NLMsgHdr = cstruct.Struct("NLMsgHdr", "=LHHLL", "length type flags seq pid") variable 409 hdr = NLMsgHdr(message) 413 hdr = NLMsgHdr(message) 494 if NLMsgHdr(data).type == NLMSG_ERROR:
|