Lines Matching defs:child_ep
1543 dequeue_socket(struct socket *head, struct sockaddr_in **remote, struct iwch_ep *child_ep)
1559 soupcall_set(so, SO_RCV, iwch_so_upcall, child_ep);
1573 struct iwch_ep *child_ep;
1577 child_ep = alloc_ep(sizeof(*child_ep), M_NOWAIT);
1578 if (!child_ep) {
1583 child_so = dequeue_socket(parent_ep->com.so, &remote, child_ep);
1587 __free_ep(&child_ep->com);
1592 child_ep->com.tdev = parent_ep->com.tdev;
1593 child_ep->com.local_addr.sin_family = parent_ep->com.local_addr.sin_family;
1594 child_ep->com.local_addr.sin_port = parent_ep->com.local_addr.sin_port;
1595 child_ep->com.local_addr.sin_addr.s_addr = parent_ep->com.local_addr.sin_addr.s_addr;
1596 child_ep->com.local_addr.sin_len = parent_ep->com.local_addr.sin_len;
1597 child_ep->com.remote_addr.sin_family = remote->sin_family;
1598 child_ep->com.remote_addr.sin_port = remote->sin_port;
1599 child_ep->com.remote_addr.sin_addr.s_addr = remote->sin_addr.s_addr;
1600 child_ep->com.remote_addr.sin_len = remote->sin_len;
1601 child_ep->com.so = child_so;
1602 child_ep->com.cm_id = NULL;
1603 child_ep->com.thread = parent_ep->com.thread;
1604 child_ep->parent_ep = parent_ep;
1608 child_ep->parent_ep = parent_ep;
1609 callout_init(&child_ep->timer, TRUE);
1610 state_set(&child_ep->com, MPA_REQ_WAIT);
1611 start_ep_timer(child_ep);
1614 process_mpa_request(child_ep);