Elad Efrat
2009-04-21 16:16:01 UTC
Hey,
Attached is a diff implementing changes to in_pcbbind() similar to the
ones recently done in in6_pcbbind():
- Add in_pcbbind_{addr,port}() and split functionality
- Add in_pcbsetport() (almost an exact copy of in6_pcbsetport() that
was open-coded inside in_pcbbind())
- All three "static" for now, will be exposed if we decide to
- Fix a bug where "sin" was passed to kauth(9) without being set to
anything
Please review. :)
Thanks,
-e.
Attached is a diff implementing changes to in_pcbbind() similar to the
ones recently done in in6_pcbbind():
- Add in_pcbbind_{addr,port}() and split functionality
- Add in_pcbsetport() (almost an exact copy of in6_pcbsetport() that
was open-coded inside in_pcbbind())
- All three "static" for now, will be exposed if we decide to
- Fix a bug where "sin" was passed to kauth(9) without being set to
anything
Please review. :)
Thanks,
-e.