.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "__QETH_REF_IP_ON_CARD" "9" "09 October 2005" "" "" .SH NAME __qeth_ref_ip_on_card \- .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int __qeth_ref_ip_on_card (struct qeth_card * \fIcard\fB, struct qeth_ipaddr * \fItodo\fB, struct qeth_ipaddr ** \fI__addr\fB); \fR .SH "ARGUMENTS" .TP \fB\fIcard\fB\fR -- undescribed -- .TP \fB\fItodo\fB\fR -- undescribed -- .TP \fB\fI__addr\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP reference to/from an IP address that is already registered on the card. .SH "RETURNS" .PP 0 address was on card and its reference count has been adjusted, but is still > 0, so nothing has to be done also returns 0 if card was not on card and the todo was to delete the address -> there is also nothing to be done 1 address was not on card and the todo is to add it to the card's ip list -1 address was on card and its reference count has been decremented to <= 0 by the todo -> address must be removed from card