Provide human readable debug output.
This commit is contained in:
parent
bd5c482a8c
commit
1a94cdbea7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254854
@ -6023,10 +6023,10 @@ sctp_input_with_port(struct mbuf *i_pak, int off, uint16_t port)
|
||||
}
|
||||
#endif
|
||||
SCTPDBG(SCTP_DEBUG_CRCOFFLOAD,
|
||||
"sctp_input(): Packet of length %d received on %s with csum_flags 0x%x.\n",
|
||||
"sctp_input(): Packet of length %d received on %s with csum_flags 0x%b.\n",
|
||||
m->m_pkthdr.len,
|
||||
if_name(m->m_pkthdr.rcvif),
|
||||
(int)m->m_pkthdr.csum_flags);
|
||||
(int)m->m_pkthdr.csum_flags, CSUM_BITS);
|
||||
if (m->m_flags & M_FLOWID) {
|
||||
mflowid = m->m_pkthdr.flowid;
|
||||
use_mflowid = 1;
|
||||
|
@ -109,10 +109,10 @@ sctp6_input_with_port(struct mbuf **i_pak, int *offp, uint16_t port)
|
||||
}
|
||||
#endif
|
||||
SCTPDBG(SCTP_DEBUG_CRCOFFLOAD,
|
||||
"sctp6_input(): Packet of length %d received on %s with csum_flags 0x%x.\n",
|
||||
"sctp6_input(): Packet of length %d received on %s with csum_flags 0x%b.\n",
|
||||
m->m_pkthdr.len,
|
||||
if_name(m->m_pkthdr.rcvif),
|
||||
(int)m->m_pkthdr.csum_flags);
|
||||
(int)m->m_pkthdr.csum_flags, CSUM_BITS);
|
||||
if (m->m_flags & M_FLOWID) {
|
||||
mflowid = m->m_pkthdr.flowid;
|
||||
use_mflowid = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user