Retrieve a peer record for given peer address from the peer table.
- Parameters
-
| [in] | p_addr | Pointer to a peer address. |
| [in] | extended | Selects peer table and format of p_addr. false the p_addr points to short address. true the p_addr points to extended address. |
| [out] | p_peer_rec | Pointer to peer record to be filled in based on the content of peer table. |
- Return values
-
| false | Peer record for given peer address not found in the peer table. The content point of p_peer_rec is undefined. |
| true | Peer record found and stored at the p_peer_rec pointer. |