Searched refs:cap_len (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_capture.c | 599 static int cap_len = 0; variable 617 cap_len = st.st_size; 619 cap_buffp = mmap(0, cap_len, PROT_READ, MAP_PRIVATE, capfile_in, 0); 635 cap_len -= snoop_idlen + sizeof (int); 645 cap_len -= sizeof (int); 674 if (mprotect(cap_buffp, cap_len, PROT_READ | PROT_WRITE) < 0) 686 scan(cap_buffp, cap_len, filter, 1, !cap_new, proc, first, last, flags); 688 (void) munmap(cap_buffp, cap_len);
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ctl_clnt.c | 147 ctl_client(evContext lev, const struct sockaddr *cap, size_t cap_len, argument 195 if (bind(ctx->sock, captmp, cap_len) < 0) {
|
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac.c | 4805 int cap_len = sizeof (struct scsi_capacity_16); local 4807 bzero(&cap16, cap_len); 4815 min(bp->b_bcount, cap_len));
|
Completed in 109 milliseconds