Home
last modified time | relevance | path

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

/freebsd/sys/netinet/
H A Dsctp_pcb.h79 uint32_t ifn_index; /* shorthand way to look at ifn for reference */ member
484 struct sctp_ifn *sctp_find_ifn(void *ifn, uint32_t ifn_index);
492 void *ifn, uint32_t ifn_index, uint32_t ifn_type,
501 void *ifn, uint32_t ifn_index);
H A Dsctp_pcb.c190 sctp_find_ifn(void *ifn, uint32_t ifn_index) in sctp_find_ifn() argument
196 KASSERT(ifn != NULL, ("sctp_find_ifn(NULL, %u) called", ifn_index)); in sctp_find_ifn()
197 hash_ifn_head = &SCTP_BASE_INFO(vrf_ifn_hash)[(ifn_index & SCTP_BASE_INFO(vrf_ifn_hashmark))]; in sctp_find_ifn()
199 if (sctp_ifnp->ifn_index == ifn_index && in sctp_find_ifn()
268 if (sctp_find_ifn(sctp_ifnp->ifn_p, sctp_ifnp->ifn_index) == NULL) { in sctp_delete_ifn()
362 sctp_add_addr_to_vrf(uint32_t vrf_id, void *ifn, uint32_t ifn_index, in sctp_add_addr_to_vrf() argument
396 sctp_ifnp = sctp_find_ifn(ifn, ifn_index); in sctp_add_addr_to_vrf()
419 sctp_ifnp->ifn_index = ifn_index; in sctp_add_addr_to_vrf()
425 sctp_ifnp->ifn_mtu = SCTP_GATHER_MTU_FROM_IFN_INFO(ifn, ifn_index); in sctp_add_addr_to_vrf()
431 hash_ifn_head = &SCTP_BASE_INFO(vrf_ifn_hash)[(ifn_index & SCTP_BASE_INFO(vrf_ifn_hashmark))]; in sctp_add_addr_to_vrf()
[all …]
H A Dsctp_os_bsd.h305 #define SCTP_GATHER_MTU_FROM_IFN_INFO(ifn, ifn_index) ((ifn != NULL) ? ((struct ifnet *)ifn)->if_mt… argument
H A Dsctp_output.c2461 uint32_t ifn_index; in sctp_choose_boundspecific_inp() local
2468 ifn_index = SCTP_GET_IF_INDEX_FROM_ROUTE(ro); in sctp_choose_boundspecific_inp()
2469 sctp_ifn = sctp_find_ifn(ifn, ifn_index); in sctp_choose_boundspecific_inp()
2594 uint32_t ifn_index; in sctp_choose_boundspecific_stcb() local
2605 ifn_index = SCTP_GET_IF_INDEX_FROM_ROUTE(ro); in sctp_choose_boundspecific_stcb()
2606 sctp_ifn = sctp_find_ifn(ifn, ifn_index); in sctp_choose_boundspecific_stcb()
2955 uint32_t ifn_index; in sctp_choose_boundall() local
2980 ifn_index = SCTP_GET_IF_INDEX_FROM_ROUTE(ro); in sctp_choose_boundall()
2981 SCTPDBG(SCTP_DEBUG_OUTPUT2, "ifn from route:%p ifn_index:%d\n", ifn, ifn_index); in sctp_choose_boundall()
2982 emit_ifn = looked_at = sctp_ifn = sctp_find_ifn(ifn, ifn_index); in sctp_choose_boundall()
[all …]
H A Dsctp_asconf.c976 (SCTP_GET_IF_INDEX_FROM_ROUTE(&net->ro) != ifn->ifn_index))) { in sctp_asconf_nets_cleanup()