Searched refs:Struct (Results 1 – 11 of 11) sorted by relevance
/kernel/tests/net/test/ |
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", 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 …]
|
D | xfrm.py | 138 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 …]
|
D | pf_key.py | 119 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")
|
D | csocket.py | 30 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")
|
D | sock_diag.py | 77 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(
|
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 | 179 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")
|
D | genetlink.py | 49 Genlmsghdr = cstruct.Struct("genlmsghdr", "BBxx", "cmd version")
|
D | anycast_test.py | 31 IPv6Mreq = cstruct.Struct("IPv6Mreq", "=16si", "multiaddr ifindex")
|
D | cstruct.py | 92 def Struct(name, fmt, fieldnames, substructs={}): function
|
D | sock_diag_test.py | 36 TcpInfo = cstruct.Struct("TcpInfo", "64xI", "tcpi_rcv_ssthresh")
|