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



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.

Attachment: pgpxW__Rvqggm.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index