Home
last modified time | relevance | path

Searched refs:U32 (Results 1 – 25 of 32) sorted by relevance

12

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DStructRtaCacheInfo.java41 @Field(order = 0, type = Type.U32)
43 @Field(order = 1, type = Type.U32)
47 @Field(order = 3, type = Type.U32)
49 @Field(order = 4, type = Type.U32)
51 @Field(order = 5, type = Type.U32)
53 @Field(order = 6, type = Type.U32)
55 @Field(order = 7, type = Type.U32)
DStructIfacacheInfo.java41 @Field(order = 0, type = Type.U32)
43 @Field(order = 1, type = Type.U32)
45 @Field(order = 2, type = Type.U32)
47 @Field(order = 3, type = Type.U32)
DStructPrefixCacheInfo.java42 @Field(order = 0, type = Type.U32)
44 @Field(order = 1, type = Type.U32)
DStructIfinfoMsg.java47 @Field(order = 3, type = Type.U32)
49 @Field(order = 4, type = Type.U32)
/packages/modules/Virtualization/virtualizationservice/vfio_handler/src/
Daidl.rs31 byteorder::{BigEndian, U32},
137 magic: U32<BigEndian>,
139 _total_size: U32<BigEndian>,
141 header_size: U32<BigEndian>,
143 dt_entry_size: U32<BigEndian>,
145 dt_entry_count: U32<BigEndian>,
147 dt_entries_offset: U32<BigEndian>,
149 _page_size: U32<BigEndian>,
152 _version: U32<BigEndian>,
161 dt_size: U32<BigEndian>,
[all …]
/packages/modules/Virtualization/libs/libfdt/src/
Dsafe_types.rs41 pub magic: big_endian::U32,
43 pub totalsize: big_endian::U32,
45 pub off_dt_struct: big_endian::U32,
47 pub off_dt_strings: big_endian::U32,
49 pub off_mem_rsvmap: big_endian::U32,
51 pub version: big_endian::U32,
53 pub last_comp_version: big_endian::U32,
56 pub boot_cpuid_phys: big_endian::U32,
59 pub size_dt_strings: big_endian::U32,
62 pub size_dt_struct: big_endian::U32,
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStackBpfNetMapsTest.kt33 import com.android.net.module.util.Struct.U32
60 private val testConfigurationMap: IBpfMap<S32, U32> = TestBpfMap()
68 private val configMap: IBpfMap<S32, U32>,
80 U32(getMatchByFirewallChain(chain)) in getConfigurationMap()
83 testConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, U32(0)) in getConfigurationMap()
129 testConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, U32(newConfig)) in mockChainEnabled()
144 testConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, U32(0)) in isUidNetworkingBlocked()
165 testConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, U32(0)) in testIsUidNetworkingBlockedByFirewallChains_denyChain()
181 testConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, U32(0)) in testIsUidNetworkingBlockedByFirewallChains_blockedWithAllowed()
193 testConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, U32(0)) in testIsUidNetworkingBlockedByDataSaver()
[all …]
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/xfrm/
DStructXfrmReplayStateEsn.java159 @Field(order = 0, type = Type.U32)
162 @Field(order = 1, type = Type.U32)
165 @Field(order = 2, type = Type.U32)
168 @Field(order = 3, type = Type.U32)
171 @Field(order = 4, type = Type.U32)
174 @Field(order = 5, type = Type.U32)
DStructXfrmStats.java39 @Field(order = 0, type = Type.U32)
43 @Field(order = 1, type = Type.U32)
47 @Field(order = 2, type = Type.U32)
DStructXfrmUsersaInfo.java79 @Field(order = 1, type = Type.U32)
82 @Field(order = 2, type = Type.U32)
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/structs/
DStructMf6cctl.java36 @Field(order = 2, type = Type.U32)
40 @Field(order = 4, type = Type.U32)
48 @Field(order = 7, type = Type.U32)
52 @Field(order = 9, type = Type.U32)
DIaPdOption.java56 @Field(order = 2, type = Type.U32)
58 @Field(order = 3, type = Type.U32)
60 @Field(order = 4, type = Type.U32)
DRaHeader.java49 @Field(order = 3, type = Type.U32)
51 @Field(order = 4, type = Type.U32)
DTcpHeader.java52 @Field(order = 2, type = Type.U32)
54 @Field(order = 3, type = Type.U32)
DIaAddressOption.java61 @Field(order = 3, type = Type.U32)
63 @Field(order = 4, type = Type.U32)
DPrefixInformationOption.java70 @Field(order = 4, type = Type.U32)
72 @Field(order = 5, type = Type.U32)
DIaPrefixOption.java69 @Field(order = 2, type = Type.U32)
71 @Field(order = 3, type = Type.U32)
/packages/modules/Connectivity/framework/src/android/net/
DNetworkStackBpfNetMaps.java34 import com.android.net.module.util.Struct.U32;
53 private final IBpfMap<S32, U32> mConfigurationMap;
95 public IBpfMap<S32, U32> getConfigurationMap() { in getConfigurationMap()
98 S32.class, U32.class); in getConfigurationMap()
DBpfNetMapsUtils.java82 import com.android.net.module.util.Struct.U32;
213 final IBpfMap<S32, U32> configurationMap, final int chain) { in isChainEnabled()
218 final U32 config = configurationMap.getValue(UID_RULES_CONFIGURATION_KEY); in isChainEnabled()
260 IBpfMap<S32, U32> configurationMap, in getUidNetworkingBlockedReasons()
328 IBpfMap<S32, U32> configurationMap, in isUidNetworkingBlocked()
DUidOwnerValue.java32 @Field(order = 1, type = Type.U32)
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DStruct.java110 U32, // unsigned int, size = 4 bytes enumConstant
181 case U32: in checkAnnotationType()
230 case U32: in getFieldLength()
366 case U32: in getFieldValue()
466 case U32: in putFieldValue()
772 public static class U32 extends Struct { class in Struct
773 @Struct.Field(order = 0, type = Struct.Type.U32)
776 public U32(final long val) { in U32() method in Struct.U32
/packages/modules/Connectivity/service/src/com/android/server/
DBpfNetMaps.java78 import com.android.net.module.util.Struct.U32;
125 private static IBpfMap<S32, U32> sConfigurationMap = null;
143 public static void setConfigurationMapForTest(IBpfMap<S32, U32> configurationMap) { in setConfigurationMapForTest()
190 private static IBpfMap<S32, U32> getConfigurationMap() { in getConfigurationMap()
193 CONFIGURATION_MAP_PATH, S32.class, U32.class); in getConfigurationMap()
257 new U32(UID_RULES_DEFAULT_CONFIGURATION)); in initBpfMaps()
263 new U32(STATS_SELECT_MAP_A)); in initBpfMaps()
467 final U32 config = sConfigurationMap.getValue(UID_RULES_CONFIGURATION_KEY); in setChildChain()
469 sConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, new U32(newConfig)); in setChildChain()
756 new U32(newConfig)); in swapActiveStatsMap()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DStatsMapKey.java30 @Field(order = 1, type = Type.U32)
33 @Field(order = 2, type = Type.U32)
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DBpfNetMapsTest.java102 import com.android.net.module.util.Struct.U32;
163 private final IBpfMap<S32, U32> mConfigurationMap = new TestBpfMap<>(S32.class, U32.class);
180 mConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, new U32(0)); in setUp()
182 CURRENT_STATS_MAP_CONFIGURATION_KEY, new U32(STATS_SELECT_MAP_A)); in setUp()
212 mConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, new U32(getMatch(enableChains))); in doTestIsChainEnabled()
298 mConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, new U32(0)); in testSetChildChain()
312 mConfigurationMap.updateEntry(UID_RULES_CONFIGURATION_KEY, new U32(0)); in testSetChildChainMultipleChain()
871 CURRENT_STATS_MAP_CONFIGURATION_KEY, new U32(STATS_SELECT_MAP_A)); in testSwapActiveStatsMap()
887 CURRENT_STATS_MAP_CONFIGURATION_KEY, new U32(STATS_SELECT_MAP_A)); in testSwapActiveStatsMapSynchronizeKernelRCUFail()
1015 CURRENT_STATS_MAP_CONFIGURATION_KEY, new U32(STATS_SELECT_MAP_A)); in testDumpCurrentStatsMapConfig()
[all …]
/packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/
DCookieTagMapValue.java30 @Field(order = 1, type = Type.U32)

12