Searched refs:PacketSection (Results 1 – 1 of 1) sorted by relevance
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfFilter.java | 512 private static class PacketSection { class in ApfFilter 530 PacketSection(int start, int length, Type type, int option, long lifetime) { in PacketSection() method in ApfFilter.PacketSection 583 private final ArrayList<PacketSection> mPacketSections = new ArrayList<>(); 708 new PacketSection(mPacket.position(), length, PacketSection.Type.MATCH, 0, 0)); in addMatchSection() 726 new PacketSection(mPacket.position(), length, PacketSection.Type.IGNORE, 0, 0)); in addIgnoreSection() 738 new PacketSection(mPacket.position(), length, PacketSection.Type.LIFETIME, in addLifetimeSection() 765 private boolean isRelevantLifetime(PacketSection section) { in isRelevantLifetime() 766 return section.type == PacketSection.Type.LIFETIME in isRelevantLifetime() 870 for (PacketSection section : mPacketSections) { in matches() 871 if (section.type != PacketSection.Type.MATCH) continue; in matches() [all …]
|