Lines Matching refs:sb_sd
71 # define BerWrite( sb, b, l ) tcpwrite( sb->sb_sd, (unsigned char *)(b), (l<MAX_WRITE)? l : MAX_WRITE )
78 # define BerWrite( s, b, l ) send( s->sb_sd, b, l, 0 )
83 # define BerWrite( sb, b, l ) write( sb->sb_sd, b, l )
84 # define udp_read( sb, b, l, al ) recvfrom(sb->sb_sd, (char *)b, l, 0, \
87 # define udp_write( sb, b, l ) sendto(sb->sb_sd, (char *)(b), l, 0, \
160 sb->sb_sd, sb->sb_ber.ber_buf,
165 rc = read( sb->sb_sd, sb->sb_ber.ber_buf,
354 sb->sb_sd, ber->ber_rwptr != ber->ber_buf ? " (re-flush)"
391 sb->sb_sd, ber->ber_rwptr, (size_t)towrite,
884 sb->sb_sd = *((LBER_SOCKET *) value);
940 *((LBER_SOCKET *) value) = sb->sb_sd;
1351 * note that the integer socket s passed in is not used. we use the sb_sd
1360 return( sb->sb_io_fns.lbiof_read( sb->sb_sd, buf, len ));
1370 return( sb->sb_io_fns.lbiof_write( sb->sb_sd, buf, len ));