Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-snmp.c965 static int smi_check_a_range(SmiType *smiType, SmiRange *smiRange, in smi_check_a_range() argument
973 if (smiRange->minValue.value.unsigned32 in smi_check_a_range()
974 == smiRange->maxValue.value.unsigned32) { in smi_check_a_range()
975 ok = (elem->asnlen == smiRange->minValue.value.unsigned32); in smi_check_a_range()
977 ok = (elem->asnlen >= smiRange->minValue.value.unsigned32 in smi_check_a_range()
978 && elem->asnlen <= smiRange->maxValue.value.unsigned32); in smi_check_a_range()
983 ok = (elem->data.integer >= smiRange->minValue.value.integer32 in smi_check_a_range()
984 && elem->data.integer <= smiRange->maxValue.value.integer32); in smi_check_a_range()
988 ok = (elem->data.uns >= smiRange->minValue.value.unsigned32 in smi_check_a_range()
989 && elem->data.uns <= smiRange->maxValue.value.unsigned32); in smi_check_a_range()
[all …]