Lines Matching defs:address
38 mDNSAddr address; // IPv4 or IPv6 address.
39 mDNSIPPort port; // The port number that is associated with the address above.
51 * Creates a tail queue that contains IP address and port number.
88 * Adds an IP address with its corresponding port number into the front of the tail queue.
91 * The tail queue where the address and port number to be added into.
93 * @param address
94 * The IP address to be added.
97 * The corresponding port number of the added address to be added.
100 * The added address with its port number in the front of the tail queue, or NULL if the system was out of memory.
103 mdns_addr_tailq_add_front(mdns_addr_tailq_t * NONNULL me, const mDNSAddr * NONNULL address, mDNSIPPort port);
107 * Adds an IP address with its corresponding port number into the back of the tail queue.
110 * The tail queue where the address and port number to be added into.
112 * @param address
113 * The IP address to be added.
116 * The corresponding port number of the added address to be added.
119 * The added address with its port number in the back of the tail queue, or NULL if the system was out of memory.
122 mdns_addr_tailq_add_back(mdns_addr_tailq_t * NONNULL me, const mDNSAddr * NONNULL address, mDNSIPPort port);
126 * Gets the pointer to mdns_addr_with_port_t (which contains the IP address and port number added before) in the front of the tail queue.
139 * Removes the first IP address and its port number in the front of the tail queue.
142 * The tail queue where the IP address and its port number to be removed.
149 * Removes mdns_addr_with_port_t object in the tail queue with the IP address and port number specified in the parameters.
152 * The tail queue where the IP address and its port number to be removed.
154 * @param address
155 * The IP address to be matched.
158 * The corresponding port number of the IP address to be matched.
161 * True if the mdns_addr_with_port_t object is found and removed from the tail queue, for the IP address and port number specified in the parameters.
165 mdns_addr_tailq_remove(mdns_addr_tailq_t * NONNULL me, const mDNSAddr * NONNULL address, mDNSIPPort port);