Lines Matching refs:peer
46 struct sockaddr_in addr, peer; in tftp_request() local
72 msg.msg_name = &peer; in tftp_request()
73 msg.msg_namelen = sizeof(peer); in tftp_request()
153 transfer->peer = peer; in tftp_request()
194 len = tftp_err(ERR_ILL, packet, _("unsupported request from %s"), inet_ntoa(peer.sin_addr)); in tftp_request()
244 strncat(daemon->namebuff, inet_ntoa(peer.sin_addr), (MAXDNAME-1) - strlen(daemon->namebuff)); in tftp_request()
276 (struct sockaddr *)&peer, sizeof(peer)) == -1 && errno == EINTR); in tftp_request()
282 …my_syslog(MS_TFTP | LOG_INFO, _("TFTP sent %s to %s"), daemon->namebuff, inet_ntoa(peer.sin_addr)); in tftp_request()
418 inet_ntoa(transfer->peer.sin_addr)); in check_tftp_listeners()
448 transfer->file->filename, inet_ntoa(transfer->peer.sin_addr)); in check_tftp_listeners()
454 (struct sockaddr *)&transfer->peer, sizeof(transfer->peer)) == -1 && errno == EINTR); in check_tftp_listeners()