| 1535 | } |
| 1536 | |
| 1537 | static void dist_work_from_wire(ds4_dist_work_fixed *w) { |
| 1538 | w->model_id = ntohl(w->model_id); |
| 1539 | w->session_hi = ntohl(w->session_hi); |
| 1540 | w->session_lo = ntohl(w->session_lo); |
| 1541 | w->request_hi = ntohl(w->request_hi); |
| 1542 | w->request_lo = ntohl(w->request_lo); |
| 1543 | w->prefix_hash_hi = ntohl(w->prefix_hash_hi); |
| 1544 | w->prefix_hash_lo = ntohl(w->prefix_hash_lo); |
| 1545 | w->result_hash_hi = ntohl(w->result_hash_hi); |
| 1546 | w->result_hash_lo = ntohl(w->result_hash_lo); |
| 1547 | w->pos0 = ntohl(w->pos0); |
| 1548 | w->n_tokens = ntohl(w->n_tokens); |
| 1549 | w->layer_start = ntohl(w->layer_start); |
| 1550 | w->layer_end = ntohl(w->layer_end); |
| 1551 | w->flags = ntohl(w->flags); |
| 1552 | w->token_bytes = ntohl(w->token_bytes); |
| 1553 | w->input_hc_bytes = ntohl(w->input_hc_bytes); |
| 1554 | w->input_hc_bits = ntohl(w->input_hc_bits); |
| 1555 | w->route_count = ntohl(w->route_count); |
| 1556 | w->route_index = ntohl(w->route_index); |
| 1557 | w->route_bytes = ntohl(w->route_bytes); |
| 1558 | } |
| 1559 | |
| 1560 | static void dist_work_to_wire(ds4_dist_work_fixed *w) { |
| 1561 | w->model_id = htonl(w->model_id); |
no outgoing calls
no test coverage detected