Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Dcstruct_test.py23 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",
114 TestStruct = cstruct.Struct("TestStruct", "B16si16AH",
125 TestStruct = cstruct.Struct("TestStruct", "=B16sIH",
141 TestStruct = cstruct.Struct("TestStruct", "B16si16AH",
156 Nested = cstruct.Struct("Nested", "!HSSi", "word1 nest2 nest3 int4",
158 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 …]
Dpf_key.py119 SadbMsg = cstruct.Struct(
123 SadbExt = cstruct.Struct("SadbExt", "=HH", "len exttype")
125 SadbSa = cstruct.Struct(
128 SadbLifetime = cstruct.Struct(
131 SadbAddress = cstruct.Struct("SadbAddress", "=BB2x", "proto prefixlen")
133 SadbKey = cstruct.Struct("SadbKey", "=H2x", "bits")
135 SadbXSa2 = cstruct.Struct("SadbXSa2", "=B3xII", "mode sequence reqid")
137 SadbXNatTType = cstruct.Struct("SadbXNatTType", "=B3x", "type")
139 SadbXNatTPort = cstruct.Struct("SadbXNatTPort", "!H2x", "port")
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.py77 InetDiagSockId = cstruct.Struct(
79 InetDiagReqV2 = cstruct.Struct(
82 InetDiagMsg = cstruct.Struct(
86 InetDiagMeminfo = cstruct.Struct(
88 InetDiagBcOp = cstruct.Struct("InetDiagBcOp", "BBH", "code yes no")
89 InetDiagHostcond = cstruct.Struct("InetDiagHostcond", "=BBxxi",
91 InetDiagMarkcond = cstruct.Struct("InetDiagMarkcond", "=II", "mark mask")
93 SkMeminfo = cstruct.Struct(
96 TcpInfo = cstruct.Struct(
Dtcp_nuke_addr_test.py34 Ifreq = cstruct.Struct("Ifreq", "=16s16s", "name data")
35 In6Ifreq = cstruct.Struct("In6Ifreq", "=16sIi", "addr prefixlen ifindex")
Dbpf.py179 BpfAttrCreate = cstruct.Struct(
182 BpfAttrOps = cstruct.Struct(
185 BpfAttrProgLoad = cstruct.Struct(
188 BpfAttrProgAttach = cstruct.Struct(
190 BpfInsn = cstruct.Struct("bpf_insn", "=BBhi", "code dst_src_reg off imm")
Dgenetlink.py49 Genlmsghdr = cstruct.Struct("genlmsghdr", "BBxx", "cmd version")
Danycast_test.py31 IPv6Mreq = cstruct.Struct("IPv6Mreq", "=16si", "multiaddr ifindex")
Dcstruct.py92 def Struct(name, fmt, fieldnames, substructs={}): function
Dsock_diag_test.py36 TcpInfo = cstruct.Struct("TcpInfo", "64xI", "tcpi_rcv_ssthresh")