Searched refs:ifd (Results 1 - 25 of 38) sorted by relevance

12

/macosx-10.10.1/xnu-2782.1.97/bsd/net/pktsched/
H A Dpktsched_rmclass.c101 #define reset_cutoff(ifd) { ifd->cutoff_ = RM_MAXDEPTH; }
180 * 'pri' on the interface given by 'ifd'.
237 rmc_newclass(int pri, struct rm_ifdat *ifd, u_int32_t nsecPerByte, argument
304 cl->ifdat_ = ifd;
311 ifq = ifd->ifq_;
404 if ((peer = ifd->active_[pri]) != NULL) {
407 while (peer->peer_ != ifd->active_[pri])
411 ifd->active_[pri] = cl;
430 if (ifd
443 struct rm_ifdat *ifd; local
488 rmc_wrr_set_weights(struct rm_ifdat *ifd) argument
528 rmc_get_weight(struct rm_ifdat *ifd, int pri) argument
609 rmc_delete_class(struct rm_ifdat *ifd, struct rm_class *cl) argument
729 rmc_init(struct ifclassq *ifq, struct rm_ifdat *ifd, u_int32_t nsecPerByte, void (*restart)(struct ifclassq *), u_int32_t qid, int maxq, int maxqueued, u_int32_t maxidle, int minidle, u_int32_t offtime, int flags) argument
822 struct rm_ifdat *ifd = cl->ifdat_; local
882 rmc_tl_satisfied(struct rm_ifdat *ifd, struct timeval *now) argument
945 struct rm_ifdat *ifd = cl->ifdat_; local
1028 _rmc_wrr_dequeue_next(struct rm_ifdat *ifd, cqdq_op_t op) argument
1183 _rmc_prr_dequeue_next(struct rm_ifdat *ifd, cqdq_op_t op) argument
1298 rmc_dequeue_next(struct rm_ifdat *ifd, cqdq_op_t mode) argument
1322 rmc_update_class_util(struct rm_ifdat *ifd) argument
1492 struct rm_ifdat *ifd = cl->ifdat_; local
1505 struct rm_ifdat *ifd = cl->ifdat_; local
1645 struct rm_ifdat *ifd = cl->ifdat_; local
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/sdx/sdx/lib/app-sdx/
H A Dtgz2kit.tcl28 set ifd [open "| gzip -d < $infile"]
29 fconfigure $ifd -translation binary
47 while {[set header [read $ifd 512]] != ""} {
57 set data [read $ifd $size]
59 if {$n > 0} { read $ifd $n }
75 close $ifd
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/tiff/
H A Dtiff.tcl100 if {[set ifd [lindex [_ifds $fh] $image]] != ""} {
101 seek $fh $ifd
114 if {[set ifd [lindex [_ifds $fh] $image]] != ""} {
115 seek $fh $ifd
137 _readifd $fh ifd
140 set ifd($e) [eval [linsert $e 0 _unformat $byteOrder]]
143 _copyData $fh $new ifd
157 _readifd $fh ifd
159 foreach e [nametotag $entry] { unset -nocomplain ifd($e) }
161 _copyData $fh $new ifd
[all...]
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSWindows/
H A DmDNSWin32.c362 inMDNS->p->unicastSock4.ifd = NULL;
393 inMDNS->p->unicastSock6.ifd = NULL;
803 mDNSInterfaceData * ifd; local
811 for( ifd = inMDNS->p->interfaceList; ifd; ifd = ifd->next )
813 if( strcmp( ifd->name, inName ) == 0 )
818 require_action_quiet( ifd, exit, err = mStatus_NoSuchNameErr );
824 *outID = (mDNSInterfaceID) ifd;
839 mDNSInterfaceData * ifd; local
881 mDNSInterfaceData * ifd; local
913 mDNSInterfaceData * ifd; local
1383 mDNSInterfaceData * ifd = (mDNSInterfaceData*) inInterfaceID; local
1530 mDNSInterfaceData *ifd = ( mDNSInterfaceData* ) InterfaceID; local
2467 mDNSInterfaceData * ifd; local
2729 mDNSInterfaceData * ifd; local
2776 mDNSInterfaceData * ifd; local
5063 mDNSInterfaceData * ifd; local
[all...]
H A DmDNSWin32.h57 struct mDNSInterfaceData *ifd; member in struct:UDPSocket_struct
/macosx-10.10.1/tcl-105/tcl_ext/tclvfs/tclvfs/library/
H A Dvfslib.tcl41 #proc vfs::zstream {mode ifd clen ilen} {
196 proc vfs::zstream_handler {zcmd ifd clen ilen imode cmd fd {a1 ""} {a2 ""}} {
197 #puts stderr "z $zcmd $ifd $ilen $cmd $fd $a1 $a2"
210 seek $ifd 0
219 zstream_handler $zcmd $ifd $clen $ilen $imode read $fd $n
230 set c [expr {$clen - [tell $ifd]}]
232 set data [read $ifd $c]
247 close $ifd
262 # ifd - input channel (should be binary)
266 proc vfs::zstream {mode ifd cle
[all...]
/macosx-10.10.1/text_cmds-88/split/
H A Dsplit.c69 int ifd = -1, ofd = -1; /* Input/output file descriptors. */ variable
153 ifd = STDIN_FILENO;
154 else if ((ifd = open(*argv, O_RDONLY, 0)) < 0)
174 if (ifd == -1) /* Stdin by default. */
175 ifd = 0;
199 switch ((len = read(ifd, bfr, MAXBSIZE))) {
246 if ((infp = fdopen(ifd, "r")) == NULL)
/macosx-10.10.1/xnu-2782.1.97/bsd/net/
H A Dpktap.c382 pktap_getdrvspec(ifnet_t ifp, struct ifdrv64 *ifd) argument
397 switch (ifd->ifd_cmd) {
403 if (ifd->ifd_len < PKTAP_MAX_FILTERS * sizeof(struct x_pktap_filter)) {
405 __func__, ifd->ifd_len, error);
423 error = copyout(x_filters, ifd->ifd_data,
434 if (ifd->ifd_len < sizeof(tap_count)) {
436 __func__, ifd->ifd_len, error);
440 error = copyout(&tap_count, ifd->ifd_data, sizeof(tap_count));
457 pktap_setdrvspec(ifnet_t ifp, struct ifdrv64 *ifd) argument
471 switch (ifd
606 struct ifdrv64 ifd; local
626 struct ifdrv64 ifd; local
[all...]
H A Diptap.c363 iptap_getdrvspec(ifnet_t ifp, struct ifdrv64 *ifd) argument
375 switch (ifd->ifd_cmd) {
379 if (ifd->ifd_len < sizeof(tap_count)) {
381 __func__, ifd->ifd_len, error);
385 error = copyout(&tap_count, ifd->ifd_data, sizeof(tap_count));
415 struct ifdrv64 ifd; local
418 memcpy(ifd.ifd_name, ifd32->ifd_name, sizeof(ifd.ifd_name));
419 ifd.ifd_cmd = ifd32->ifd_cmd;
420 ifd
[all...]
/macosx-10.10.1/configd-699.1.5/SystemConfiguration.fproj/
H A DBridgeConfiguration.c83 struct ifdrv ifd; local
86 bzero(&ifd, sizeof(ifd));
87 strncpy(ifd.ifd_name, ifname, sizeof(ifd.ifd_name));
88 ifd.ifd_cmd = BRDGGIFS;
98 ifd.ifd_len = sizeof(*ibc_p);
99 ifd.ifd_data = ibc_p;
100 if (ioctl(s, SIOCGDRVSPEC, (caddr_t)&ifd) == -1) {
936 struct ifdrv ifd; local
974 struct ifdrv ifd; local
[all...]
/macosx-10.10.1/adv_cmds-158/gencat/
H A Dgencat.c73 int ofd = -1, ifd, i; local
121 if ((ifd = open(input, O_RDONLY)) < 0)
123 MCParse(ifd);
124 close(ifd);
/macosx-10.10.1/man-16/man/gencat/
H A Dgencat.c97 int ofd, ifd, i; local
158 if ((ifd = open(input, O_RDONLY)) < 0) {
162 MCParse(ifd);
163 close(ifd);
/macosx-10.10.1/smb-759.0/lib/smb/
H A Dnb_net.c393 struct nb_ifdesc *ifd; local
435 if (strlen(iname) >= sizeof(ifd->id_name))
443 ifd = malloc(sizeof(struct nb_ifdesc));
444 if (ifd == NULL)
446 bzero(ifd, sizeof(struct nb_ifdesc));
447 strlcpy(ifd->id_name, iname, sizeof(ifd->id_name));
448 ifd->id_flags = iflags;
449 ifd->id_addr = iaddr;
450 ifd
[all...]
/macosx-10.10.1/ntp-92/util/
H A Dtickadj.c829 int ifd; local
831 ifd = open(name, mode);
832 if (ifd < 0)
838 return ifd;
874 int ifd,
881 if (lseek(ifd, off, L_SET) == -1)
887 i = read(ifd, (char *)var, sizeof(int));
873 readvar( int ifd, off_t off, int *var ) argument
/macosx-10.10.1/gpatch-3/patch/
H A Dinp.c238 int ifd = open (filename, O_RDONLY|binary_transput); local
240 if (ifd < 0)
245 n = read (ifd, buffer + buffered, size - buffered);
256 close (ifd);
263 if (close (ifd) != 0)
/macosx-10.10.1/patch_cmds-17/patch/
H A Dinp.c135 int ifd, statfailed; local
245 if ((ifd = open(filename, O_RDONLY)) < 0)
248 i_womp = mmap(NULL, i_size == 0 ? 64 : i_size, PROT_READ, MAP_PRIVATE, ifd, 0);
252 close(ifd);
256 close(ifd);
/macosx-10.10.1/ppp-786.1.1/Helpers/pppd/
H A Dtty.c1169 start_charshunt(ifd, ofd)
1170 int ifd, ofd;
1191 charshunt(ifd, ofd, record_file);
1223 * (We assume ofd >= ifd which is true the way this gets called. :-).
1226 charshunt(ifd, ofd, record_file)
1227 int ifd, ofd;
1289 if (ifd >= FD_SETSIZE || ofd >= FD_SETSIZE || pty_master >= FD_SETSIZE)
1291 ifd, ofd, pty_master);
1307 flags = fcntl(ifd, F_GETFL);
1309 || fcntl(ifd, F_SETF
[all...]
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSVxWorks/
H A DmDNSVxWorksIPv4Only.c684 MDNSInterfaceItem * ifd; local
692 for( ifd = inMDNS->p->interfaceList; ifd; ifd = ifd->next )
694 if( strcmp( ifd->name, inName ) == 0 )
699 if( !ifd )
709 *outID = (mDNSInterfaceID) ifd;
724 MDNSInterfaceItem * ifd; local
732 for( ifd
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/libtiff/
H A Dtif_win32.c151 TIFFFdOpen(int ifd, const char* name, const char* mode) argument
156 tif = TIFFClientOpen(name, mode, (thandle_t)ifd,
162 tif->tif_fd = ifd;
/macosx-10.10.1/zlib-55/zlib/
H A Dminigzip.c206 int ifd = fileno(in); local
212 if (fstat(ifd, &sb) < 0) return Z_ERRNO;
217 buf = mmap((caddr_t) 0, buf_len, PROT_READ, MAP_SHARED, ifd, (off_t)0);
/macosx-10.10.1/network_cmds-457/rtadvd.tproj/
H A Dif.c142 struct if_data *ifd; local
149 ifd = ifa->ifa_data;
150 if (ifd)
151 mtu = ifd->ifi_mtu;
/macosx-10.10.1/vim-55/runtime/syntax/
H A Dinitng.vim71 " TODO: syntax check for ifd-endd pairs
73 syn region initngDefine start="^#\(endd\|elsed\|exec\|ifd\|endexec\|endd\)\>" skip="\\$" end="$" end="#"me=s-1
/macosx-10.10.1/network_cmds-457/ifconfig.tproj/
H A Difbridge.c138 struct ifdrv ifd; local
140 memset(&ifd, 0, sizeof(ifd));
142 strlcpy(ifd.ifd_name, ifr.ifr_name, sizeof(ifd.ifd_name));
143 ifd.ifd_cmd = op;
144 ifd.ifd_len = argsize;
145 ifd.ifd_data = arg;
147 return (ioctl(sock, set ? SIOCSDRVSPEC : SIOCGDRVSPEC, &ifd));
/macosx-10.10.1/rsync-45/rsync/
H A Dutil.c267 int ifd; local
272 ifd = do_open(source, O_RDONLY, 0);
273 if (ifd == -1) {
286 close(ifd);
290 while ((len = safe_read(ifd, buf, sizeof buf)) > 0) {
293 close(ifd);
301 close(ifd);
306 if (close(ifd) < 0) {
/macosx-10.10.1/file_cmds-242/pax/
H A Dbuf_subs.c610 wr_rdfile(ARCHD *arcn, int ifd, off_t *left) argument
627 if ((res = read(ifd, bufpt, cnt)) <= 0)
641 else if (fstat(ifd, &sb) < 0)

Completed in 425 milliseconds

12