- data.ioc_inlbuf1 = base + offset + 2;
- else
- data.ioc_inlbuf1 = base;
- data.ioc_inllen1 = strlen(data.ioc_inlbuf1) + 1;
-
- if (obd_ioctl_pack(&data, &buf, max)) {
- printf("ioctl_pack failed.\n");
- exit(1);
- }
-
- rc = ioctl(fd, IOC_MDC_LOOKUP, buf);