Lines Matching refs:asconf
2763 struct sctp_addiphdr asconf;
2765 int length = sizeof(asconf) + vparam_len;
2781 asconf.serial = htonl(asoc->addip_serial++);
2784 sctp_addto_chunk(retval, sizeof(asconf), &asconf);
2854 /* Create an asconf chunk with the required length. */
2859 /* Add the address parameters to the asconf chunk. */
2917 /* Create the chunk and make asconf header. */
2954 struct sctp_addiphdr asconf;
2956 int length = sizeof(asconf) + vparam_len;
2964 asconf.serial = htonl(serial);
2967 sctp_addto_chunk(retval, sizeof(asconf), &asconf);
3014 /* Process a asconf parameter. */
3016 struct sctp_chunk *asconf,
3056 if (!af->is_any(&addr) && !af->addr_valid(&addr, NULL, asconf->skb))
3066 memcpy(&addr, &asconf->source, sizeof(addr));
3105 if (sctp_cmp_addr_exact(&asconf->source, &addr))
3114 sctp_assoc_set_primary(asoc, asconf->transport);
3116 asconf->transport);
3138 memcpy(&addr, sctp_source(asconf), sizeof(addr));
3228 struct sctp_chunk *asconf)
3240 addip = (struct sctp_addip_chunk *)asconf->chunk_hdr;
3241 chunk_len = ntohs(asconf->chunk_hdr->length) -
3243 hdr = (struct sctp_addiphdr *)asconf->skb->data;
3248 addr_param = (union sctp_addr_param *)(asconf->skb->data + length);
3252 * asconf parameter.
3273 err_code = sctp_process_asconf_param(asoc, asconf,
3300 * after freeing the reference to old asconf ack if any.
3311 /* Process a asconf parameter that is successfully acked. */
3365 * for the given asconf parameter. If there is no response for this parameter,
3430 struct sctp_chunk *asconf = asoc->addip_last_asconf;
3434 int asconf_len = asconf->skb->len;
3440 /* Skip the chunkhdr and addiphdr from the last asconf sent and store
3444 addr_param = (union sctp_addr_param *)(asconf->skb->data + length);
3447 /* Skip the address parameter in the last asconf sent and store a
3448 * pointer to the first asconf parameter.
3484 /* Disable sending this type of asconf parameter in
3498 /* Skip the processed asconf parameter and move to the next
3511 /* Free the cached last sent asconf chunk. */
3512 list_del_init(&asconf->transmitted_list);
3513 sctp_chunk_free(asconf);