Lines Matching refs:id
43 * the transports (to map between a source id and an address)
111 static srcid_map_t **srcid_lookup_id(uint_t id, ip_stack_t *);
195 * Map from an address to a source id.
196 * If the address is unknown return the unknown id (zero).
204 uint_t id;
216 id = 0;
219 id = smp->sm_srcid;
222 return (id);
226 * Map from a source id to an address.
227 * If the id is unknown return the unspecified address.
237 ip_srcid_find_id(uint_t id, in6_addr_t *addr, zoneid_t zoneid,
246 smpp = srcid_lookup_id(id, ipst);
250 ip1dbg(("ip_srcid_find_id: unknown %u or in wrong zone\n", id));
276 uint_t id;
282 id = ipst->ips_ip_src_id++;
285 return (id);
288 for (id = 0; id < 0xffffffff; id++) {
289 smpp = srcid_lookup_id(id, ipst);
291 return (id);
326 srcid_lookup_id(uint_t id, ip_stack_t *ipst)
333 if ((*smpp)->sm_srcid == id)