#
9a32bf7b |
| 12-Nov-2023 |
bluhm <bluhm@openbsd.org> |
Use constant sockaddr in route lookup.
In rtalloc() and rtalloc_mpath() declare the parameter dst as const sockaddr. This makes MP safe route lookup easier as the destination address is definitely
Use constant sockaddr in route lookup.
In rtalloc() and rtalloc_mpath() declare the parameter dst as const sockaddr. This makes MP safe route lookup easier as the destination address is definitely not modified during the operation. Array rti_info, the central data structure with addresses for route matching, contains constant sockaddr now.
OK mvs@ dlg@
show more ...
|
#
9c681c75 |
| 04-May-2017 |
bluhm <bluhm@openbsd.org> |
Introduce sstosa() for converting sockaddr_storage with a type safe inline function instead of casting it to sockaddr. While there, use inline instead of __inline for all these conversions. Some st
Introduce sstosa() for converting sockaddr_storage with a type safe inline function instead of casting it to sockaddr. While there, use inline instead of __inline for all these conversions. Some struct sockaddr casts can be avoided completely. OK dhill@ mpi@
show more ...
|
#
f419757a |
| 24-Jan-2017 |
krw <krw@openbsd.org> |
A space here, a space there. Soon we're talking real whitespace rectification.
|
#
c7b7b779 |
| 22-Oct-2015 |
bluhm <bluhm@openbsd.org> |
Inspired by satosin(), use inline functions to convert sockaddr dl. Instead of casts they check wether the incoming object has the expected type. So introduce satosdl() and sdltosa() in the kernel.
Inspired by satosin(), use inline functions to convert sockaddr dl. Instead of casts they check wether the incoming object has the expected type. So introduce satosdl() and sdltosa() in the kernel. OK mpi@
show more ...
|
#
15d1dca9 |
| 15-Sep-2015 |
guenther <guenther@openbsd.org> |
link_addr() is gone
ok mpi@
|
#
4a39ccd0 |
| 05-Dec-2012 |
deraadt <deraadt@openbsd.org> |
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
|
#
86b6cb36 |
| 08-Jul-2011 |
claudio <claudio@openbsd.org> |
Increase sdl_data so that more then IFNAMSIZ bytes are available. Additionally round the sizeof(struct sockaddr_dl) to a power of 2. OK guenther@ deraadt@
|
#
29295d1c |
| 02-Jun-2003 |
millert <millert@openbsd.org> |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
#
c4071fd1 |
| 14-Mar-2002 |
millert <millert@openbsd.org> |
First round of __P removal in sys
|
#
e04c8cc2 |
| 09-Jun-2001 |
angelos <angelos@openbsd.org> |
By popular demand, protect from multiple inclusion, and fix to use the same naming style.
|
#
baedf06b |
| 09-Jan-2001 |
angelos <angelos@openbsd.org> |
Fix comment (noticed by cas@trans-nt.com)
|
#
e8b7e5e9 |
| 24-Feb-1997 |
niklas <niklas@openbsd.org> |
OpenBSD tags + some prototyping police
|
#
df930be7 |
| 18-Oct-1995 |
deraadt <deraadt@openbsd.org> |
initial import of NetBSD tree
|