Searched refs:cap_buffp (Results 1 – 1 of 1) sorted by relevance
739 static char *cap_buffp = NULL; variable760 cap_buffp = mmap(0, cap_len, PROT_READ, MAP_PRIVATE, capfile_in, 0); in cap_open_read()762 if ((int)cap_buffp == -1) in cap_open_read()767 cap_new = bcmp(cap_buffp, snoop_id, snoop_idlen) == 0; in cap_open_read()774 cap_vers = ntohl(*(int *)(cap_buffp + snoop_idlen)); in cap_open_read()775 cap_buffp += snoop_idlen + sizeof (int); in cap_open_read()784 device_mac_type = ntohl(*((int *)cap_buffp)); in cap_open_read()785 cap_buffp += sizeof (int); in cap_open_read()806 word = (int *)cap_buffp; in cap_open_read()815 if (mprotect(cap_buffp, cap_len, PROT_READ | PROT_WRITE) < 0) in cap_open_read()[all …]