Write a peer record for given peer addres to 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 | The peer record did not exist and could not be added because the peer table is full. |
| true | Peer record for given peer address stored in the peer table. |