Searched refs:cidlen (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/stand/lib/inet/
H A Dibd.c572 int cidlen; local
592 if (((cidlen = prom_getproplen(chosen, cidprop)) <= 0) ||
593 (cidlen > DHCP_MAX_CID_LEN) || (prom_getprop(chosen, cidprop,
594 (caddr_t)&dhcpcid) != cidlen))
596 dhcp_set_client_id(dhcpcid, cidlen);
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_protect.c2017 dhcpnospoof_check_cid(mac_protect_t *p, uchar_t *cid, uint_t cidlen) argument
2024 if (dcid->dc_len == cidlen &&
2025 bcmp(dcid->dc_id, cid, cidlen) == 0)
2037 uint_t maclen, cidlen = 0; local
2050 cidlen = optlen;
2052 if (cidlen == 0)
2055 if (*cid == ARPHRD_ETHER && cidlen - 1 == maclen &&
2059 return (dhcpnospoof_check_cid(p, cid, cidlen));
2070 uint_t cidlen, maclen, addrlen = 0; local
2086 DHCPV6_OPT_CLIENTID, &cidlen);
[all...]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlinkprop.c2735 uint_t hexlen, cidlen; local
2775 cidlen = sizeof (llt) + addrlen;
2776 if (cidlen > sizeof (cid->dc_id)) {
2795 cidlen = sizeof (ll) + addrlen;
2796 if (cidlen > sizeof (cid->dc_id)) {
2819 cidlen = sizeof (en) + hexlen;
2820 if (cidlen > sizeof (cid->dc_id))
2829 cidlen = sizeof (dutype) + hexlen;
2830 if (cidlen > sizeof (cid->dc_id))
2848 cidlen
[all...]

Completed in 58 milliseconds