Home
last modified time | relevance | path

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

/external/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.c3224 uint32_t type, uint32_t vrf_id, struct sctp_ifa *sctp_ifap) in sctp_addr_mgmt_ep_sa() argument
3235 if (sctp_ifap) { in sctp_addr_mgmt_ep_sa()
3236 ifa = sctp_ifap; in sctp_addr_mgmt_ep_sa()
3328 struct sctp_ifa *sctp_ifap; in sctp_asconf_send_nat_state_update() local
3460 LIST_FOREACH(sctp_ifap, &sctp_ifnp->ifalist, next_ifa) { in sctp_asconf_send_nat_state_update()
3461 switch (sctp_ifap->address.sa.sa_family) { in sctp_asconf_send_nat_state_update()
3464 to = &sctp_ifap->address.sin; in sctp_asconf_send_nat_state_update()
3481 to6 = &sctp_ifap->address.sin6; in sctp_asconf_send_nat_state_update()
3499 sctp_asconf_queue_mgmt(stcb, sctp_ifap, SCTP_ADD_IP_ADDRESS); in sctp_asconf_send_nat_state_update()
3521 sctp_ifap = laddr->ifa; in sctp_asconf_send_nat_state_update()
[all …]
Dsctp_output.c2087 struct sctp_ifa *sctp_ifap; in sctp_add_addresses_to_i_ia() local
2105 LIST_FOREACH(sctp_ifap, &sctp_ifnp->ifalist, next_ifa) { in sctp_add_addresses_to_i_ia()
2108 if ((sctp_ifap->address.sa.sa_family == AF_INET) && in sctp_add_addresses_to_i_ia()
2110 &sctp_ifap->address.sin.sin_addr) != 0)) { in sctp_add_addresses_to_i_ia()
2115 if ((sctp_ifap->address.sa.sa_family == AF_INET6) && in sctp_add_addresses_to_i_ia()
2117 &sctp_ifap->address.sin6.sin6_addr) != 0)) { in sctp_add_addresses_to_i_ia()
2122 if (sctp_is_addr_restricted(stcb, sctp_ifap)) { in sctp_add_addresses_to_i_ia()
2126 if (sctp_ifap->address.sa.sa_family == AF_CONN) { in sctp_add_addresses_to_i_ia()
2130 if (sctp_is_address_in_scope(sctp_ifap, scope, 1) == 0) { in sctp_add_addresses_to_i_ia()
2155 LIST_FOREACH(sctp_ifap, &sctp_ifnp->ifalist, next_ifa) { in sctp_add_addresses_to_i_ia()
[all …]
Dsctp_pcb.h746 void sctp_free_ifa(struct sctp_ifa *sctp_ifap);
Dsctputil.c5930 struct sctp_ifa *sctp_ifap; local
5959 LIST_FOREACH(sctp_ifap, hash_head, next_bucket) {
5960 if (addr->sa_family != sctp_ifap->address.sa.sa_family)
5965 sctp_ifap->address.sin.sin_addr.s_addr) {
5969 return (sctp_ifap);
5977 &sctp_ifap->address.sin6)) {
5981 return (sctp_ifap);
5988 if (((struct sockaddr_conn *)addr)->sconn_addr == sctp_ifap->address.sconn.sconn_addr) {
5992 return (sctp_ifap);