Searched refs:new_ip (Results 1 – 7 of 7) sorted by relevance
/third_party/ltp/testcases/network/stress/interface/ |
D | if-addr-adddel.sh | 20 local new_ip=${IPV6_NET32_UNUSED}::$num 23 local new_ip=${IPV4_NET16_UNUSED}.1.$num 27 tst_res TINFO "'$cmd' add/del IPv$TST_IPVER '$new_ip' $NS_TIMES times" 41 ifconfig $iface add $new_ip/$netmask 43 ifconfig $iface:1 $new_ip netmask 255.255.255.0 46 ip) ip addr add $new_ip/$netmask dev $iface ;; 50 tst_res TFAIL "command failed to add $new_ip to $iface" 54 ip addr show $iface | grep -q $new_ip 57 tst_res TFAIL "$new_ip not configured" 68 ifconfig $iface del $new_ip/$netmask [all …]
|
D | if-addr-addlarge.sh | 46 local new_ip=${IPV6_NET32_UNUSED}:1:1:1:$hex_x:$hex_y:1 48 local new_ip=${IPV4_NET16_UNUSED}.$x.$y 54 ifconfig $iface add $new_ip/$netmask 56 ifconfig $iface:$x:$y $new_ip netmask 255.255.0.0 59 ip) ip addr add $new_ip/$netmask dev $iface ;; 63 tst_res TFAIL "command failed to add $new_ip to $iface" 67 ip addr show $iface | grep -q $new_ip 70 tst_res TFAIL "$new_ip not configured" 79 ifconfig $iface del $new_ip/$netmask 84 ip) ip addr del $new_ip/$netmask dev $iface ;; [all …]
|
/third_party/rust/crates/rustix/src/net/ |
D | addr.rs | 178 pub fn set_ip(&mut self, new_ip: IpAddr) { in set_ip() 180 match (self, new_ip) { in set_ip() 181 (&mut SocketAddr::V4(ref mut a), IpAddr::V4(new_ip)) => a.set_ip(new_ip), in set_ip() 182 (&mut SocketAddr::V6(ref mut a), IpAddr::V6(new_ip)) => a.set_ip(new_ip), in set_ip() 183 (self_, new_ip) => *self_ = Self::new(new_ip, self_.port()), in set_ip() 334 pub fn set_ip(&mut self, new_ip: Ipv4Addr) { in set_ip() 335 self.ip = new_ip; in set_ip() 439 pub fn set_ip(&mut self, new_ip: Ipv6Addr) { in set_ip() 440 self.ip = new_ip; in set_ip()
|
/third_party/libunwind/src/x86_64/ |
D | Gstep.c | 187 unw_word_t new_ip = 0; in unw_step() local 188 if (dwarf_get(&c->dwarf, DWARF_MEM_LOC(c->dwarf, rsp), &new_ip) == 0) in unw_step() 191 … if ((ret = dwarf_get(&c->dwarf, DWARF_MEM_LOC(c->dwarf, new_ip), ¬_used)) == 0) in unw_step() 193 Debug (2, "new_ip 0x%lx looks valid\n", new_ip); in unw_step() 212 …2, "new_ip 0x%lx dwarf_get(&c->dwarf, DWARF_MEM_LOC(c->dwarf, new_ip), ¬_used) != 0\n", new_ip); in unw_step()
|
/third_party/libunwind/src/ia64/ |
D | Gparser.c | 755 unw_word_t new_ip; in desc_alias() local 758 new_ip = op->val + ((when / 3) * 16 + (when % 3)); in desc_alias() 760 if ((ret = ia64_fetch_proc_info (c, new_ip, 1)) < 0) in desc_alias() 763 if ((ret = create_state_record_for (c, sr, new_ip)) < 0) in desc_alias()
|
/third_party/rust/crates/rust-openssl/openssl/src/x509/ |
D | extension.rs | 536 GeneralName::new_ip(s.parse().map_err(|_| ErrorStack::get())?)? in build()
|
D | mod.rs | 2026 pub(crate) fn new_ip(ip: IpAddr) -> Result<GeneralName, ErrorStack> { in new_ip() method
|