Home
last modified time | relevance | path

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

/system/extras/tests/net_test/
Dcsocket.py28 CMsgHdr = cstruct.Struct("cmsghdr", "@Lii", "len level type")
29 Iovec = cstruct.Struct("iovec", "@LL", "base len")
30 MsgHdr = cstruct.Struct("msghdr", "@LLLLLLi",
32 SockaddrIn = cstruct.Struct("sockaddr_in", "=HH4sxxxxxxxx", "family port addr")
33 SockaddrIn6 = cstruct.Struct("sockaddr_in6", "=HHI16sI",
Dsock_diag.py69 InetDiagSockId = cstruct.Struct(
71 InetDiagReqV2 = cstruct.Struct(
74 InetDiagMsg = cstruct.Struct(
78 InetDiagMeminfo = cstruct.Struct(
80 InetDiagBcOp = cstruct.Struct("InetDiagBcOp", "BBH", "code yes no")
81 InetDiagHostcond = cstruct.Struct("InetDiagHostcond", "=BBxxi",
84 SkMeminfo = cstruct.Struct(
87 TcpInfo = cstruct.Struct(
Diproute.py48 NLMsgHdr = cstruct.Struct("NLMsgHdr", "=LHHLL", "length type flags seq pid")
49 NLMsgErr = cstruct.Struct("NLMsgErr", "=i", "error")
50 NLAttr = cstruct.Struct("NLAttr", "=HH", "nla_len nla_type")
108 IfinfoMsg = cstruct.Struct(
110 RTMsg = cstruct.Struct(
113 RTACacheinfo = cstruct.Struct(
135 IfAddrMsg = cstruct.Struct(
138 IFACacheinfo = cstruct.Struct(
140 NDACacheinfo = cstruct.Struct(
155 NdMsg = cstruct.Struct(
Dcstruct_test.py23 TestStructA = cstruct.Struct("TestStructA", "=BI", "byte1 int2")
24 TestStructB = cstruct.Struct("TestStructB", "=BI", "byte1 int2")
Dnetlink.py44 NLMsgHdr = cstruct.Struct("NLMsgHdr", "=LHHLL", "length type flags seq pid")
45 NLMsgErr = cstruct.Struct("NLMsgErr", "=i", "error")
46 NLAttr = cstruct.Struct("NLAttr", "=HH", "nla_len nla_type")
Dtcp_nuke_addr_test.py47 Ifreq = cstruct.Struct("Ifreq", "=16s16s", "name data")
48 In6Ifreq = cstruct.Struct("In6Ifreq", "=16sIi", "addr prefixlen ifindex")
Danycast_test.py31 IPv6Mreq = cstruct.Struct("IPv6Mreq", "=16si", "multiaddr ifindex")
Dcstruct.py60 def Struct(name, fmt, fieldnames, substructs={}): function
Dmultinetwork_base.py58 InPktinfo = cstruct.Struct("in_pktinfo", "@i4s4s", "ifindex spec_dst addr")
59 In6Pktinfo = cstruct.Struct("in6_pktinfo", "@16si", "addr ifindex")