Home
last modified time | relevance | path

Searched refs:sctp_ifap (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_pcb.c341 sctp_free_ifa(struct sctp_ifa *sctp_ifap) argument
343 if (SCTP_DECREMENT_AND_CHECK_REFCOUNT(&sctp_ifap->refcount)) {
345 if (sctp_ifap->ifn_p) {
346 sctp_free_ifn(sctp_ifap->ifn_p);
348 SCTP_FREE(sctp_ifap, SCTP_M_IFA);
382 struct sctp_ifa *sctp_ifap; local
391 sctp_ifap = sctp_find_ifa_by_addr(addr, vrf->vrf_id, SCTP_ADDR_LOCKED);
392 if (sctp_ifap == NULL) {
396 if (sctp_ifap->ifn_p == NULL) {
401 if (strncmp(if_name, sctp_ifap->ifn_p->ifn_name, SCTP_IFNAMSIZ) != 0) {
[all …]
Dsctp_asconf.c3192 uint32_t type, uint32_t vrf_id, struct sctp_ifa *sctp_ifap) in sctp_addr_mgmt_ep_sa() argument
3203 if (sctp_ifap) { in sctp_addr_mgmt_ep_sa()
3204 ifa = sctp_ifap; in sctp_addr_mgmt_ep_sa()
3289 struct sctp_ifa *sctp_ifap; in sctp_asconf_send_nat_state_update() local
3411 LIST_FOREACH(sctp_ifap, &sctp_ifnp->ifalist, next_ifa) { in sctp_asconf_send_nat_state_update()
3412 switch (sctp_ifap->address.sa.sa_family) { in sctp_asconf_send_nat_state_update()
3415 to = &sctp_ifap->address.sin; in sctp_asconf_send_nat_state_update()
3426 to6 = &sctp_ifap->address.sin6; in sctp_asconf_send_nat_state_update()
3438 sctp_asconf_queue_mgmt(stcb, sctp_ifap, SCTP_ADD_IP_ADDRESS); in sctp_asconf_send_nat_state_update()
3460 sctp_ifap = laddr->ifa; in sctp_asconf_send_nat_state_update()
[all …]
Dsctputil.c5490 struct sctp_ifa *sctp_ifap; local
5520 LIST_FOREACH(sctp_ifap, hash_head, next_bucket) {
5521 if (sctp_ifap == NULL) {
5530 if (addr->sa_family != sctp_ifap->address.sa.sa_family)
5535 sctp_ifap->address.sin.sin_addr.s_addr) {
5539 return (sctp_ifap);
5547 &sctp_ifap->address.sin6)) {
5551 return (sctp_ifap);
5558 if (((struct sockaddr_conn *)addr)->sconn_addr == sctp_ifap->address.sconn.sconn_addr) {
5562 return (sctp_ifap);
Dsctp_pcb.h720 void sctp_free_ifa(struct sctp_ifa *sctp_ifap);
Dsctp_output.c2080 struct sctp_ifa *sctp_ifap; in sctp_add_addresses_to_i_ia() local
2098 LIST_FOREACH(sctp_ifap, &sctp_ifnp->ifalist, next_ifa) { in sctp_add_addresses_to_i_ia()
2099 if (sctp_is_addr_restricted(stcb, sctp_ifap)) { in sctp_add_addresses_to_i_ia()
2103 if (sctp_ifap->address.sa.sa_family == AF_CONN) { in sctp_add_addresses_to_i_ia()
2107 if (sctp_is_address_in_scope(sctp_ifap, scope, 1) == 0) { in sctp_add_addresses_to_i_ia()
2132 LIST_FOREACH(sctp_ifap, &sctp_ifnp->ifalist, next_ifa) { in sctp_add_addresses_to_i_ia()
2133 if (sctp_is_addr_restricted(stcb, sctp_ifap)) { in sctp_add_addresses_to_i_ia()
2137 if (sctp_ifap->address.sa.sa_family == AF_CONN) { in sctp_add_addresses_to_i_ia()
2141 if (sctp_is_address_in_scope(sctp_ifap, in sctp_add_addresses_to_i_ia()
2153 m_at = sctp_add_addr_to_mbuf(m_at, sctp_ifap, chunk_len); in sctp_add_addresses_to_i_ia()