|
Lines 187-193
Link Here
|
| 187 |
In such cases DAD may fail, because DAD engine sees inbound NS packet |
187 |
In such cases DAD may fail, because DAD engine sees inbound NS packet |
| 188 |
(actually from the node itself) and considers it as a sign of duplicate. |
188 |
(actually from the node itself) and considers it as a sign of duplicate. |
| 189 |
In this case, drivers should be corrected to honor IFF_SIMPLEX behavior. |
189 |
In this case, drivers should be corrected to honor IFF_SIMPLEX behavior. |
| 190 |
For example, you may need to check source MAC address on a inbound packet, |
190 |
For example, you may need to check source MAC address on an inbound packet, |
| 191 |
and reject it if it is from the node itself. |
191 |
and reject it if it is from the node itself. |
| 192 |
You may also want to look at #if condition marked "heuristics" in |
192 |
You may also want to look at #if condition marked "heuristics" in |
| 193 |
sys/netinet6/nd6_nbr.c:nd6_dad_timer() as workaround (note that the code |
193 |
sys/netinet6/nd6_nbr.c:nd6_dad_timer() as workaround (note that the code |
|
Lines 1188-1194
Link Here
|
| 1188 |
based on RFC2553bis discussion. |
1188 |
based on RFC2553bis discussion. |
| 1189 |
|
1189 |
|
| 1190 |
If you look at multiple IPv6 implementations, you will be able to see |
1190 |
If you look at multiple IPv6 implementations, you will be able to see |
| 1191 |
both definitions. As an userland programmer, the most portable way of |
1191 |
both definitions. As a userland programmer, the most portable way of |
| 1192 |
dealing with it is to: |
1192 |
dealing with it is to: |
| 1193 |
(1) ensure ss_family and/or ss_len are available on the platform, by using |
1193 |
(1) ensure ss_family and/or ss_len are available on the platform, by using |
| 1194 |
GNU autoconf, |
1194 |
GNU autoconf, |