Searched refs:Struct (Results 1 – 9 of 9) sorted by relevance
/system/extras/tests/net_test/ |
D | csocket.py | 28 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",
|
D | sock_diag.py | 69 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(
|
D | iproute.py | 48 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(
|
D | cstruct_test.py | 23 TestStructA = cstruct.Struct("TestStructA", "=BI", "byte1 int2") 24 TestStructB = cstruct.Struct("TestStructB", "=BI", "byte1 int2")
|
D | netlink.py | 44 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")
|
D | tcp_nuke_addr_test.py | 47 Ifreq = cstruct.Struct("Ifreq", "=16s16s", "name data") 48 In6Ifreq = cstruct.Struct("In6Ifreq", "=16sIi", "addr prefixlen ifindex")
|
D | anycast_test.py | 31 IPv6Mreq = cstruct.Struct("IPv6Mreq", "=16si", "multiaddr ifindex")
|
D | cstruct.py | 60 def Struct(name, fmt, fieldnames, substructs={}): function
|
D | multinetwork_base.py | 58 InPktinfo = cstruct.Struct("in_pktinfo", "@i4s4s", "ifindex spec_dst addr") 59 In6Pktinfo = cstruct.Struct("in6_pktinfo", "@16si", "addr ifindex")
|