Lines Matching refs:peer
97 /** Peer address
99 * The peer address is determined by the first response
102 struct sockaddr_tcpip peer;
196 /* Reset peer address */
197 memset ( &tftp->peer, 0, sizeof ( tftp->peer ) );
228 * use the local address as the peer address (since the peer
393 .dest = ( struct sockaddr * ) &tftp->peer,
411 /* ACK always goes to the peer recorded from the RRQ response */
428 .dest = ( struct sockaddr * ) &tftp->peer,
447 /* ERR always goes to the peer recorded from the RRQ response */
471 if ( ! tftp->peer.st_family ) {
495 if ( tftp->peer.st_family ) {
948 if ( ! tftp->peer.st_family ) {
949 memcpy ( &tftp->peer, st_src, sizeof ( tftp->peer ) );
951 ntohs ( tftp->peer.st_port ) );
952 } else if ( memcmp ( &tftp->peer, st_src,
953 sizeof ( tftp->peer ) ) != 0 ) {
956 ntohs ( tftp->peer.st_port ) );