Xiu-Yan Wang writes: > Hi Drew and Masa, > > For packets flagged with LSO and partial checksum, please use the macro > DB_LSOMSS to get the information of mss. The code snippet looks like: > > hcksum_retrieve(mp, NULL, NULL, &start,&stuff, &end, &value, sum_flags); > if (sum_flags & HW_LSO) { > mss = DB_LSOMSS(mp); > } >
Excellent, thank you. I'd considered that, but I was worried that the DB_LSOMSS() interface was more volatile than the hcksum_retrieve() interface, and since my driver is not yet integrated, I was trying to use the more stable interface. I'll switch to using the DB_LSOMSS() interface. Thank you, Drew _______________________________________________ driver-discuss mailing list driver-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/driver-discuss