Lines Matching refs:entPhysicalSerialNum
294 snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) zPhysicalEntry->entPhysicalSerialNum, strlen(zPhysicalEntry->entPhysicalSerialNum));
377 zOldentPhySerialNum = strdup(zPhysicalEntry->entPhysicalSerialNum);
429 free (zPhysicalEntry->entPhysicalSerialNum);
430 zPhysicalEntry->entPhysicalSerialNum = (char *)malloc(sizeof(char) * (var->val_len + 1));
431 if (zPhysicalEntry->entPhysicalSerialNum == NULL)
434 strncpy(zPhysicalEntry->entPhysicalSerialNum, (const char *)var->val.string, var->val_len);
435 zPhysicalEntry->entPhysicalSerialNum[var->val_len] = 0;
483 free(zPhysicalEntry->entPhysicalSerialNum);
485 zPhysicalEntry->entPhysicalSerialNum = zentPhySerialNum;
548 if (newPhysEntry->entPhysicalSerialNum == NULL)
549 newPhysEntry->entPhysicalSerialNum = emptystring;
626 /* entPhysicalSerialNum 0..32 */
627 if (strlen(newPhysEntry->entPhysicalSerialNum) > 32)
733 physent->entPhysicalSerialNum =
734 strdup(newPhysEntry->entPhysicalSerialNum);
736 if (physent->entPhysicalSerialNum == NULL) {
751 free(physent->entPhysicalSerialNum);
767 free(physent->entPhysicalSerialNum);
784 free(physent->entPhysicalSerialNum);
803 free(physent->entPhysicalSerialNum);
987 char *entPhysicalSerialNum,
1004 phyStatic->entPhysicalSerialNum = entPhysicalSerialNum;
1076 free(xEntry->entPhysicalSerialNum);