Searched refs:apfCapabilities (Results 1 – 2 of 2) sorted by relevance
242 ApfFilter(ApfCapabilities apfCapabilities, NetworkInterface networkInterface, in ApfFilter() argument244 mApfCapabilities = apfCapabilities; in ApfFilter()1074 public static ApfFilter maybeCreate(ApfCapabilities apfCapabilities, in maybeCreate() argument1077 if (apfCapabilities == null || networkInterface == null) return null; in maybeCreate()1078 if (apfCapabilities.apfVersionSupported == 0) return null; in maybeCreate()1079 if (apfCapabilities.maximumApfProgramSize < 512) { in maybeCreate()1080 Log.e(TAG, "Unacceptably small APF limit: " + apfCapabilities.maximumApfProgramSize); in maybeCreate()1087 if (apfCapabilities.apfPacketFormat != ARPHRD_ETHER) return null; in maybeCreate()1088 if (!new ApfGenerator().setApfVersion(apfCapabilities.apfVersionSupported)) { in maybeCreate()1089 Log.e(TAG, "Unsupported APF version: " + apfCapabilities.apfVersionSupported); in maybeCreate()[all …]
312 public Builder withApfCapabilities(ApfCapabilities apfCapabilities) { in withApfCapabilities() argument313 mConfig.mApfCapabilities = apfCapabilities; in withApfCapabilities()617 final ApfCapabilities apfCapabilities = (provisioningConfig != null) in dump() local629 } else if (apfCapabilities == null || apfCapabilities.apfVersionSupported == 0) { in dump()632 pw.println("ApfFilter not yet started, APF capabilities: " + apfCapabilities); in dump()