Message sent from a GNUnet (fs) search activity to the gnunet-service-fs to start a search. More...
#include </home/buildbot/bb-worker/worker/gnunet_release/build/src/service/fs/fs.h>
| Data Fields | |
| struct GNUNET_MessageHeader | header | 
| Message type will be GNUNET_MESSAGE_TYPE_FS_START_SEARCH. | |
| uint32_t | options | 
| Bitmask with options. | |
| uint32_t | type | 
| Type of the content that we're looking for. | |
| uint32_t | anonymity_level | 
| Desired anonymity level, big-endian. | |
| struct GNUNET_PeerIdentity | target | 
| If the request is for a DBLOCK or IBLOCK, this is the identity of the peer that is known to have a response. | |
| struct GNUNET_HashCode | query | 
| Hash of the public key for UBLOCKs; Hash of the CHK-encoded block for DBLOCKS and IBLOCKS. | |
Message sent from a GNUnet (fs) search activity to the gnunet-service-fs to start a search.
| struct GNUNET_MessageHeader SearchMessage::header | 
Message type will be GNUNET_MESSAGE_TYPE_FS_START_SEARCH.
Definition at line 274 of file fs.h.
Referenced by check_client_start_search(), and handle_client_start_search().
| uint32_t SearchMessage::options | 
Bitmask with options.
Zero for no options, one for loopback-only, two for 'to be continued' (with a second search message for the same type/query/target and additional already-known results following this one). See SEARCH_MESSAGE_OPTION_ defines.
Other bits are currently not defined.
Definition at line 285 of file fs.h.
Referenced by handle_client_start_search(), retry_entry(), and schedule_transmit_search_request().
| uint32_t SearchMessage::type | 
Type of the content that we're looking for.
Definition at line 290 of file fs.h.
Referenced by handle_client_start_search(), retry_entry(), and schedule_transmit_search_request().
| uint32_t SearchMessage::anonymity_level | 
Desired anonymity level, big-endian.
Definition at line 295 of file fs.h.
Referenced by handle_client_start_search(), retry_entry(), and schedule_transmit_search_request().
| struct GNUNET_PeerIdentity SearchMessage::target | 
If the request is for a DBLOCK or IBLOCK, this is the identity of the peer that is known to have a response.
Set to all-zeros if such a target is not known (note that even if OUR anonymity level is >0 we may happen to know the responder's identity; nevertheless, we should probably not use it for a DHT-lookup or similar blunt actions in order to avoid exposing ourselves).
Otherwise, "target" must be all zeros.
Definition at line 307 of file fs.h.
Referenced by handle_client_start_search(), retry_entry(), and schedule_transmit_search_request().
| struct GNUNET_HashCode SearchMessage::query | 
Hash of the public key for UBLOCKs; Hash of the CHK-encoded block for DBLOCKS and IBLOCKS.
Definition at line 313 of file fs.h.
Referenced by handle_client_start_search(), retry_entry(), and schedule_transmit_search_request().