Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-snmp.c950 static int smi_check_a_range(SmiType *smiType, SmiRange *smiRange, in smi_check_a_range() argument
958 if (smiRange->minValue.value.unsigned32 in smi_check_a_range()
959 == smiRange->maxValue.value.unsigned32) { in smi_check_a_range()
960 ok = (elem->asnlen == smiRange->minValue.value.unsigned32); in smi_check_a_range()
962 ok = (elem->asnlen >= smiRange->minValue.value.unsigned32 in smi_check_a_range()
963 && elem->asnlen <= smiRange->maxValue.value.unsigned32); in smi_check_a_range()
968 ok = (elem->data.integer >= smiRange->minValue.value.integer32 in smi_check_a_range()
969 && elem->data.integer <= smiRange->maxValue.value.integer32); in smi_check_a_range()
973 ok = (elem->data.uns >= smiRange->minValue.value.unsigned32 in smi_check_a_range()
974 && elem->data.uns <= smiRange->maxValue.value.unsigned32); in smi_check_a_range()
[all …]