NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: UDP Lite Support on NetBSD 6.0

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;
        ui->ui_pr = IPPROTO_UDP;

Is it a good idea? or any some suggestions? Thank you.

Home | Main Index | Thread Index | Old Index