Searched refs:sctp_ifap (Results 1 – 5 of 5) sorted by relevance
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/ |
D | sctp_pcb.c | 336 sctp_free_ifa(struct sctp_ifa *sctp_ifap) argument 338 if (SCTP_DECREMENT_AND_CHECK_REFCOUNT(&sctp_ifap->refcount)) { 340 if (sctp_ifap->ifn_p) { 341 sctp_free_ifn(sctp_ifap->ifn_p); 343 SCTP_FREE(sctp_ifap, SCTP_M_IFA); 379 struct sctp_ifa *sctp_ifap; local 388 sctp_ifap = sctp_find_ifa_by_addr(addr, vrf->vrf_id, SCTP_ADDR_LOCKED); 389 if (sctp_ifap == NULL) { 393 if (sctp_ifap->ifn_p == NULL) { 398 if (strncmp(if_name, sctp_ifap->ifn_p->ifn_name, SCTP_IFNAMSIZ) != 0) { [all …]
|
D | sctp_asconf.c | 3321 struct sctp_ifa *sctp_ifap; in sctp_asconf_send_nat_state_update() local 3430 LIST_FOREACH(sctp_ifap, &sctp_ifnp->ifalist, next_ifa) { in sctp_asconf_send_nat_state_update() 3431 switch (sctp_ifap->address.sa.sa_family) { in sctp_asconf_send_nat_state_update() 3434 to = &sctp_ifap->address.sin; in sctp_asconf_send_nat_state_update() 3451 to6 = &sctp_ifap->address.sin6; in sctp_asconf_send_nat_state_update() 3469 sctp_asconf_queue_mgmt(stcb, sctp_ifap, SCTP_ADD_IP_ADDRESS); in sctp_asconf_send_nat_state_update() 3491 sctp_ifap = laddr->ifa; in sctp_asconf_send_nat_state_update() 3492 switch (sctp_ifap->address.sa.sa_family) { in sctp_asconf_send_nat_state_update() 3495 to = &sctp_ifap->address.sin; in sctp_asconf_send_nat_state_update() 3506 to6 = &sctp_ifap->address.sin6; in sctp_asconf_send_nat_state_update() [all …]
|
D | sctp_output.c | 2081 struct sctp_ifa *sctp_ifap; in sctp_add_addresses_to_i_ia() local 2099 LIST_FOREACH(sctp_ifap, &sctp_ifnp->ifalist, next_ifa) { in sctp_add_addresses_to_i_ia() 2102 if ((sctp_ifap->address.sa.sa_family == AF_INET) && in sctp_add_addresses_to_i_ia() 2104 &sctp_ifap->address.sin.sin_addr) != 0)) { in sctp_add_addresses_to_i_ia() 2109 if ((sctp_ifap->address.sa.sa_family == AF_INET6) && in sctp_add_addresses_to_i_ia() 2111 &sctp_ifap->address.sin6.sin6_addr) != 0)) { in sctp_add_addresses_to_i_ia() 2116 if (sctp_is_addr_restricted(stcb, sctp_ifap)) { in sctp_add_addresses_to_i_ia() 2120 if (sctp_ifap->address.sa.sa_family == AF_CONN) { in sctp_add_addresses_to_i_ia() 2124 if (sctp_is_address_in_scope(sctp_ifap, scope, 1) == 0) { in sctp_add_addresses_to_i_ia() 2149 LIST_FOREACH(sctp_ifap, &sctp_ifnp->ifalist, next_ifa) { in sctp_add_addresses_to_i_ia() [all …]
|
D | sctp_pcb.h | 721 void sctp_free_ifa(struct sctp_ifa *sctp_ifap);
|
D | sctputil.c | 5884 struct sctp_ifa *sctp_ifap; local 5916 LIST_FOREACH(sctp_ifap, hash_head, next_bucket) { 5917 if (addr->sa_family != sctp_ifap->address.sa.sa_family) 5922 sctp_ifap->address.sin.sin_addr.s_addr) { 5931 &sctp_ifap->address.sin6)) { 5939 if (((struct sockaddr_conn *)addr)->sconn_addr == sctp_ifap->address.sconn.sconn_addr) { 5948 return (sctp_ifap);
|