• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sctp/

Lines Matching refs:asconf

2650 	sctp_addiphdr_t asconf;
2652 int length = sizeof(asconf) + vparam_len;
2667 asconf.serial = htonl(asoc->addip_serial++);
2670 sctp_addto_chunk(retval, sizeof(asconf), &asconf);
2731 /* Create an asconf chunk with the required length. */
2736 /* Add the address parameters to the asconf chunk. */
2783 /* Create the chunk and make asconf header. */
2820 sctp_addiphdr_t asconf;
2822 int length = sizeof(asconf) + vparam_len;
2829 asconf.serial = htonl(serial);
2832 sctp_addto_chunk(retval, sizeof(asconf), &asconf);
2878 /* Process a asconf parameter. */
2880 struct sctp_chunk *asconf,
2920 if (!af->is_any(&addr) && !af->addr_valid(&addr, NULL, asconf->skb))
2930 memcpy(&addr, &asconf->source, sizeof(addr));
2963 if (sctp_cmp_addr_exact(sctp_source(asconf), &addr))
2972 sctp_assoc_set_primary(asoc, asconf->transport);
2974 asconf->transport);
2985 memcpy(&addr.v4, sctp_source(asconf), sizeof(addr));
3048 struct sctp_chunk *asconf)
3061 chunk_len = ntohs(asconf->chunk_hdr->length) - sizeof(sctp_chunkhdr_t);
3062 hdr = (sctp_addiphdr_t *)asconf->skb->data;
3067 addr_param = (union sctp_addr_param *)(asconf->skb->data + length);
3071 * asconf parameter.
3088 err_code = sctp_process_asconf_param(asoc, asconf,
3124 * after freeing the reference to old asconf ack if any.
3135 /* Process a asconf parameter that is successfully acked. */
3190 * for the given asconf parameter. If there is no response for this parameter,
3257 struct sctp_chunk *asconf = asoc->addip_last_asconf;
3261 int asconf_len = asconf->skb->len;
3267 /* Skip the chunkhdr and addiphdr from the last asconf sent and store
3271 addr_param = (union sctp_addr_param *)(asconf->skb->data + length);
3274 /* Skip the address parameter in the last asconf sent and store a
3275 * pointer to the first asconf parameter.
3311 /* Disable sending this type of asconf parameter in
3325 /* Skip the processed asconf parameter and move to the next
3334 /* Free the cached last sent asconf chunk. */
3335 list_del_init(&asconf->transmitted_list);
3336 sctp_chunk_free(asconf);