#
f8cb308b |
| 19-Nov-2022 |
yamt <yamt@NetBSD.org> |
Make arp have its own mowner
This helped me to debug mbuf leaks in arp. (if_arp.c rev. 1.298)
|
#
8a2345ff |
| 08-Mar-2021 |
christos <christos@NetBSD.org> |
mv <sys/cprng.h> include to the kernel portion
|
#
c902fe6a |
| 08-Mar-2021 |
christos <christos@NetBSD.org> |
reinstate a simple version of ip_randomid()
|
#
79b99d85 |
| 08-Mar-2021 |
christos <christos@NetBSD.org> |
remove now unused pseudo-random ip id code.
|
#
e4457a63 |
| 08-Mar-2021 |
christos <christos@NetBSD.org> |
Use a random IPv4 ID because the shuffling algorithm used before could expose information (Amit Klein)
|
#
fbd48332 |
| 11-Sep-2020 |
roy <roy@NetBSD.org> |
inet: Add SIOCGNBRINFO to retrieve neighbor state about an address
|
#
0dec63cc |
| 29-Nov-2018 |
ozaki-r <ozaki-r@NetBSD.org> |
Introduce and use ip_dad_enabled() and ip6_dad_enabled() functions
|
#
bd4e68b7 |
| 19-Apr-2018 |
christos <christos@NetBSD.org> |
s/static inline/static __inline/g for consistency.
|
#
e326a9a2 |
| 12-May-2017 |
ryo <ryo@NetBSD.org> |
replace in_fmtaddr() by IN_PRINT(), and delete function in_fmtaddr()
|
#
f6e85e3a |
| 16-Jan-2017 |
christos <christos@NetBSD.org> |
really, use.
|
#
2c01c009 |
| 16-Jan-2017 |
christos <christos@NetBSD.org> |
rename arplog -> ARPLOG to make it clear that it is a macro and tuck-in the buffer used for address formatting.
|
#
d57ba21c |
| 16-Jan-2017 |
ryo <ryo@NetBSD.org> |
Make ip6_sprintf(), in_fmtaddr(), lla_snprintf() and icmp6_redirect_diag() mpsafe.
Reviewed by ozaki-r@
|
#
dafb2219 |
| 02-Jan-2017 |
christos <christos@NetBSD.org> |
- You can't just call the pfil hook to remove an address before an address is removed! Hold a reference instead, remove it, and then free it. - GC iatoifa()
|
#
62ce05a6 |
| 06-Dec-2016 |
knakahara <knakahara@NetBSD.org> |
add API to manipulate ifa->ia_hash and ia_hash_pslist_entry, and fix ia_hash_pslist_entry race by using them.
in_ifaddr_lock is required before writing ifa->ia_hash and ia_hash_pslist_entry to seria
add API to manipulate ifa->ia_hash and ia_hash_pslist_entry, and fix ia_hash_pslist_entry race by using them.
in_ifaddr_lock is required before writing ifa->ia_hash and ia_hash_pslist_entry to serialize writer processings.
reviewed by ozaki-r@n.o.
show more ...
|
#
00dc41d3 |
| 18-Nov-2016 |
knakahara <knakahara@NetBSD.org> |
We must use PSLIST_ENTRY_DESTROY after PSLIST_WRITER_REMOVE and waiting all readers done.
And then, if we want to re-insert the removed pslist element, we need to call PSLIST_ENTERY_INIT again.
adv
We must use PSLIST_ENTRY_DESTROY after PSLIST_WRITER_REMOVE and waiting all readers done.
And then, if we want to re-insert the removed pslist element, we need to call PSLIST_ENTERY_INIT again.
advised by riastradh@n.o and reviewed by ozaki-r@n.o, thanks.
show more ...
|
#
7ce995dc |
| 11-Oct-2016 |
roy <roy@NetBSD.org> |
Implement RFC 5227 2.4 Ongoing Conflict Detection and Address Defence.
If ip_dad_count is 0, then the conflict is just logged and the address is not marked as duplicated.
|
#
61bad33c |
| 29-Sep-2016 |
roy <roy@NetBSD.org> |
in_ifscrub is no longer needed.
|
#
1e1f645d |
| 29-Sep-2016 |
roy <roy@NetBSD.org> |
Set dstaddr in in_ifinit so that sppp consumers announce the correct dstaddr in routing messages.
|
#
2dc716b5 |
| 18-Sep-2016 |
christos <christos@NetBSD.org> |
Dealing with arplog is a bit more complicated...
|
#
656dcba1 |
| 17-Sep-2016 |
christos <christos@NetBSD.org> |
protect arplog with INET
|
#
f041083c |
| 16-Sep-2016 |
roy <roy@NetBSD.org> |
Drop hostIsNew from in_ifinit, let the function work out if the address has changed. Sync address flag setup with the IPv6 counterpart. When scrubbing the address, or setting up the address fails, re
Drop hostIsNew from in_ifinit, let the function work out if the address has changed. Sync address flag setup with the IPv6 counterpart. When scrubbing the address, or setting up the address fails, restore the old address flags as well as the old address.
show more ...
|
#
9393b2c4 |
| 15-Sep-2016 |
roy <roy@NetBSD.org> |
Allow arplog to be used outside of if_arp.c
|
#
3ce4efd3 |
| 13-Sep-2016 |
christos <christos@NetBSD.org> |
remove trailing spaces. userland does not catch this?
|
#
4248929b |
| 13-Sep-2016 |
christos <christos@NetBSD.org> |
add bits for address flags
|
#
3ad55fb6 |
| 01-Aug-2016 |
ozaki-r <ozaki-r@NetBSD.org> |
Apply pserialize and psref to struct ifaddr and its variants
This change makes struct ifaddr and its variants (in_ifaddr and in6_ifaddr) MP-safe by using pserialize and psref. At this moment, pseria
Apply pserialize and psref to struct ifaddr and its variants
This change makes struct ifaddr and its variants (in_ifaddr and in6_ifaddr) MP-safe by using pserialize and psref. At this moment, pserialize_perform and psref_target_destroy are disabled because (1) we don't need them because of softnet_lock (2) they cause a deadlock because of softnet_lock. So we'll enable them when we remove softnet_lock in the future.
show more ...
|