in6p
const struct sockaddr_in6 *in6p, *srv6;
in6p = (const struct sockaddr_in6 *)(const void *)sa;
if (srv6->sin6_family == in6p->sin6_family &&
srv6->sin6_port == in6p->sin6_port &&
srv6->sin6_scope_id == in6p->sin6_scope_id) &&
IN6_ARE_ADDR_EQUAL(&srv6->sin6_addr, &in6p->sin6_addr)))
in6p = in6_pcbhashlookup(tb, &saddr->v6, sport, &daddr->v6,
in6p = in6_pcblookup_listen(tb, &daddr->v6, dport, 0);
so = in6p->in6p_socket;
struct inpcb *in6p = NULL;
in6p = in6_pcbhashlookup(tb, s6addr, sport, d6addr,
if (in6p == NULL) {
in6p = in6_pcblookup_listen(tb, d6addr, dport);
if (in6p == NULL)
so = in6p->inp_socket;
struct in6pcb *in6p;
in6p = NULL;
in6p = sotoin6pcb(so);
if (inp == NULL && in6p == NULL)
struct sctp_inpcb *in6p = NULL;
sh, ch, &in6p, &net);
if ((in6p) && (stcb)) {
sctp_chunk_output((struct sctp_inpcb *)in6p, stcb, 2);
} else if ((in6p != NULL) && (stcb == NULL)) {
sh, ch, &in6p, &net);
if (in6p == NULL) {
in6p_ip = (struct inpcb *)in6p;
if ((in6p->ip_inp.inp.inp_flags & INP_CONTROLOPTS)
|| (in6p->sctp_socket->so_options & SO_TIMESTAMP)
in6p, stcb, net, ecn_bits);
if ((in6p) && refcount_up){
SCTP_INP_WLOCK(in6p);
SCTP_INP_DECR_REF(in6p);
SCTP_INP_WUNLOCK(in6p);
if ((in6p) && refcount_up){
SCTP_INP_WLOCK(in6p);
SCTP_INP_DECR_REF(in6p);
SCTP_INP_WUNLOCK(in6p);