Searched refs:peer_id (Results 1 - 16 of 16) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/
H A Dtest-peer-id.c16 uint8_t peer_id[PEER_ID_LEN+1]; local
23 tr_peerIdInit( peer_id );
25 check( strlen( (char*)peer_id ) == PEER_ID_LEN );
26 check( !memcmp( peer_id, PEERID_PREFIX, 8 ) );
30 char tmp[2] = { peer_id[j], '\0' };
H A Dclients.h24 void tr_clientForId( char * buf, size_t buflen, const void * peer_id );
H A Dhandshake.c216 const uint8_t * peer_id = tor && *tor->peer_id ? tor->peer_id : tr_getPeerId( handshake->session ); local
233 memcpy( walk, peer_id, PEER_ID_LEN );
259 uint8_t peer_id[PEER_ID_LEN]; local
286 /* peer_id */
287 tr_peerIoReadBytes( handshake->io, inbuf, peer_id, sizeof( peer_id ) );
288 tr_peerIoSetPeersId( handshake->io, peer_id );
292 dbgmsg( handshake, "peer-id is [%*.*s]", PEER_ID_LEN, PEER_ID_LEN, peer_id );
716 uint8_t peer_id[PEER_ID_LEN]; local
1072 const uint8_t * peer_id = isConnected && handshake->havePeerID local
[all...]
H A Dsession.h225 uint8_t peer_id[PEER_ID_LEN+1]; member in struct:tr_session
237 return session->peer_id;
H A Dannouncer-common.h162 char peer_id[PEER_ID_LEN]; member in struct:__anon7309
H A Dclients.c104 isMainlineStyle( const uint8_t * peer_id )
111 return peer_id[2]=='-'
112 && peer_id[7]=='-'
113 && ( peer_id[4]=='-' || peer_id[5]=='-' );
H A Dpeer-io.h246 const uint8_t * peer_id );
H A Dtorrent.h154 * peer_id does not match the expected peerid, then the initiator is
157 * peer_id that was registered by the peer. The peer_id from the tracker
160 uint8_t peer_id[PEER_ID_LEN+1]; member in struct:tr_torrent
H A Dpeer-io.c987 tr_peerIoSetPeersId( tr_peerIo * io, const uint8_t * peer_id )
991 if( ( io->peerIdIsSet = peer_id != NULL ) )
992 memcpy( io->peerId, peer_id, 20 );
H A Dannouncer-http.c68 "&peer_id=%*.*s"
80 PEER_ID_LEN, PEER_ID_LEN, req->peer_id,
H A Dannouncer.c911 memcpy( req->peer_id, tor->peer_id, PEER_ID_LEN );
H A Dannouncer-udp.c324 evbuffer_add ( buf, in->peer_id, PEER_ID_LEN );
H A Dpeer-mgr.c1956 const uint8_t * peer_id,
2051 if( !peer_id )
2055 tr_clientForId( client, sizeof( client ), peer_id );
1952 myHandshakeDoneCB( tr_handshake * handshake, tr_peerIo * io, bool readAnythingFromPeer, bool isConnected, const uint8_t * peer_id, void * vmanager ) argument
H A Dtorrent.c812 tr_peerIdInit( tor->peer_id );
1680 /* corresponds to the peer_id sent as a tracker request parameter.
1685 tr_peerIdInit( tor->peer_id );
H A Dsession.c589 tr_peerIdInit( session->peer_id );
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/
H A Dmwl8k.c229 u8 peer_id; member in struct:mwl8k_sta
1126 __u8 peer_id; member in struct:mwl8k_tx_desc
1447 tx->peer_id = MWL8K_STA(tx_info->control.sta)->peer_id;
1449 tx->peer_id = 0;
3723 MWL8K_STA(sta)->peer_id = ret;

Completed in 86 milliseconds