Searched refs:Struct (Results 1 – 10 of 10) sorted by relevance
/kernel/tests/net/test/ |
D | xfrm.py | 122 XfrmSelector = cstruct.Struct( 127 XfrmLifetimeCfg = cstruct.Struct( 132 XfrmLifetimeCur = cstruct.Struct( 135 XfrmAlgo = cstruct.Struct("XfrmAlgo", "=64AI", "name key_len") 137 XfrmAlgoAuth = cstruct.Struct("XfrmAlgo", "=64AII", "name key_len trunc_len") 139 XfrmAlgoAead = cstruct.Struct("XfrmAlgoAead", "=64AII", "name key_len icv_len") 141 XfrmStats = cstruct.Struct( 144 XfrmId = cstruct.Struct("XfrmId", "=16sIBxxx", "daddr spi proto") 146 XfrmUserTmpl = cstruct.Struct( 151 XfrmEncapTmpl = cstruct.Struct( [all …]
|
D | cstruct_test.py | 23 TestStructA = cstruct.Struct("TestStructA", "=BI", "byte1 int2") 24 TestStructB = cstruct.Struct("TestStructB", "=BI", "byte1 int2") 59 Nested = cstruct.Struct("Nested", "!HSSi", 62 DoubleNested = cstruct.Struct("DoubleNested", "SSB", 98 TestStruct = cstruct.Struct("TestStruct", "B16si16AH",
|
D | csocket.py | 29 CMsgHdr = cstruct.Struct("cmsghdr", "@Lii", "len level type") 30 Iovec = cstruct.Struct("iovec", "@LL", "base len") 31 MsgHdr = cstruct.Struct("msghdr", "@LLLLLLi", 33 SockaddrIn = cstruct.Struct("sockaddr_in", "=HH4sxxxxxxxx", "family port addr") 34 SockaddrIn6 = cstruct.Struct("sockaddr_in6", "=HHI16sI", 36 SockaddrStorage = cstruct.Struct("sockaddr_storage", "=H126s", "family data") 37 SockExtendedErr = cstruct.Struct("sock_extended_err", "@IBBBxII", 39 InPktinfo = cstruct.Struct("in_pktinfo", "@i4s4s", "ifindex spec_dst addr") 40 In6Pktinfo = cstruct.Struct("in6_pktinfo", "@16si", "addr ifindex")
|
D | sock_diag.py | 80 InetDiagSockId = cstruct.Struct( 82 InetDiagReqV2 = cstruct.Struct( 85 InetDiagMsg = cstruct.Struct( 89 InetDiagMeminfo = cstruct.Struct( 91 InetDiagBcOp = cstruct.Struct("InetDiagBcOp", "BBH", "code yes no") 92 InetDiagHostcond = cstruct.Struct("InetDiagHostcond", "=BBxxi", 94 InetDiagMarkcond = cstruct.Struct("InetDiagMarkcond", "=II", "mark mask") 96 SkMeminfo = cstruct.Struct( 99 TcpInfo = cstruct.Struct(
|
D | iproute.py | 36 NLMsgHdr = cstruct.Struct("NLMsgHdr", "=LHHLL", "length type flags seq pid") 37 NLMsgErr = cstruct.Struct("NLMsgErr", "=i", "error") 38 NLAttr = cstruct.Struct("NLAttr", "=HH", "nla_len nla_type") 97 IfinfoMsg = cstruct.Struct( 99 RTMsg = cstruct.Struct( 102 RTACacheinfo = cstruct.Struct( 125 IfAddrMsg = cstruct.Struct( 128 IFACacheinfo = cstruct.Struct( 130 NDACacheinfo = cstruct.Struct( 145 NdMsg = cstruct.Struct( [all …]
|
D | tcp_nuke_addr_test.py | 34 Ifreq = cstruct.Struct("Ifreq", "=16s16s", "name data") 35 In6Ifreq = cstruct.Struct("In6Ifreq", "=16sIi", "addr prefixlen ifindex")
|
D | bpf.py | 129 BpfAttrCreate = cstruct.Struct("bpf_attr_create", "=IIII", 131 BpfAttrOps = cstruct.Struct("bpf_attr_ops", "=QQQQ", 133 BpfAttrProgLoad = cstruct.Struct( 136 BpfInsn = cstruct.Struct("bpf_insn", "=BBhi", "code dst_src_reg off imm")
|
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 | anycast_test.py | 31 IPv6Mreq = cstruct.Struct("IPv6Mreq", "=16si", "multiaddr ifindex")
|
D | cstruct.py | 80 def Struct(name, fmt, fieldnames, substructs={}): function
|