Page MenuHomeFreeBSD

udp: call UDP methods from UDP over IPv6 directly
ClosedPublic

Authored by glebius on Aug 12 2022, 8:12 AM.
Tags
None
Referenced Files
F104015503: D36154.diff
Mon, Dec 2, 10:47 AM
Unknown Object (File)
Sat, Nov 23, 3:08 PM
Unknown Object (File)
Fri, Nov 15, 5:06 PM
Unknown Object (File)
Fri, Nov 15, 4:56 PM
Unknown Object (File)
Oct 18 2024, 12:41 PM
Unknown Object (File)
Oct 18 2024, 12:41 PM
Unknown Object (File)
Oct 18 2024, 12:39 PM
Unknown Object (File)
Oct 3 2024, 5:36 AM
Subscribers

Details

Summary

Both UDP and UDP Lite use same methods on sockets. Both UDP over IPv4
and over IPv6 use same methods. Don't pretend that methods can switch
and remove this unneeded complexity.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46878
Build 43767: arc lint + arc unit

Event Timeline

melifaro added inline comments.
sys/netinet6/udp6_usrreq.c
137–140

We already include netinet/udp_var.h, which contains udp_input() and other similar functions definitions. Maybe worth putting these definitions there?

sys/netinet6/udp6_usrreq.c
137–140

I think that when a function is shared only between two files, it is better not make it officially public.

This revision was not accepted when it landed; it landed in state Needs Review.Aug 16 2022, 7:41 PM
This revision was automatically updated to reflect the committed changes.