Searched refs:lp_pidlen (Results 1 - 2 of 2) sorted by relevance
/osnet-11/usr/src/lib/liblldp/common/ |
H A D | liblldp_tlv.c | 279 (void) strncpy(pstr, (char *)(pid->lp_pid), pid->lp_pidlen); 284 for (i = 0; i < pid->lp_pidlen; i++) { 346 &pidarr, &pid->lp_pidlen)) != 0) { 349 (void) memcpy(pid->lp_pid, pidarr, pid->lp_pidlen); 363 pid->lp_pidlen = tlv->lt_len - 1; 364 (void) memcpy(pid->lp_pid, tlv->lt_value + 1, pid->lp_pidlen); 379 tlvlen = LLDP_TLVHDR_SZ + pid->lp_pidlen + sizeof (pid->lp_subtype); 387 bcopy(pid->lp_pid, lldpdu, pid->lp_pidlen); 1125 pidp->lp_pidlen = tlv->lt_len - 11; 1126 (void) memcpy(pidp->lp_pid, value, pidp->lp_pidlen); [all...] |
H A D | lldp.h | 193 uint_t lp_pidlen; member in struct:lldp_portid_s
|
Completed in 25 milliseconds