HomeSort by relevance Sort by last modified time
    Searched full:ipaddr (Results 1 - 25 of 369) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/ipaddr/
ipaddr_test.py 18 """Unittest for ipaddr module."""
23 import ipaddr
26 if issubclass(ipaddr.Bytes, str):
27 _cb = ipaddr.Bytes
34 self.ipv4 = ipaddr.IPv4Network('1.2.3.4/24')
35 self.ipv4_hostmask = ipaddr.IPv4Network('10.0.0.1/0.255.255.255')
36 self.ipv6 = ipaddr.IPv6Network('2001:658:22a:cafe:200:0:0:1/64')
46 repr(ipaddr.IPv4Network('1.2.3.4')))
48 repr(ipaddr.IPv6Network('::1')))
51 addr1 = ipaddr.IPv4Network('1.1.1.255/24'
    [all...]
README 0 ipaddr.py is a library for working with IP addresses, both IPv4 and IPv6.
4 Project home page: http://code.google.com/p/ipaddr-py/
6 Please send contributions to ipaddr-py-dev@googlegroups.com. Code should
README.web-page-replay 2 Short Name: ipaddr-py
3 URL: https://code.google.com/p/ipaddr-py/
4 Version: 2.1.10 (ipaddr.__version__)
setup.py 19 import ipaddr
22 setup(name='ipaddr',
24 maintainer_email='ipaddr-py-dev@googlegroups.com',
25 version=ipaddr.__version__,
26 url='http://code.google.com/p/ipaddr-py/',
36 py_modules=['ipaddr'])
  /prebuilts/go/darwin-x86/src/net/
hook.go 10 testHookLookupIP = func(fn func(string) ([]IPAddr, error), host string) ([]IPAddr, error) { return fn(host) }
iprawsock.go 7 // IPAddr represents the address of an IP end point.
8 type IPAddr struct {
14 func (a *IPAddr) Network() string { return "ip" }
16 func (a *IPAddr) String() string {
27 func (a *IPAddr) isWildcard() bool {
34 func (a *IPAddr) opAddr() Addr {
44 func ResolveIPAddr(net, addr string) (*IPAddr, error) {
61 return addrs.first(isIPv4).(*IPAddr), nil
ipraw_test.go 21 addr *IPAddr
26 {"ip", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
27 {"ip4", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
28 {"ip4:icmp", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
30 {"ip", "::1", &IPAddr{IP: ParseIP("::1")}, nil},
31 {"ip6", "::1", &IPAddr{IP: ParseIP("::1")}, nil},
32 {"ip6:ipv6-icmp", "::1", &IPAddr{IP: ParseIP("::1")}, nil},
33 {"ip6:IPv6-ICMP", "::1", &IPAddr{IP: ParseIP("::1")}, nil},
35 {"ip", "::1%en0", &IPAddr{IP: ParseIP("::1"), Zone: "en0"}, nil},
36 {"ip6", "::1%911", &IPAddr{IP: ParseIP("::1"), Zone: "911"}, nil}
    [all...]
ipsock_test.go 12 var testInetaddr = func(ip IPAddr) Addr { return &TCPAddr{IP: ip.IP, Port: 5682, Zone: ip.Zone} }
15 filter func(IPAddr) bool
16 ips []IPAddr
17 inetaddr func(IPAddr) Addr
25 []IPAddr{
37 []IPAddr{
49 []IPAddr{
64 []IPAddr{
79 []IPAddr{
99 []IPAddr{
    [all...]
iprawsock_posix.go 29 return &IPAddr{IP: sa.Addr[0:]}
31 return &IPAddr{IP: sa.Addr[0:], Zone: zoneToString(int(sa.ZoneId))}
36 func (a *IPAddr) family() int {
46 func (a *IPAddr) sockaddr(family int) (syscall.Sockaddr, error) {
68 func (c *IPConn) ReadFromIP(b []byte) (int, *IPAddr, error) {
74 var addr *IPAddr
78 addr = &IPAddr{IP: sa.Addr[0:]}
81 addr = &IPAddr{IP: sa.Addr[0:], Zone: zoneToString(int(sa.ZoneId))}
120 func (c *IPConn) ReadMsgIP(b, oob []byte) (n, oobn, flags int, addr *IPAddr, err error) {
128 addr = &IPAddr{IP: sa.Addr[0:]
    [all...]
interface_darwin.go 41 func newMulticastAddr(ifi *Interface, m *syscall.InterfaceMulticastAddrMessage) (*IPAddr, error) {
48 return &IPAddr{IP: IPv4(sa.Addr[0], sa.Addr[1], sa.Addr[2], sa.Addr[3])}, nil
50 ifma := IPAddr{IP: make(IP, IPv6len)}
interface_freebsd.go 41 func newMulticastAddr(ifi *Interface, m *syscall.InterfaceMulticastAddrMessage) (*IPAddr, error) {
48 return &IPAddr{IP: IPv4(sa.Addr[0], sa.Addr[1], sa.Addr[2], sa.Addr[3])}, nil
50 ifma := IPAddr{IP: make(IP, IPv6len)}
  /prebuilts/go/linux-x86/src/net/
hook.go 10 testHookLookupIP = func(fn func(string) ([]IPAddr, error), host string) ([]IPAddr, error) { return fn(host) }
iprawsock.go 7 // IPAddr represents the address of an IP end point.
8 type IPAddr struct {
14 func (a *IPAddr) Network() string { return "ip" }
16 func (a *IPAddr) String() string {
27 func (a *IPAddr) isWildcard() bool {
34 func (a *IPAddr) opAddr() Addr {
44 func ResolveIPAddr(net, addr string) (*IPAddr, error) {
61 return addrs.first(isIPv4).(*IPAddr), nil
ipraw_test.go 21 addr *IPAddr
26 {"ip", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
27 {"ip4", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
28 {"ip4:icmp", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
30 {"ip", "::1", &IPAddr{IP: ParseIP("::1")}, nil},
31 {"ip6", "::1", &IPAddr{IP: ParseIP("::1")}, nil},
32 {"ip6:ipv6-icmp", "::1", &IPAddr{IP: ParseIP("::1")}, nil},
33 {"ip6:IPv6-ICMP", "::1", &IPAddr{IP: ParseIP("::1")}, nil},
35 {"ip", "::1%en0", &IPAddr{IP: ParseIP("::1"), Zone: "en0"}, nil},
36 {"ip6", "::1%911", &IPAddr{IP: ParseIP("::1"), Zone: "911"}, nil}
    [all...]
ipsock_test.go 12 var testInetaddr = func(ip IPAddr) Addr { return &TCPAddr{IP: ip.IP, Port: 5682, Zone: ip.Zone} }
15 filter func(IPAddr) bool
16 ips []IPAddr
17 inetaddr func(IPAddr) Addr
25 []IPAddr{
37 []IPAddr{
49 []IPAddr{
64 []IPAddr{
79 []IPAddr{
99 []IPAddr{
    [all...]
iprawsock_posix.go 29 return &IPAddr{IP: sa.Addr[0:]}
31 return &IPAddr{IP: sa.Addr[0:], Zone: zoneToString(int(sa.ZoneId))}
36 func (a *IPAddr) family() int {
46 func (a *IPAddr) sockaddr(family int) (syscall.Sockaddr, error) {
68 func (c *IPConn) ReadFromIP(b []byte) (int, *IPAddr, error) {
74 var addr *IPAddr
78 addr = &IPAddr{IP: sa.Addr[0:]}
81 addr = &IPAddr{IP: sa.Addr[0:], Zone: zoneToString(int(sa.ZoneId))}
120 func (c *IPConn) ReadMsgIP(b, oob []byte) (n, oobn, flags int, addr *IPAddr, err error) {
128 addr = &IPAddr{IP: sa.Addr[0:]
    [all...]
  /external/selinux/libsepol/cil/test/integration_testing/
nonmls.cil 24 (ipaddr ip_v4 192.25.35.200)
25 (ipaddr netmask 192.168.1.1)
26 (ipaddr ip_v6 2001:0DB8:AC10:FE01::)
27 (ipaddr netmask_v6 2001:0DE0:DA88:2222::)
  /system/core/libnetutils/
dhcpmsg.h 74 #define OPT_SUBNET_MASK 1 /* 4 <ipaddr> */
76 #define OPT_GATEWAY 3 /* 4*n <ipaddr> * n */
77 #define OPT_DNS 6 /* 4*n <ipaddr> * n */
79 #define OPT_BROADCAST_ADDR 28 /* 4 <ipaddr> */
81 #define OPT_REQUESTED_IP 50 /* 4 <ipaddr> */
84 #define OPT_SERVER_ID 54 /* 4 <ipaddr> */
104 uint32_t ipaddr, uint32_t serveraddr);
  /external/ppp/pppd/plugins/radius/etc/
dictionary.compat 4 ATTRIBUTE Client-Id 4 ipaddr
7 ATTRIBUTE Framed-Address 8 ipaddr
8 ATTRIBUTE Framed-Netmask 9 ipaddr
10 ATTRIBUTE Login-Host 14 ipaddr
28 ATTRIBUTE Login-Host 14 ipaddr
  /external/iproute2/ip/
ifcfg 67 ipaddr=
70 ipaddr=${1%/*}
71 if [ "$1" != "$ipaddr" ]; then
74 if [ "$ipaddr" = "" ]; then
87 pfx="$ipaddr peer $peer"
89 if [ "$ipaddr" = "" ]; then
94 ABCMaskLen $ipaddr
97 pfx="$ipaddr/$pfxlen"
100 if [ "$ldev" = "$dev" -a "$ipaddr" != "" ]; then
115 if [ "$ipaddr" = "" ]; then exit 0; f
    [all...]
  /external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
README.chromium 9 Local modification: Remove webpagereplay/third_party/ipaddr/OWNERS to avoid
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/
pfhook.h 35 typedef ULONG IPAddr;
51 IN IPAddr RecvLinkNextHop,
52 IN IPAddr SendLinkNextHop);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
icmpapi.h 16 DWORD WINAPI IcmpSendEcho(HANDLE IcmpHandle,IPAddr DestinationAddress,LPVOID RequestData,WORD RequestSize,PIP_OPTION_INFORMATION RequestOptions,LPVOID ReplyBuffer,DWORD ReplySize,DWORD Timeout);
19 DWORD WINAPI IcmpSendEcho2(HANDLE IcmpHandle,HANDLE Event,PIO_APC_ROUTINE ApcRoutine,PVOID ApcContext,IPAddr DestinationAddress,LPVOID RequestData,WORD RequestSize,PIP_OPTION_INFORMATION RequestOptions,LPVOID ReplyBuffer,DWORD ReplySize,DWORD Timeout);
22 DWORD WINAPI IcmpSendEcho2(HANDLE IcmpHandle,HANDLE Event,FARPROC ApcRoutine,PVOID ApcContext,IPAddr DestinationAddress,LPVOID RequestData,WORD RequestSize,PIP_OPTION_INFORMATION RequestOptions,LPVOID ReplyBuffer,DWORD ReplySize,DWORD Timeout);
ipexport.h 9 typedef ULONG IPAddr;
38 IPAddr Address;
49 IPAddr Address;
60 IPAddr DestAddress;
61 IPAddr SrcAddress;
83 IPAddr Address[1];
  /external/webrtc/webrtc/base/
socketaddress_unittest.cc 39 EXPECT_EQ(IPAddress(), addr.ipaddr());
47 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr());
56 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr());
67 EXPECT_EQ(tocheck, addr2.ipaddr());
77 EXPECT_EQ(IPAddress(0xFFFFFFFFU), addr.ipaddr());
86 EXPECT_EQ(IPAddress(), addr.ipaddr());
96 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr());
107 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr());
118 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr());
129 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr());
    [all...]

Completed in 549 milliseconds

1 2 3 4 5 6 7 8 91011>>