Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-snmp.c947 static int smi_check_a_range(SmiType *smiType, SmiRange *smiRange, in smi_check_a_range() argument
955 if (smiRange->minValue.value.unsigned32 in smi_check_a_range()
956 == smiRange->maxValue.value.unsigned32) { in smi_check_a_range()
957 ok = (elem->asnlen == smiRange->minValue.value.unsigned32); in smi_check_a_range()
959 ok = (elem->asnlen >= smiRange->minValue.value.unsigned32 in smi_check_a_range()
960 && elem->asnlen <= smiRange->maxValue.value.unsigned32); in smi_check_a_range()
965 ok = (elem->data.integer >= smiRange->minValue.value.integer32 in smi_check_a_range()
966 && elem->data.integer <= smiRange->maxValue.value.integer32); in smi_check_a_range()
970 ok = (elem->data.uns >= smiRange->minValue.value.unsigned32 in smi_check_a_range()
971 && elem->data.uns <= smiRange->maxValue.value.unsigned32); in smi_check_a_range()
[all …]