Data Fields | |
| struct GNUNET_MessageHeader | header |
| Type: GNUNET_MESSAGE_TYPE_DHT_P2P_RESULT. | |
| uint32_t | type |
| Content type. | |
| uint16_t | reserved |
| Always 0. | |
| uint16_t | options |
| Message options, actually an 'enum GNUNET_DHT_RouteOption' value in NBO. | |
| uint16_t | put_path_length |
| Length of the PUT path that follows (if tracked). | |
| uint16_t | get_path_length |
| Length of the GET path that follows (if tracked). | |
| struct GNUNET_TIME_AbsoluteNBO | expiration_time |
| When does the content expire? | |
| struct GNUNET_HashCode | key |
| The key of the corresponding GET request. | |
P2P Result message.
Definition at line 107 of file gnunet-service-dht_neighbours.c.
| struct GNUNET_MessageHeader PeerResultMessage::header |
Type: GNUNET_MESSAGE_TYPE_DHT_P2P_RESULT.
Definition at line 112 of file gnunet-service-dht_neighbours.c.
Referenced by check_dht_p2p_result(), GDS_NEIGHBOURS_handle_reply(), and handle_dht_p2p_result().
| uint32_t PeerResultMessage::type |
Content type.
Definition at line 117 of file gnunet-service-dht_neighbours.c.
Referenced by GDS_NEIGHBOURS_handle_reply(), and handle_dht_p2p_result().
| uint16_t PeerResultMessage::reserved |
Always 0.
Definition at line 122 of file gnunet-service-dht_neighbours.c.
Referenced by GDS_NEIGHBOURS_handle_reply().
| uint16_t PeerResultMessage::options |
Message options, actually an 'enum GNUNET_DHT_RouteOption' value in NBO.
Definition at line 127 of file gnunet-service-dht_neighbours.c.
Referenced by check_dht_p2p_result(), GDS_NEIGHBOURS_handle_reply(), and handle_dht_p2p_result().
| uint16_t PeerResultMessage::put_path_length |
Length of the PUT path that follows (if tracked).
Definition at line 132 of file gnunet-service-dht_neighbours.c.
Referenced by check_dht_p2p_result(), GDS_NEIGHBOURS_handle_reply(), and handle_dht_p2p_result().
| uint16_t PeerResultMessage::get_path_length |
Length of the GET path that follows (if tracked).
Definition at line 137 of file gnunet-service-dht_neighbours.c.
Referenced by check_dht_p2p_result(), GDS_NEIGHBOURS_handle_reply(), and handle_dht_p2p_result().
| struct GNUNET_TIME_AbsoluteNBO PeerResultMessage::expiration_time |
When does the content expire?
Definition at line 142 of file gnunet-service-dht_neighbours.c.
Referenced by GDS_NEIGHBOURS_handle_reply(), and handle_dht_p2p_result().
| struct GNUNET_HashCode PeerResultMessage::key |
The key of the corresponding GET request.
Definition at line 147 of file gnunet-service-dht_neighbours.c.
Referenced by GDS_NEIGHBOURS_handle_reply(), and handle_dht_p2p_result().