Function dhcp4r::server::filter_options_by_req [] [src]

pub fn filter_options_by_req(opts: &mut Vec<Option>, req_params: &[u8])

Orders and filters options based on PARAMETER_REQUEST_LIST received from client. DHCP_MESSAGE_TYPE and SERVER_IDENTIFIER are always first and always retained. This function is called by Reply.