## device_reply_server

Function - Handle incoming data from kernel device driver.

### SYNOPSIS

    boolean_t	device_reply_server
    		(mach_msg_header_t	request_msg,
    		mach_msg_header_t	reply_msg);

### PARAMETERS

request_msg
  [pointer to in structure] The device driver message received from the kernel.

reply_msg
  [out structure] A reply message. No messages from a device driver expect a direct reply, so this field is not used.

### DESCRIPTION

The device_reply_server function is the MIG generated server handling function to handle messages from kernel device drivers. Such messages were sent in response to the various device_..._request... calls. It is assumed when using those calls that some task is listening for reply messages on the port named as a reply port to those calls. The device_reply_server function performs all necessary argument handling for a kernel message and calls one of the device server functions to interpret the message.

### RETURN VALUES

TRUE
  The message was handled and the appropriate function was called.

FALSE
  The message did not apply to this device handler interface and no other action was taken.

### RELATED INFORMATION

Functions: ds_device_open_reply, ds_device_write_reply, ds_device_write_reply_inband, ds_device_read_reply, ds_device_read_reply_inband, ds_device_read_reply_overwrite.