dave jones <s.dave.jones%gmail.com@localhost> writes: > I'd work on it and learn NetBSD network internals, but it seems > like there is a lot of duplicated code in order to implement UDP-Lite. > For example, in udp_output(), to fill in mbuf with extended UDP-Lite header, > I'd add the following code: > > #ifdef UDPLITE > ui->ui_pr = IPPROTO_UDPLITE; > #else > ui->ui_pr = IPPROTO_UDP; > #endif > > Is it a good idea? or any some suggestions? Thank you. Adding support for UDP-Lite should not involve removing support for UDP.
Description: PGP signature