Home | History | Annotate | Download | only in netinet

Lines Matching refs:ip_inp

2751 	inp->ip_inp.inp.inp_state = INPCB_STATE_INUSE;
2755 inp->ip_inp.inp.inp_socket = so;
2760 inp->ip_inp.inp.inp_flags |= IN6P_AUTOFLOWLABEL;
2763 inp->ip_inp.inp.inp_flags |= IN6P_IPV6_V6ONLY;
2793 inp->ip_inp.inp.inp_sp = pcb_sp;
2794 ((struct in6pcb *)(&inp->ip_inp.inp))->in6p_sp = pcb_sp;
2807 inp->ip_inp.inp.inp_ip_ttl = MODULE_GLOBAL(ip_defttl);
2886 inp->ip_inp.inp.inpcb_mtx = lck_mtx_alloc_init(SCTP_BASE_INFO(sctbinfo).mtx_grp, SCTP_BASE_INFO(sctbinfo).mtx_attr);
2887 if (inp->ip_inp.inp.inpcb_mtx == NULL) {
2900 lck_mtx_init(&inp->ip_inp.inp.inpcb_mtx, SCTP_BASE_INFO(sctbinfo).mtx_grp, SCTP_BASE_INFO(sctbinfo).mtx_attr);
2902 lck_mtx_init(&inp->ip_inp.inp.inpcb_mtx, SCTP_BASE_INFO(sctbinfo).ipi_lock_grp, SCTP_BASE_INFO(sctbinfo).ipi_lock_attr);
2908 INP_LOCK_INIT(&inp->ip_inp.inp, "inp", "sctpinp");
2918 inp->ip_inp.inp.inp_pcbinfo = &SCTP_BASE_INFO(sctbinfo);
2920 LIST_INSERT_HEAD(SCTP_BASE_INFO(sctbinfo).listhead, &inp->ip_inp.inp, inp_list);
2922 LIST_INSERT_HEAD(SCTP_BASE_INFO(sctbinfo).ipi_listhead, &inp->ip_inp.inp, inp_list);
3168 struct inpcb *ip_inp;
3183 ip_inp = (struct inpcb *)so->so_pcb;
3212 if (SCTP_IPV6_V6ONLY(ip_inp)) {
3278 if (in6_embedscope(&sin6->sin6_addr, sin6, ip_inp, NULL) != 0) {
3280 if (in6_embedscope(&sin6->sin6_addr, sin6, ip_inp, NULL, NULL) != 0) {
3467 if (ip_inp->inp_flags & INP_HIGHPORT) {
3470 } else if (ip_inp->inp_flags & INP_LOWPORT) {
3857 ip_pcb = &inp->ip_inp.inp; /* we could just cast the main pointer
4230 inp->ip_inp.inp.inp_state = INPCB_STATE_DEAD;
4231 if (in_pcb_checkstate(&inp->ip_inp.inp, WNT_STOPUSING, 1) != WNT_STOPUSING) {
4238 inp->ip_inp.inp.inp_socket->so_flags |= SOF_PCBCLEARING;
4268 INP_LOCK_DESTROY(&inp->ip_inp.inp);
4563 (void)in6_embedscope(&sin6->sin6_addr, sin6, &stcb->sctp_ep->ip_inp.inp, NULL);
4565 (void)in6_embedscope(&sin6->sin6_addr, sin6, &stcb->sctp_ep->ip_inp.inp, NULL, NULL);
5966 answer = inp->ip_inp.inp.inp_vflag & INP_IPV6;
5975 answer = inp->ip_inp.inp.inp_vflag & INP_IPV4;
5981 answer = inp->ip_inp.inp.inp_vflag & INP_CONN;
6004 inp->ip_inp.inp.inp_vflag = 0;
6023 inp->ip_inp.inp.inp_vflag |= INP_IPV6;
6032 inp->ip_inp.inp.inp_vflag |= INP_IPV4;
6038 inp->ip_inp.inp.inp_vflag |= INP_CONN;
6092 inp->ip_inp.inp.inp_vflag |= INP_IPV6;
6101 inp->ip_inp.inp.inp_vflag |= INP_IPV4;
6107 inp->ip_inp.inp.inp_vflag |= INP_CONN;