summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qhostinfo_p.h
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2011-03-16 13:00:43 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2011-03-16 13:00:43 (GMT)
commit8f239f0b0cb7faa580ba66197f56fb3d8109aaf7 (patch)
tree8e1d85f112ef4747bf07e469eff795531c558836 /src/network/kernel/qhostinfo_p.h
parent59c7740c9d45a88713db20efbfcfbdaf3873b60c (diff)
downloadQt-8f239f0b0cb7faa580ba66197f56fb3d8109aaf7.zip
Qt-8f239f0b0cb7faa580ba66197f56fb3d8109aaf7.tar.gz
Qt-8f239f0b0cb7faa580ba66197f56fb3d8109aaf7.tar.bz2
Implement IPv6 in symbian QNetworkInterface
For IPv6 interfaces, the network mask is reported correctly, so we use that. For IPv4 interfaces, the network mask is reported as 0.0.0.0 so the existing workaround to get the netmask from routes is used. For loopback interfaces, the mask can be statically determined. Skip checking the routes if proper masks were reported for all the interfaces. Added a helper function for converting TInetAddr -> QHostAddress using the constructors that take binary data. (better than conversion to/from strings) Task-number: QTBUG-18137 Reviewed-by: Markus Goetz
Diffstat (limited to 'src/network/kernel/qhostinfo_p.h')
0 files changed, 0 insertions, 0 deletions