Home
last modified time | relevance | path

Searched refs:dp_linefd (Results 1 – 4 of 4) sorted by relevance

/original-bsd/old/berknet/
H A Dsetup.c135 netd.dp_linefd = open(str,2);
136 if(netd.dp_linefd < 0){
145 ioctl(netd.dp_linefd,TIOCEXCL,&stt);
147 if(gtty(netd.dp_linefd,&stt) < 0){
155 if(stty(netd.dp_linefd,&stt) < 0){
161 if(gtty((2<<8)|netd.dp_linefd,&exstt) < 0){
166 if(stty((2<<8)|netd.dp_linefd, &exstt) < 0){
177 if(ioctl(netd.dp_linefd,TIOCSETD,&netd.dp_linedis) != 0){
186 ioctl(netd.dp_linefd,TIOCSETD,&netd.dp_linedis);
192 if(stty(netd.dp_linefd,&stt) < 0){
[all …]
H A Dprot.c340 else i = write(netd.dp_linefd,finalp,len);
348 i = write(netd.dp_linefd, (char *)pp,len);
464 else len = read(netd.dp_linefd,raw,MAXNBUF); in decpacket()
H A Ddefs.h242 int dp_linefd; /* daemon should read and write from this */ member
H A Dnetdaemon.c1154 ioctl(netd.dp_linefd,TIOCSETD,&netd.dp_linedis); in handlekill()
1155 close(netd.dp_linefd); in handlekill()