After decoupling of protosw(9) and IP wire protocols in 78b1fc05b205 for
IPv4 we got vector ip_ctlprotox[] that is executed only and only from
icmp_input() and respectively for IPv6 we got ip6_ctlprotox[] executed
only and only from icmp6_input().  This allows to use protocol specific
argument types in these methods instead of struct sockaddr and void.
Details
Details
- Reviewers
 melifaro - Group Reviewers
 network transport - Commits
 - rG43d39ca7e518: netinet*: de-void control input IP protocol methods
 
Diff Detail
Diff Detail
- Repository
 - rG FreeBSD src repository
 - Lint
 Lint Skipped - Unit
 Tests Skipped - Build Status
 Buildable 47546 Build 44433: arc lint + arc unit 
Event Timeline
| sys/netinet/tcp_subr.c | ||
|---|---|---|
| 2845 | Q: why not pass the actual address instead of struct sockaddr_in?  | |