OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NetmaskToPrefixLength
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/chromeos/network/
network_util_unittest.cc
11
using chromeos::network_util::
NetmaskToPrefixLength
;
17
TEST_F(NetworkUtilTest,
NetmaskToPrefixLength
) {
19
EXPECT_EQ(32,
NetmaskToPrefixLength
("255.255.255.255"));
20
EXPECT_EQ(31,
NetmaskToPrefixLength
("255.255.255.254"));
21
EXPECT_EQ(30,
NetmaskToPrefixLength
("255.255.255.252"));
22
EXPECT_EQ(29,
NetmaskToPrefixLength
("255.255.255.248"));
23
EXPECT_EQ(28,
NetmaskToPrefixLength
("255.255.255.240"));
24
EXPECT_EQ(27,
NetmaskToPrefixLength
("255.255.255.224"));
25
EXPECT_EQ(26,
NetmaskToPrefixLength
("255.255.255.192"));
26
EXPECT_EQ(25,
NetmaskToPrefixLength
("255.255.255.128"))
[
all
...]
network_util.h
74
CHROMEOS_EXPORT int32
NetmaskToPrefixLength
(const std::string& netmask);
network_util.cc
52
int32
NetmaskToPrefixLength
(const std::string& netmask) {
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
internet_options_handler.cc
[
all
...]
Completed in 1134 milliseconds