Lines Matching defs:in6p
116 struct sctp_inpcb *in6p = NULL;
184 sh, ch, &in6p, &net);
185 /* in6p's ref-count increased && stcb locked */
186 if ((in6p) && (stcb)) {
188 sctp_chunk_output((struct sctp_inpcb *)in6p, stcb, 2);
189 } else if ((in6p != NULL) && (stcb == NULL)) {
211 sh, ch, &in6p, &net);
212 /* in6p's ref-count increased */
213 if (in6p == NULL) {
232 in6p_ip = (struct inpcb *)in6p;
251 if ((in6p->ip_inp.inp.inp_flags & INP_CONTROLOPTS)
253 || (in6p->sctp_socket->so_options & SO_TIMESTAMP)
279 in6p, stcb, net, ecn_bits);
286 if ((in6p) && refcount_up){
288 SCTP_INP_WLOCK(in6p);
289 SCTP_INP_DECR_REF(in6p);
290 SCTP_INP_WUNLOCK(in6p);
300 if ((in6p) && refcount_up){
302 SCTP_INP_WLOCK(in6p);
303 SCTP_INP_DECR_REF(in6p);
304 SCTP_INP_WUNLOCK(in6p);