/*++ /* NAME /* dns_rr_eq_sa 3 /* SUMMARY /* compare resource record with socket address /* SYNOPSIS /* #include <dns.h> /* /* int dns_rr_eq_sa(DNS_RR *rr, struct sockaddr *sa) /* DNS_RR *rr; /* struct sockaddr *sa; /* /* int DNS_RR_EQ_SA(DNS_RR *rr, struct sockaddr *sa) /* DNS_RR *rr; /* struct sockaddr *sa; /* DESCRIPTION /* dns_rr_eq_sa() compares a DNS resource record with a socket /* address. The result is non-zero when the resource type /* matches the socket address family, and when the network /* address information is identical. /* /* DNS_RR_EQ_SA() is an unsafe macro version for those who live fast. /* /* Arguments: /* .IP rr /* DNS resource record pointer. /* .IP sa /* Binary address pointer. /* DIAGNOSTICS /* Panic: unknown socket address family. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 /* Yorktown Heights, NY 10598, USA
/*--*/
/* System libraries. */
#include <sys_defs.h>
/* Utility library. */
#include <msg.h> #include <sock_addr.h>
/* DNS library. */
#include <dns.h>
/* dns_rr_eq_sa - compare resource record with socket address */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.