DCCP_DEBUG
DCCP_DEBUG((LOG_INFO, "cwnd (%d) < outstanding (%d)\n", cb->cwnd, cb->outstanding));
DCCP_DEBUG((LOG_INFO, "Entering remove_from_cwndvector\n"));
DCCP_DEBUG((LOG_INFO, "dccp_output start!\n"));
DCCP_DEBUG((LOG_INFO, "Going to send a DCCP packet!\n"));
DCCP_DEBUG((LOG_INFO, "Not allowed to send right now\n"));
DCCP_DEBUG((LOG_INFO, "packet will be fragmented! maxseg %d\n", dp->d_maxseg));
DCCP_DEBUG((LOG_INFO, "Force sending of DCCP TYPE_RESET! seq=%llu\n", dp->seq_snd));
DCCP_DEBUG((LOG_INFO, "Sending DCCP TYPE_REQUEST!\n"));
DCCP_DEBUG((LOG_INFO, "Sending DCCP TYPE_RESPONSE!\n"));
DCCP_DEBUG((LOG_INFO, "Still in feature neg, sending DCCP TYPE_ACK!\n"));
DCCP_DEBUG((LOG_INFO, "Sending DCCP TYPE_DATAACK!\n"));
DCCP_DEBUG((LOG_INFO, "Sending DCCP TYPE_ACK!\n"));
DCCP_DEBUG((LOG_INFO, "Sending DCCP TYPE_DATA!\n"));
DCCP_DEBUG((LOG_INFO, "No ack or data to send!\n"));
DCCP_DEBUG((LOG_INFO, "Sending DCCP TYPE_CLOSE!\n"));
DCCP_DEBUG((LOG_INFO, "Sending DCCP TYPE_CLOSEREQ!\n"));
DCCP_DEBUG((LOG_INFO, "Hey, we should never get here, state = %u\n", dp->state));
DCCP_DEBUG((LOG_INFO, "Copying options from dp->options! %u\n", dp->optlen));
DCCP_DEBUG((LOG_INFO, "Copying options from dp->features! %u\n", dp->featlen));
DCCP_DEBUG((LOG_INFO, "Sending ipv6 packet...\n"));
DCCP_DEBUG((LOG_INFO, "Pkt headerlen %u\n", hdrlen));
DCCP_DEBUG((LOG_INFO, "Sending with seq %x.%x, (dp->seq_snd = %llu)\n\n", dlh->dh_seq, dlh->dh_seq2, dp->seq_snd));
DCCP_DEBUG((LOG_INFO, "Sending with seq %x, (dp->seq_snd = %llu)\n\n", dh->dh_seq, dp->seq_snd));
DCCP_DEBUG((LOG_INFO, "Sending dccp type response\n"));
DCCP_DEBUG((LOG_INFO, "Calling ip_output6, mbuf->m_len = %u, mbuf->m_pkthdr.len = %u\n", m->m_len, m->m_pkthdr.len));
DCCP_DEBUG((LOG_INFO, "Calling ip_output, mbuf->m_len = %u, mbuf->m_pkthdr.len = %u\n", m->m_len, m->m_pkthdr.len));
DCCP_DEBUG((LOG_INFO, "IP output failed! %d\n", error));
DCCP_DEBUG((LOG_INFO, "Calling *cc_sw[%u].cc_send_packet_sent!\n", dp->cc_in_use[0]));
DCCP_DEBUG((LOG_INFO, "dccp_output finished\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp_abort!\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp_close!\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp_attach(proto=%d)!\n", proto));
DCCP_DEBUG((LOG_INFO, "We are an ipv6 socket!!!\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp_bind!\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp_connect!\n"));
DCCP_DEBUG((LOG_INFO, "Why are we in connect when we already have an established connection?\n"));
DCCP_DEBUG((LOG_INFO, "dccp_connect seq_snd %llu\n", dp->seq_snd));
DCCP_DEBUG((LOG_INFO, "Entering dccp_doconnect!\n"));
DCCP_DEBUG((LOG_INFO, "Running in6pcb_bind!\n"));
DCCP_DEBUG((LOG_INFO, "inpcb_bind=%d\n",error));
DCCP_DEBUG((LOG_INFO, "in6pcb_connect=%d\n",error));
DCCP_DEBUG((LOG_INFO, "inpcb_connect=%d\n",error));
DCCP_DEBUG((LOG_INFO, "Entering dccp_detach!\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp_disconnect!\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp_disconnect2!\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp_send!\n"));
DCCP_DEBUG((LOG_INFO, "We have no established connection!\n"));
DCCP_DEBUG((LOG_INFO, "We got a control message!\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp_shutdown!\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp_listen!\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp_accept!\n"));
DCCP_DEBUG((LOG_INFO, "so_state && SS_ISDISCONNECTED!, so->state = %i\n", so->so_state));
DCCP_DEBUG((LOG_INFO, "Creating a new dccpcb!\n"));
DCCP_DEBUG((LOG_INFO, "Got DCCP packet!\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp_add_feature_option, opt = %u, val_len = %u optlen %u\n", opt, val_len, dp->optlen));
DCCP_DEBUG((LOG_INFO, "No room for more options, optlen = %u\n", dp->optlen));
DCCP_DEBUG((LOG_INFO, "dccp_get_option option(%d) not found\n", type));
DCCP_DEBUG((LOG_INFO, "Parsing opt: 0x%02x\n", opt));
DCCP_DEBUG((LOG_INFO, "Got DCCP_OPT_PADDING!\n"));
DCCP_DEBUG((LOG_INFO, "Got DCCP_OPT_DATA_DISCARD!\n"));
DCCP_DEBUG((LOG_INFO, "Got DCCP_OPT_SLOW_RECV!\n"));
DCCP_DEBUG((LOG_INFO, "Got DCCP_OPT_BUF_CLOSED!\n"));
DCCP_DEBUG((LOG_INFO, "Got an unknown option, option = %u!\n", opt));
DCCP_DEBUG((LOG_INFO, "Error, option size = %u\n", size));
DCCP_DEBUG((LOG_INFO, "Got option %u, size = %u, feature = %u\n", opt, size, options[i+2]));
DCCP_DEBUG((LOG_INFO, "Got DCCP ipv6 packet, iphlen = %u!\n", iphlen));
DCCP_DEBUG((LOG_INFO, "Calling dccp_feature neg(%u, %u, options[%u + 1], %u)!\n", (u_int)dp, opt, i+ 1, (size - 3)));
DCCP_DEBUG((LOG_INFO, "Error, option size = %u\n", size));
DCCP_DEBUG((LOG_INFO, "Got DCCP_OPT_RECV_BUF_DROPS, size = %u!\n", size));
DCCP_DEBUG((LOG_INFO, "val[%u] = %u ", j-1, options[i+j]));
DCCP_DEBUG((LOG_INFO, "\n"));
DCCP_DEBUG((LOG_INFO, "Got DCCP_OPT_TIMESTAMP, size = %u\n", size));
DCCP_DEBUG((LOG_INFO, "Got DCCP_OPT_TIMESTAMP_ECHO, size = %u\n",size));
DCCP_DEBUG((LOG_INFO, "val[%u] = %u ", j-1, options[i+j]));
DCCP_DEBUG((LOG_INFO, "\n"));
DCCP_DEBUG((LOG_INFO, "Got an unknown option, option = %u, size = %u!\n", opt, size));
DCCP_DEBUG((LOG_INFO, "Got a CCID option (%d), do nothing!\n", opt));
DCCP_DEBUG((LOG_INFO, "Error, option size = %u\n", size));
DCCP_DEBUG((LOG_INFO, "Entering dccp_add_feature, opt = %u, feature = %u, val_len = %u\n", opt, feature, val_len));
DCCP_DEBUG((LOG_INFO, "No room for more features, featlen = %u\n", dp->featlen));
DCCP_DEBUG((LOG_INFO, "Entering dccp_remove_feature, featlen = %u, opt = %u, feature = %u\n", dp->featlen, opt, feature));
DCCP_DEBUG((LOG_INFO, "Error, len = %u and i(%u) + len > dp->featlen (%u)\n", len, i, dp->featlen));
DCCP_DEBUG((LOG_INFO, "Exiting dccp_remove_feature, featlen = %u\n", dp->featlen));
DCCP_DEBUG((LOG_INFO, "Running dccp_feature_neg, opt = %u, feature = %u len = %u ", opt, feature, val_len));
DCCP_DEBUG((LOG_INFO, "Got CCID negotiation, opt = %u, val[0] = %u\n", opt, val[0]));
DCCP_DEBUG((LOG_INFO, "Sending DCCP_OPT_CONFIRM_L on CCID %u\n", val[0]));
DCCP_DEBUG((LOG_INFO, "We already have negotiated a CC!!!\n"));
DCCP_DEBUG((LOG_INFO, "Got DCCP_OPT_CONFIRM_L on CCID %u\n", val[0]));
DCCP_DEBUG((LOG_INFO, "confirmed cc_in_use[1] = %d\n", dp->cc_in_use[1]));
DCCP_DEBUG((LOG_INFO, "We already have negotiated a CC!!! (confirm) %d\n", dp->cc_in_use[1]));
DCCP_DEBUG((LOG_INFO, "Need to strip options\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp_timewait_t!\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp_connect_t!\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp_close_t!\n"));
DCCP_DEBUG((LOG_INFO,
DCCP_DEBUG((LOG_INFO, "Entering dccp_retrans_t!\n"));
DCCP_DEBUG((LOG_INFO,
DCCP_DEBUG((LOG_INFO,"Initializing AckVector\n"));
DCCP_DEBUG((LOG_INFO, "It was already initialized!!!\n"));
DCCP_DEBUG((LOG_INFO, "Unable to allocate memory for ackvector\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp_increment_ackvecktor %d\n", dp->av_size));
DCCP_DEBUG((LOG_INFO, "Increment: AckVector NOT YET INITIALIZED!!!\n"));
DCCP_DEBUG((LOG_INFO, "dccp_increment_ackvecktor gap=%llu av_size %d\n", gap, dp->av_size));
DCCP_DEBUG((LOG_INFO, "increment_ackvector error. gap: %llu, av_size: %d, seqnr: %d\n",
DCCP_DEBUG((LOG_INFO, "Dropping DCCP packet!\n"));
DCCP_DEBUG((LOG_INFO, "in6p=%p\n", inp));
DCCP_DEBUG((LOG_INFO, "inp=%p\n", inp));
DCCP_DEBUG((LOG_INFO, "We are in closed state, dropping packet and sending reset!\n"));
DCCP_DEBUG((LOG_INFO, "so->options & SO_ACCEPTCONN! dp->state = %i\n", dp->state));
DCCP_DEBUG((LOG_INFO, "Error, sonewconn failed!\n"));
DCCP_DEBUG((LOG_INFO, "New dp = %u, dp->state = %u!\n", (int)dp, dp->state));
DCCP_DEBUG((LOG_INFO, "short seq conversion %x, %u %u\n",
DCCP_DEBUG((LOG_INFO, "Received DCCP packet with sequence number = %llu , gsn_rcv %llu\n", seqnr, dp->gsn_rcv));
DCCP_DEBUG((LOG_INFO, "Received DCCP packet with bad sequence number = %llu (low_seqnr = %llu, high_seqnr = %llu)\n", seqnr, low_seqnr, high_seqnr));
DCCP_DEBUG((LOG_INFO, "service code in request packet doesn't match! %x %x\n", drqh->drqh_scode, dp->scode));
DCCP_DEBUG((LOG_INFO, "service code in response packet doesn't match! %x %x\n", drqh->drqh_scode, dp->scode));
DCCP_DEBUG((LOG_INFO, "Data offset is smaller then it could be, optlen = %i data_off = %i, m_len = %i, iphlen = %i extrah_len = %i !\n", optlen, data_off, m->m_len, iphlen, extrah_len));
DCCP_DEBUG((LOG_INFO, "Error, more options (%i) then DCCP_MAX_OPTIONS options!\n", optlen));
DCCP_DEBUG((LOG_INFO, "Parsing DCCP options, optlen = %i\n", optlen));
DCCP_DEBUG((LOG_INFO, "BEFORE state check, Got a %u packet while in %u state, who = %u!\n", dh->dh_type, dp->state, dp->who));
DCCP_DEBUG((LOG_INFO, "Got DCCP REQUEST\n"));
DCCP_DEBUG((LOG_INFO, "XXX: len=%d, data_off=%d\n", len, data_off));
DCCP_DEBUG((LOG_INFO, "Got DCCP ACK/DATAACK/DATA, should check init cookie...\n"));
DCCP_DEBUG((LOG_INFO, "Got DCCP RESET\n"));
DCCP_DEBUG((LOG_INFO, "Got a %u packet while in listen stage!\n", dh->dh_type));
DCCP_DEBUG((LOG_INFO, "Got DCCP REPSONSE %x %llx\n", dp, dp->ack_snd));
DCCP_DEBUG((LOG_INFO, "Setting DCCPS_ESTAB & soisconnected\n"));
DCCP_DEBUG((LOG_INFO, "CC negotiation is not finished, cc_in_use[0] = %u, cc_in_use[1] = %u\n",dp->cc_in_use[0], dp->cc_in_use[1]));
DCCP_DEBUG((LOG_INFO, "Got DCCP RESET\n"));
DCCP_DEBUG((LOG_INFO, "Got a %u packet while in REQUEST stage!\n", dh->dh_type));
DCCP_DEBUG((LOG_INFO, "Got DCCP ACK/DATAACK\n"));
DCCP_DEBUG((LOG_INFO, "Setting DCCPS_ESTAB & soisconnected\n"));
DCCP_DEBUG((LOG_INFO, "CC negotiation is not finished, cc_in_use[0] = %u, cc_in_use[1] = %u\n",dp->cc_in_use[0], dp->cc_in_use[1]));
DCCP_DEBUG((LOG_INFO, "Calling *cc_sw[%u].cc_recv_packet_recv!\n", dp->cc_in_use[1]));
DCCP_DEBUG((LOG_INFO, "Got a %u packet while in response stage!\n", dh->dh_type));
DCCP_DEBUG((LOG_INFO, "Got DCCP DATA, state = %i, cc_in_use[1] = %u\n", dp->state, dp->cc_in_use[1]));
DCCP_DEBUG((LOG_INFO, "Calling data *cc_sw[%u].cc_recv_packet_recv! %llx %llx dp=%x\n", dp->cc_in_use[1], dp->ack_snd, dp->seq_rcv, dp));
DCCP_DEBUG((LOG_INFO, "Got DCCP ACK\n"));
DCCP_DEBUG((LOG_INFO, "Calling ACK *cc_sw[%u].cc_recv_packet_recv! %llx %llx\n", dp->cc_in_use[1], dp->ack_snd, dp->seq_rcv));
DCCP_DEBUG((LOG_INFO, "Got DCCP DATAACK\n"));
DCCP_DEBUG((LOG_INFO, "Calling *cc_sw[%u].cc_recv_packet_recv! %llx %llx\n", dp->cc_in_use[1], dp->ack_snd, dp->seq_rcv));
DCCP_DEBUG((LOG_INFO, "Got DCCP CLOSEREQ, state = estab\n"));
DCCP_DEBUG((LOG_INFO, "Got DCCP CLOSE, state = estab\n"));
DCCP_DEBUG((LOG_INFO, "Got DCCP RESET\n"));
DCCP_DEBUG((LOG_INFO, "Got DCCP MOVE\n"));
DCCP_DEBUG((LOG_INFO, "Got a %u packet while in established stage!\n", dh->dh_type));
DCCP_DEBUG((LOG_INFO, "Got DCCP CLOSE (State DCCPS_SERVER_CLOSE)\n"));
DCCP_DEBUG((LOG_INFO, "Got DCCP RESET\n"));
DCCP_DEBUG((LOG_INFO, "Got a %u packet while in server_close stage!\n", dh->dh_type));
DCCP_DEBUG((LOG_INFO, "Got DCCP CLOSEREQ, state = DCCPS_CLIENT_CLOSE\n"));
DCCP_DEBUG((LOG_INFO, "Got DCCP RESET\n"));
DCCP_DEBUG((LOG_INFO, "Got a %u packet while in client_close stage!\n", dh->dh_type));
DCCP_DEBUG((LOG_INFO, "Got a %u packet while in %u state!\n", dh->dh_type, dp->state));
DCCP_DEBUG((LOG_INFO, "Force sending a request!\n"));
DCCP_DEBUG((LOG_INFO, "state & SS_CANTRCVMORE...!\n"));
DCCP_DEBUG((LOG_INFO, "Calling sbappend!\n"));
DCCP_DEBUG((LOG_INFO, "Calling sorwakeup...!\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp6_bind!\n"));
DCCP_DEBUG((LOG_INFO, "dccp6_bind: inp == 0!\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp6_connect!\n"));
DCCP_DEBUG((LOG_INFO, "Why are we in connect when we already have a established connection?\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp6_listen!\n"));
DCCP_DEBUG((LOG_INFO, "Checking inp->inp_lport!\n"));
DCCP_DEBUG((LOG_INFO, "Entering dccp6_accept!\n"));
DCCP_DEBUG((LOG_INFO, "so_state && SS_ISDISCONNECTED!, so->state = %i\n", so->so_state));
DCCP_DEBUG((LOG_INFO, "In dccp6_input!\n"));