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.
Details
Details
- Reviewers
melifaro - Group Reviewers
network transport - Commits
- rGc93db4abf454: udp: call UDP methods from UDP over IPv6 directly
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
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. |