Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Dcstruct_test.py24 TestStructA = cstruct.Struct("TestStructA", "=BI", "byte1 int2")
25 TestStructB = cstruct.Struct("TestStructB", "=BI", "byte1 int2")
60 Nested = cstruct.Struct("Nested", "!HSSi",
63 DoubleNested = cstruct.Struct("DoubleNested", "SSB",
99 TestStruct = cstruct.Struct("TestStruct", "B16si16AH",
121 TestStruct = cstruct.Struct("TestStruct", "B16si16AH",
132 TestStruct = cstruct.Struct("TestStruct", "=B16sIH",
148 TestStruct = cstruct.Struct("TestStruct", "B16si16AH",
163 Nested = cstruct.Struct("Nested", "!HSSi", "word1 nest2 nest3 int4",
165 DoubleNested = cstruct.Struct("DoubleNested", "SSB", "nest1 nest2 byte3",
[all …]
Dxfrm.py138 XfrmSelector = cstruct.Struct(
143 XfrmMigrate = cstruct.Struct(
148 XfrmLifetimeCfg = cstruct.Struct(
153 XfrmLifetimeCur = cstruct.Struct(
156 XfrmAlgo = cstruct.Struct("XfrmAlgo", "=64AI", "name key_len")
158 XfrmAlgoAuth = cstruct.Struct("XfrmAlgoAuth", "=64AII",
161 XfrmAlgoAead = cstruct.Struct("XfrmAlgoAead", "=64AII", "name key_len icv_len")
163 XfrmStats = cstruct.Struct(
166 XfrmId = cstruct.Struct("XfrmId", "!16sIBxxx", "daddr spi proto")
168 XfrmUserTmpl = cstruct.Struct(
[all …]
Dcsocket.py30 CMsgHdr = cstruct.Struct("cmsghdr", "@Lii", "len level type")
31 Iovec = cstruct.Struct("iovec", "@PL", "base len")
32 MsgHdr = cstruct.Struct("msghdr", "@LLPLPLi",
34 SockaddrIn = cstruct.Struct("sockaddr_in", "=HH4sxxxxxxxx", "family port addr")
35 SockaddrIn6 = cstruct.Struct("sockaddr_in6", "=HHI16sI",
37 SockaddrStorage = cstruct.Struct("sockaddr_storage", "=H126s", "family data")
38 SockExtendedErr = cstruct.Struct("sock_extended_err", "@IBBBxII",
40 InPktinfo = cstruct.Struct("in_pktinfo", "@i4s4s", "ifindex spec_dst addr")
41 In6Pktinfo = cstruct.Struct("in6_pktinfo", "@16si", "addr ifindex")
Dsock_diag.py80 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(
Dbpf.py197 BpfAttrCreate = cstruct.Struct(
200 BpfAttrOps = cstruct.Struct(
203 BpfAttrProgLoad = cstruct.Struct(
206 BpfAttrProgAttach = cstruct.Struct(
208 BpfAttrGetFdById = cstruct.Struct(
210 BpfAttrProgQuery = cstruct.Struct(
212 BpfInsn = cstruct.Struct("bpf_insn", "=BBhi", "code dst_src_reg off imm")
Dtcp_nuke_addr_test.py34 Ifreq = cstruct.Struct("Ifreq", "=16s16s", "name data")
35 In6Ifreq = cstruct.Struct("In6Ifreq", "=16sIi", "addr prefixlen ifindex")
Diproute.py98 IfinfoMsg = cstruct.Struct(
100 RTMsg = cstruct.Struct(
103 RTACacheinfo = cstruct.Struct(
105 NdUseroptMsg = cstruct.Struct("nduseroptmsg", "=BxHiBBxxxxxx",
138 IfAddrMsg = cstruct.Struct(
141 IFACacheinfo = cstruct.Struct(
143 NDACacheinfo = cstruct.Struct(
145 RtnlLinkStats = cstruct.Struct(
147 RtnlLinkStats64 = cstruct.Struct(
162 NdMsg = cstruct.Struct(
[all …]
Dnetlink.py49 NLMsgHdr = cstruct.Struct("NLMsgHdr", "=LHHLL", "length type flags seq pid")
50 NLMsgErr = cstruct.Struct("NLMsgErr", "=i", "error")
51 NLAttr = cstruct.Struct("NLAttr", "=HH", "nla_len nla_type")
Dgenetlink.py49 Genlmsghdr = cstruct.Struct("genlmsghdr", "BBxx", "cmd version")
Danycast_test.py31 IPv6Mreq = cstruct.Struct("IPv6Mreq", "=16si", "multiaddr ifindex")
Dcstruct.py105 def Struct(name, fmt, fieldnames, substructs={}): function
Dsock_diag_test.py37 TcpInfo = cstruct.Struct("TcpInfo", "64xI", "tcpi_rcv_ssthresh")
Dmultinetwork_test.py929 Pref64Option = cstruct.Struct("pref64_option", "!BBH12s",