/prebuilts/go/linux-x86/src/net/ |
sockopt_linux.go | 14 // Allow both IP versions even if the OS default 29 // Allow multicast UDP and raw IP datagram sockets to listen
|
sockopt_solaris.go | 14 // Allow both IP versions even if the OS default 29 // Allow multicast UDP and raw IP datagram sockets to listen
|
sockoptip_stub.go | 21 func joinIPv4Group(fd *netFD, ifi *Interface, ip IP) error { 36 func joinIPv6Group(fd *netFD, ifi *Interface, ip IP) error {
|
udpsock_plan9_test.go | 37 c1, err := ListenMulticastUDP("udp4", mifc, &UDPAddr{IP: ParseIP("224.0.0.254")}) 47 c2, err := ListenUDP("udp4", &UDPAddr{IP: IPv4zero, Port: 0})
|
addrselect.go | 20 func sortByRFC6724withSrcs(addrs []IPAddr, srcs []IP) { 27 addrAttr[i] = ipAttrOf(v.IP) 41 func srcAddrs(addrs []IPAddr) []IP { 42 srcs := make([]IP, len(addrs)) 45 dst.IP = addrs[i].IP 50 srcs[i] = src.IP 64 func ipAttrOf(ip IP) ipAttr { 65 if ip == nil [all...] |
interface_linux.go | 63 // We never return any /32 or /128 IP address 64 // prefix on any IP tunnel interface as the 177 // Seems like we need to make sure whether the IP interface 178 // stack consists of IP point-to-point numbered or unnumbered 192 return &IPNet{IP: IPv4(a.Value[0], a.Value[1], a.Value[2], a.Value[3]), Mask: CIDRMask(int(ifam.Prefixlen), 8*IPv4len)} 194 ifa := &IPNet{IP: make(IP, IPv6len), Mask: CIDRMask(int(ifam.Prefixlen), 8*IPv6len)} 195 copy(ifa.IP, a.Value[:]) 232 // The Linux kernel puts the IP 239 ifma := &IPAddr{IP: IPv4(byte(i>>24), byte(i>>16), byte(i>>8), byte(i)) [all...] |
udpsock_test.go | 60 {"udp", "127.0.0.1:0", &UDPAddr{IP: IPv4(127, 0, 0, 1), Port: 0}, nil}, 61 {"udp4", "127.0.0.1:65535", &UDPAddr{IP: IPv4(127, 0, 0, 1), Port: 65535}, nil}, 63 {"udp", "[::1]:0", &UDPAddr{IP: ParseIP("::1"), Port: 0}, nil}, 64 {"udp6", "[::1]:65535", &UDPAddr{IP: ParseIP("::1"), Port: 65535}, nil}, 66 {"udp", "[::1%en0]:1", &UDPAddr{IP: ParseIP("::1"), Port: 1, Zone: "en0"}, nil}, 67 {"udp6", "[::1%911]:2", &UDPAddr{IP: ParseIP("::1"), Port: 2, Zone: "911"}, nil}, 69 {"", "127.0.0.1:0", &UDPAddr{IP: IPv4(127, 0, 0, 1), Port: 0}, nil}, // Go 1.0 behavior 70 {"", "[::1]:0", &UDPAddr{IP: ParseIP("::1"), Port: 0}, nil}, // Go 1.0 behavior 76 {"udp", "127.0.0.1:domain", &UDPAddr{IP: ParseIP("127.0.0.1"), Port: 53}, nil}, 77 {"udp", "[::ffff:127.0.0.1]:domain", &UDPAddr{IP: ParseIP("::ffff:127.0.0.1"), Port: 53}, nil} [all...] |
external_test.go | 29 case network == "tcp" && addr.IP.To4() == nil: 31 case network == "tcp4" && addr.IP.To4() == nil: 33 case network == "tcp6" && (addr.IP.To16() == nil || addr.IP.To4() != nil): 116 var ip4, ip6 IP 117 for _, ip := range ips { 118 if ip4 == nil && ip.To4() != nil { 119 ip4 = ip.To4() 121 if ip6 == nil && ip.To16() != nil && ip.To4() == nil [all...] |
ipsock_plan9.go | 47 // Plan 9 uses IPv6 natively, see ip(3). 56 // parsePlan9Addr parses address of the form [ip!]port (e.g. 127.0.0.1!80). 57 func parsePlan9Addr(s string) (ip IP, iport int, err error) { 63 return nil, 0, &ParseError{Type: "IP address", Text: s} 88 ip, port, err := parsePlan9Addr(string(buf[:n])) 94 addr = &TCPAddr{IP: ip, Port: port} 96 addr = &UDPAddr{IP: ip, Port: port [all...] |
tcpsock_test.go | 299 {"tcp", "127.0.0.1:0", &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 0}, nil}, 300 {"tcp4", "127.0.0.1:65535", &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 65535}, nil}, 302 {"tcp", "[::1]:0", &TCPAddr{IP: ParseIP("::1"), Port: 0}, nil}, 303 {"tcp6", "[::1]:65535", &TCPAddr{IP: ParseIP("::1"), Port: 65535}, nil}, 305 {"tcp", "[::1%en0]:1", &TCPAddr{IP: ParseIP("::1"), Port: 1, Zone: "en0"}, nil}, 306 {"tcp6", "[::1%911]:2", &TCPAddr{IP: ParseIP("::1"), Port: 2, Zone: "911"}, nil}, 308 {"", "127.0.0.1:0", &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 0}, nil}, // Go 1.0 behavior 309 {"", "[::1]:0", &TCPAddr{IP: ParseIP("::1"), Port: 0}, nil}, // Go 1.0 behavior 315 {"tcp", "127.0.0.1:http", &TCPAddr{IP: ParseIP("127.0.0.1"), Port: 80}, nil}, 316 {"tcp", "[::ffff:127.0.0.1]:http", &TCPAddr{IP: ParseIP("::ffff:127.0.0.1"), Port: 80}, nil} [all...] |
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/route/ |
address_darwin_test.go | 34 &Inet4Addr{IP: [4]byte{192, 168, 86, 0}}, 36 &Inet4Addr{IP: [4]byte{255, 255, 255, 255}},
|
/external/llvm/lib/CodeGen/ |
ShadowStackGCLowering.cpp | 402 BasicBlock::iterator IP = F.getEntryBlock().begin(); 403 IRBuilder<> AtEntry(IP->getParent(), IP); 408 while (isa<AllocaInst>(IP)) 409 ++IP; 410 AtEntry.SetInsertPoint(IP->getParent(), IP); 434 while (isa<StoreInst>(IP)) 435 ++IP; 436 AtEntry.SetInsertPoint(IP->getParent(), IP) [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_variable.c | 131 var->Inst->IP, reader->Inst->IP, src_type, new_index, new_writemask); 151 unsigned int start = var->Inst->IP; 156 unsigned int chan_end = var->Readers[i].Inst->IP; 168 if (var->Readers[i].Inst->IP < start) { 171 chan_start = bgnloop->IP; 201 if (bgnloop->IP < chan_start) { 202 chan_start = bgnloop->IP; 207 if (endloop->IP > chan_end) { 208 chan_end = endloop->IP; [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
ShadowStackGC.cpp | 391 BasicBlock::iterator IP = F.getEntryBlock().begin(); 392 IRBuilder<> AtEntry(IP->getParent(), IP); 397 while (isa<AllocaInst>(IP)) ++IP; 398 AtEntry.SetInsertPoint(IP->getParent(), IP); 421 while (isa<StoreInst>(IP)) ++IP; 422 AtEntry.SetInsertPoint(IP->getParent(), IP) [all...] |
/external/iproute2/examples/ |
SYN-DoS.rate.limit | 14 IP=$IPROUTE/ip/ip 35 $TC filter add dev $INDEV parent ffff: protocol ip prio 50 handle 1 fw \
|
/external/ltp/testcases/network/stress/ns-tools/ |
ns-echoclient | 34 # -S name or IP address of the server 72 -S name or IP address of the server
|
/prebuilts/go/darwin-x86/src/net/ |
addrselect.go | 20 func sortByRFC6724withSrcs(addrs []IPAddr, srcs []IP) { 27 addrAttr[i] = ipAttrOf(v.IP) 41 func srcAddrs(addrs []IPAddr) []IP { 42 srcs := make([]IP, len(addrs)) 45 dst.IP = addrs[i].IP 50 srcs[i] = src.IP 64 func ipAttrOf(ip IP) ipAttr { 65 if ip == nil [all...] |
interface_linux.go | 63 // We never return any /32 or /128 IP address 64 // prefix on any IP tunnel interface as the 177 // Seems like we need to make sure whether the IP interface 178 // stack consists of IP point-to-point numbered or unnumbered 192 return &IPNet{IP: IPv4(a.Value[0], a.Value[1], a.Value[2], a.Value[3]), Mask: CIDRMask(int(ifam.Prefixlen), 8*IPv4len)} 194 ifa := &IPNet{IP: make(IP, IPv6len), Mask: CIDRMask(int(ifam.Prefixlen), 8*IPv6len)} 195 copy(ifa.IP, a.Value[:]) 232 // The Linux kernel puts the IP 239 ifma := &IPAddr{IP: IPv4(byte(i>>24), byte(i>>16), byte(i>>8), byte(i)) [all...] |
udpsock_test.go | 60 {"udp", "127.0.0.1:0", &UDPAddr{IP: IPv4(127, 0, 0, 1), Port: 0}, nil}, 61 {"udp4", "127.0.0.1:65535", &UDPAddr{IP: IPv4(127, 0, 0, 1), Port: 65535}, nil}, 63 {"udp", "[::1]:0", &UDPAddr{IP: ParseIP("::1"), Port: 0}, nil}, 64 {"udp6", "[::1]:65535", &UDPAddr{IP: ParseIP("::1"), Port: 65535}, nil}, 66 {"udp", "[::1%en0]:1", &UDPAddr{IP: ParseIP("::1"), Port: 1, Zone: "en0"}, nil}, 67 {"udp6", "[::1%911]:2", &UDPAddr{IP: ParseIP("::1"), Port: 2, Zone: "911"}, nil}, 69 {"", "127.0.0.1:0", &UDPAddr{IP: IPv4(127, 0, 0, 1), Port: 0}, nil}, // Go 1.0 behavior 70 {"", "[::1]:0", &UDPAddr{IP: ParseIP("::1"), Port: 0}, nil}, // Go 1.0 behavior 76 {"udp", "127.0.0.1:domain", &UDPAddr{IP: ParseIP("127.0.0.1"), Port: 53}, nil}, 77 {"udp", "[::ffff:127.0.0.1]:domain", &UDPAddr{IP: ParseIP("::ffff:127.0.0.1"), Port: 53}, nil} [all...] |
external_test.go | 29 case network == "tcp" && addr.IP.To4() == nil: 31 case network == "tcp4" && addr.IP.To4() == nil: 33 case network == "tcp6" && (addr.IP.To16() == nil || addr.IP.To4() != nil): 116 var ip4, ip6 IP 117 for _, ip := range ips { 118 if ip4 == nil && ip.To4() != nil { 119 ip4 = ip.To4() 121 if ip6 == nil && ip.To16() != nil && ip.To4() == nil [all...] |
ipsock_plan9.go | 47 // Plan 9 uses IPv6 natively, see ip(3). 56 // parsePlan9Addr parses address of the form [ip!]port (e.g. 127.0.0.1!80). 57 func parsePlan9Addr(s string) (ip IP, iport int, err error) { 63 return nil, 0, &ParseError{Type: "IP address", Text: s} 88 ip, port, err := parsePlan9Addr(string(buf[:n])) 94 addr = &TCPAddr{IP: ip, Port: port} 96 addr = &UDPAddr{IP: ip, Port: port [all...] |
tcpsock_test.go | 299 {"tcp", "127.0.0.1:0", &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 0}, nil}, 300 {"tcp4", "127.0.0.1:65535", &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 65535}, nil}, 302 {"tcp", "[::1]:0", &TCPAddr{IP: ParseIP("::1"), Port: 0}, nil}, 303 {"tcp6", "[::1]:65535", &TCPAddr{IP: ParseIP("::1"), Port: 65535}, nil}, 305 {"tcp", "[::1%en0]:1", &TCPAddr{IP: ParseIP("::1"), Port: 1, Zone: "en0"}, nil}, 306 {"tcp6", "[::1%911]:2", &TCPAddr{IP: ParseIP("::1"), Port: 2, Zone: "911"}, nil}, 308 {"", "127.0.0.1:0", &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 0}, nil}, // Go 1.0 behavior 309 {"", "[::1]:0", &TCPAddr{IP: ParseIP("::1"), Port: 0}, nil}, // Go 1.0 behavior 315 {"tcp", "127.0.0.1:http", &TCPAddr{IP: ParseIP("127.0.0.1"), Port: 80}, nil}, 316 {"tcp", "[::ffff:127.0.0.1]:http", &TCPAddr{IP: ParseIP("::ffff:127.0.0.1"), Port: 80}, nil} [all...] |
platform_test.go | 20 case "ip+nopriv": 25 case "ip", "ip4", "ip6": 91 case "ip", "ip4", "ip6": 92 addr, err = ResolveIPAddr("ip", address) 99 var ip IP 103 ip = addr.IP 106 ip = addr.IP [all...] |
/external/swiftshader/third_party/subzero/src/DartARM32/ |
assembler_arm.cc | 402 mul(IP, rn, rm, cond); 403 sub(rd, ra, Operand(IP), cond); 432 ASSERT(rd_lo != IP); 433 ASSERT(rd_hi != IP); 434 ASSERT(rn != IP); 435 ASSERT(rm != IP); 440 mov(IP, Operand(0)); 441 umlal(rd_lo, IP, rn, rm); 443 adc(rd_hi, IP, Operand(0)); [all...] |
/external/autotest/client/site_tests/network_DhcpStaticIP/ |
network_DhcpStaticIP.py | 12 """DHCP test which confirms static IP functionality""" 17 # We'll fill in the subnet and supply this as a static IP address. 28 CONFIGURE_STATIC_IP_ADDRESS = 'ip-address' 32 """Configures the Static IP parameters for the Ethernet interface 63 """Clears configuration of Static IP parameters for the Ethernet 92 raise error.TestFail('Saved IP address %s is not DHCP address %s' % 98 server that will successfully return an IP address to the client. 151 the IP information configured on client matches the parameters 168 the IP information configured on client matches the parameters 169 in |options|, except that the client's IP address should b [all...] |