Changeset 45717 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Apr 24, 2013 6:57:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/SrvIntNetR0.cpp
r45716 r45717 845 845 DECLINLINE(bool) intnetR0IPv6AddrIsGood(RTNETADDRIPV6 addr) 846 846 { 847 return !( ( addr.QWords.qw0 == 0 && addr.QWords.qw1 == 0) /* :: */848 || ( addr.Words.w0 & RT_H2BE_U16(0xff00) == RT_H2BE_U16(0xff00)) /* multicast */847 return !( ( addr.QWords.qw0 == 0 && addr.QWords.qw1 == 0) /* :: */ 848 || ( (addr.Words.w0 & RT_H2BE_U16(0xff00)) == RT_H2BE_U16(0xff00)) /* multicast */ 849 849 || ( addr.Words.w0 == 0 && addr.Words.w1 == 0 850 850 && addr.Words.w2 == 0 && addr.Words.w3 == 0 851 851 && addr.Words.w4 == 0 && addr.Words.w5 == 0 852 && addr.Words.w6 == 0 && addr.Words.w7 == RT_H2BE_U16(0x0001))); /* ::1 */852 && addr.Words.w6 == 0 && addr.Words.w7 == RT_H2BE_U16(0x0001))); /* ::1 */ 853 853 } 854 854
Note:
See TracChangeset
for help on using the changeset viewer.