Home
last modified time | relevance | path

Searched refs:vrf (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_pcb.c214 struct sctp_vrf *vrf = NULL; local
218 vrf = sctp_find_vrf(vrf_id);
219 if (vrf) {
221 return (vrf);
223 SCTP_MALLOC(vrf, struct sctp_vrf *, sizeof(struct sctp_vrf),
225 if (vrf == NULL) {
233 memset(vrf, 0, sizeof(struct sctp_vrf));
234 vrf->vrf_id = vrf_id;
235 LIST_INIT(&vrf->ifnlist);
236 vrf->total_ifa_count = 0;
[all …]
Dsctp_asconf.c2450 struct sctp_vrf *vrf = NULL; in sctp_find_valid_localaddr() local
2456 vrf = sctp_find_vrf(stcb->asoc.vrf_id); in sctp_find_valid_localaddr()
2457 if (vrf == NULL) { in sctp_find_valid_localaddr()
2462 LIST_FOREACH(sctp_ifn, &vrf->ifnlist, next_ifn) { in sctp_find_valid_localaddr()
3081 struct sctp_vrf *vrf = NULL; in sctp_check_address_list_all() local
3098 vrf = sctp_find_vrf(vrf_id); in sctp_check_address_list_all()
3099 if (vrf == NULL) { in sctp_check_address_list_all()
3104 LIST_FOREACH(sctp_ifn, &vrf->ifnlist, next_ifn) { in sctp_check_address_list_all()
3399 struct sctp_vrf *vrf = NULL; in sctp_asconf_send_nat_state_update() local
3404 vrf = sctp_find_vrf(vrf_id); in sctp_asconf_send_nat_state_update()
[all …]
Dsctp_pcb.h76 struct sctp_vrf *vrf; member
696 void sctp_free_vrf(struct sctp_vrf *vrf);
Dsctp_sysctl.c176 struct sctp_vrf *vrf; in number_of_addresses() local
183 if ((vrf = sctp_find_vrf(inp->def_vrf_id)) == NULL) { in number_of_addresses()
187 LIST_FOREACH(sctp_ifn, &vrf->ifnlist, next_ifn) { in number_of_addresses()
232 struct sctp_vrf *vrf; in copy_out_local_addresses() local
282 if ((vrf = sctp_find_vrf(inp->def_vrf_id)) == NULL) { in copy_out_local_addresses()
288 LIST_FOREACH(sctp_ifn, &vrf->ifnlist, next_ifn) { in copy_out_local_addresses()
Dsctputil.c5491 struct sctp_vrf *vrf; local
5498 vrf = sctp_find_vrf(vrf_id);
5499 if (vrf == NULL) {
5508 hash_head = &vrf->vrf_addr_hash[(hash_of_addr & vrf->vrf_addr_hashmark)];
5511 hash_of_addr, (uint32_t)vrf->vrf_addr_hashmark,
5512 (uint32_t)(hash_of_addr & vrf->vrf_addr_hashmark));
7519 struct sctp_vrf *vrf; local
7539 vrf = sctp_find_vrf(stcb->asoc.vrf_id);
7540 if (vrf == NULL) {
7550 LIST_FOREACH(sctp_ifn, &vrf->ifnlist, next_ifn) {
Dsctp_output.c2068 struct sctp_vrf *vrf = NULL; in sctp_add_addresses_to_i_ia() local
2074 vrf = sctp_find_vrf(vrf_id); in sctp_add_addresses_to_i_ia()
2075 if (vrf == NULL) { in sctp_add_addresses_to_i_ia()
2084 if (vrf->total_ifa_count > SCTP_COUNT_LIMIT) { in sctp_add_addresses_to_i_ia()
2089 LIST_FOREACH(sctp_ifnp, &vrf->ifnlist, next_ifn) { in sctp_add_addresses_to_i_ia()
2122 LIST_FOREACH(sctp_ifnp, &vrf->ifnlist, next_ifn) { in sctp_add_addresses_to_i_ia()
2487 struct sctp_vrf *vrf; in sctp_choose_boundspecific_inp() local
2490 vrf = sctp_find_vrf(vrf_id); in sctp_choose_boundspecific_inp()
2491 if (vrf == NULL) in sctp_choose_boundspecific_inp()
2608 struct sctp_vrf *vrf; in sctp_choose_boundspecific_stcb() local
[all …]
Dsctp_usrreq.c1579 struct sctp_vrf *vrf; local
1647 vrf = sctp_find_vrf(vrf_id);
1648 if (vrf == NULL) {
1652 LIST_FOREACH(sctp_ifn, &vrf->ifnlist, next_ifn) {
1904 struct sctp_vrf *vrf = NULL; local
1913 vrf = sctp_find_vrf(vrf_id);
1914 if (vrf == NULL) {
1921 LIST_FOREACH(sctp_ifn, &vrf->ifnlist, next_ifn) {
7864 struct sctp_vrf *vrf; local
Dsctp_os_userspace.h659 #define SCTP_INIT_VRF_TABLEID(vrf) argument