Lines Matching defs:lookup
655 /* skip the lookup address parameter */
661 printf("handle_asconf: couldn't get lookup addr!\n");
669 offset += ntohs(p_addr->ph.param_length); /* skip lookup addr */
2247 * since it's simpler to fill in the asconf chunk header lookup
2287 /* save pointers to lookup address and asconf params */
2317 struct sctp_ipv6addr_param *lookup;
2320 lookup = (struct sctp_ipv6addr_param *)lookup_ptr;
2321 lookup->ph.param_type =
2332 lookup->ph.param_length = htons(SCTP_SIZE32(p_size));
2333 memcpy(lookup->addr, &aa->ap.addrp.addr, addr_size);
2359 /* check to see if the lookup addr has been populated yet */
2363 struct sctp_ipv6addr_param *lookup;
2373 lookup = (struct sctp_ipv6addr_param *)lookup_ptr;
2377 lookup->ph.param_type =
2385 lookup->ph.param_type =
2392 lookup->ph.param_length = htons(SCTP_SIZE32(p_size));
2393 memcpy(lookup->addr, (void *)addr_ptr, addr_size);
2400 printf("compose_asconf: no lookup addr!\n");
2403 lookup->ph.param_type = htons(SCTP_IPV4_ADDRESS);
2404 lookup->ph.param_length = htons(SCTP_SIZE32(sizeof(struct sctp_ipv4addr_param)));
2405 memset(lookup->addr, 0, sizeof(struct in_addr));