> On Fri, Jan 30, 2009 at 02:22:49PM -0500, Peter Memishian wrote: > > Using the DB_TYPE() macro would make this a bit less error-prone. > > Like this? > > ASSERT(DB_TYPE(ipsec_mp) == M_CTL); > ASSERT(io->ipsec_out_type == IPSEC_OUT); > ASSERT(ipsec_mp->b_cont != NULL); > ASSERT(DB_TYPE(ipsec_mp->b_cont) == M_DATA);
Right. -- meem _______________________________________________ networking-discuss mailing list [email protected]
