Lines Matching refs:netp
870 struct sockaddr *to, struct sctp_nets **netp, uint32_t vrf_id) in sctp_tcb_special_locate() argument
1070 if (netp != NULL) { in sctp_tcb_special_locate()
1071 *netp = net; in sctp_tcb_special_locate()
1094 if (netp != NULL) { in sctp_tcb_special_locate()
1095 *netp = net; in sctp_tcb_special_locate()
1130 struct sctp_nets **netp, struct sockaddr *local, struct sctp_tcb *locked_tcb) in sctp_findassociation_ep_addr() argument
1174 netp, inp->def_vrf_id); in sctp_findassociation_ep_addr()
1236 if (netp != NULL) { in sctp_findassociation_ep_addr()
1237 *netp = net; in sctp_findassociation_ep_addr()
1266 if (netp != NULL) { in sctp_findassociation_ep_addr()
1267 *netp = net; in sctp_findassociation_ep_addr()
1337 if (netp != NULL) { in sctp_findassociation_ep_addr()
1338 *netp = net; in sctp_findassociation_ep_addr()
1367 if (netp != NULL) { in sctp_findassociation_ep_addr()
1368 *netp = net; in sctp_findassociation_ep_addr()
1840 struct sctp_inpcb **inp_p, struct sctp_nets **netp, int find_tcp_pool, in sctp_findassociation_addr_sa() argument
1849 stcb = sctp_tcb_special_locate(inp_p, from, to, netp, in sctp_findassociation_addr_sa()
1852 stcb = sctp_tcb_special_locate(&inp, from, to, netp, in sctp_findassociation_addr_sa()
1875 stcb = sctp_findassociation_ep_addr(inp_p, from, netp, to, in sctp_findassociation_addr_sa()
1878 stcb = sctp_findassociation_ep_addr(&inp, from, netp, to, in sctp_findassociation_addr_sa()
1891 struct sctphdr *sh, struct sctp_inpcb **inp_p, struct sctp_nets **netp, in sctp_findassociation_special_addr() argument
1947 (struct sockaddr *)&sin4, netp, dst, NULL); in sctp_findassociation_special_addr()
1968 (struct sockaddr *)&sin6, netp, dst, NULL); in sctp_findassociation_special_addr()
1983 struct sctp_inpcb **inp_p, struct sctp_nets **netp, uint16_t rport, in sctp_findassoc_by_vtag() argument
2047 *netp = sctp_findnet(stcb, from); in sctp_findassoc_by_vtag()
2049 *netp = NULL; /* unknown */ in sctp_findassoc_by_vtag()
2059 *netp = net; in sctp_findassoc_by_vtag()
2086 struct sctp_inpcb **inp_p, struct sctp_nets **netp, uint32_t vrf_id) in sctp_findassociation_addr() argument
2094 inp_p, netp, sh->src_port, sh->dest_port, 0, vrf_id, 0); in sctp_findassociation_addr()
2101 stcb = sctp_findassociation_addr_sa(src, dst, inp_p, netp, in sctp_findassociation_addr()
2105 stcb = sctp_findassociation_addr_sa(src, dst, &inp, netp, in sctp_findassociation_addr()
2128 offset, sh, &inp, netp, dst); in sctp_findassociation_addr()
2145 struct sctp_inpcb **inp_p, struct sctp_nets **netp, uint32_t vrf_id) in sctp_findassociation_ep_asconf() argument
2231 netp, sh->src_port, sh->dest_port, 1, vrf_id, 0); in sctp_findassociation_ep_asconf()
2237 &remote_store.sa, netp, in sctp_findassociation_ep_asconf()
3307 struct sctp_nets *netp; in sctp_inpcb_free() local
3320 netp = stcb->asoc.alternate; in sctp_inpcb_free()
3322 netp = stcb->asoc.primary_destination; in sctp_inpcb_free()
3324 sctp_send_shutdown(stcb, netp); in sctp_inpcb_free()
3326 netp); in sctp_inpcb_free()
3589 struct sctp_nets **netp, uint16_t port, int set_scope, int from) in sctp_add_remote_addr() argument
3927 if (netp) { in sctp_add_remote_addr()
3928 *netp = net; in sctp_add_remote_addr()