Searched refs:key2len (Results 1 – 1 of 1) sorted by relevance
352 uint32_t key1len, key2len; in sctp_compare_key() local358 key2len = sctp_get_keylen(key2); in sctp_compare_key()359 if ((key1len == 0) && (key2len == 0)) in sctp_compare_key()363 else if (key2len == 0) in sctp_compare_key()366 if (key1len < key2len) { in sctp_compare_key()367 maxlen = key2len; in sctp_compare_key()377 val2 = (i < (maxlen - key2len)) ? 0 : *(key_2++); in sctp_compare_key()385 if (key1len == key2len) in sctp_compare_key()387 else if (key1len < key2len) in sctp_compare_key()