Lines Matching refs:arr
1507 uint8_t *arr;
1532 &arr, &n)) != 0) {
1535 bcopy(arr, ets->le_bat, n);
1538 &arr, &n)) != 0) {
1541 bcopy(arr, ets->le_tsa, n);
1544 &arr, &n)) != 0) {
1547 bcopy(arr, ets->le_pat, n);
1765 uint8_t *arr;
1794 LLDP_NVP_MGMTADDRVALUE, &arr, &arrsz);
1796 bcopy(arr, maddrp->lm_addr, maddrp->lm_addrlen);
1802 LLDP_NVP_MGMTADDR_OIDSTR, &arr, &arrsz);
1804 bcopy(arr, maddrp->lm_oid, maddrp->lm_oidlen);
1867 uint8_t *arr;
1894 (void) nvpair_value_byte_array(nvp, &arr, &ukp->lu_len);
1895 bcopy(arr, ukp->lu_value, ukp->lu_len);
1912 uint8_t *arr;
1939 /* `arr' containes the entire 'org. specific tlv' */
1940 (void) nvpair_value_byte_array(nvp, &arr, &orgp->lo_len);
1941 bcopy(arr, orgp->lo_value, orgp->lo_len);
1943 bcopy(arr + 2, orgp->lo_oui, LLDP_OUI_LEN);
1944 orgp->lo_subtype = *(arr + 5);
2124 lldp_arr2str(uint8_t *arr, uint_t alen, char *buf, uint_t bufsize)
2131 len += snprintf(buf + len, bufsize - len, "%d", arr[cnt]);
2139 lldp_str2arr(char *buf, uint8_t *arr, uint_t alen)
2153 arr[cnt++] = (uint8_t)strtol(str, NULL, 10);