Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_protect.c763 const dhcpv6_cid_t *cid1 = arg1, *cid2 = arg2; in compare_dhcpv6_cid() local
766 if (cid1->dc_cid_len < cid2->dc_cid_len) in compare_dhcpv6_cid()
768 else if (cid1->dc_cid_len > cid2->dc_cid_len) in compare_dhcpv6_cid()
771 if (cid1->dc_cid_len == 0) in compare_dhcpv6_cid()
774 ret = memcmp(cid1->dc_cid, cid2->dc_cid, cid1->dc_cid_len); in compare_dhcpv6_cid()
2458 mac_dhcpcid_t *cid1 = &p->mp_cids[j]; in validate_cids() local
2460 if (i == j || cid->dc_len != cid1->dc_len) in validate_cids()
2464 if (bcmp(cid->dc_id, cid1->dc_id, cid->dc_len) == 0) in validate_cids()