Home
last modified time | relevance | path

Searched refs:new_ip (Results 1 - 5 of 5) sorted by relevance

/third_party/ltp/testcases/network/stress/interface/
H A Dif-addr-adddel.sh16 local new_ip=${IPV6_NET32_UNUSED}::$num
19 local new_ip=${IPV4_NET16_UNUSED}.1.$num
23 tst_res TINFO "'$cmd' add/del IPv$TST_IPVER '$new_ip' $NS_TIMES times"
37 ifconfig $iface add $new_ip/$netmask
39 ifconfig $iface:1 $new_ip netmask 255.255.255.0
42 ip) ip addr add $new_ip/$netmask dev $iface ;;
46 tst_res TFAIL "command failed to add $new_ip to $iface"
50 ip addr show $iface | grep -q $new_ip
53 tst_res TFAIL "$new_ip not configured"
64 ifconfig $iface del $new_ip/
[all...]
H A Dif-addr-addlarge.sh42 local new_ip=${IPV6_NET32_UNUSED}:1:1:1:$hex_x:$hex_y:1
44 local new_ip=${IPV4_NET16_UNUSED}.$x.$y
50 ifconfig $iface add $new_ip/$netmask
52 ifconfig $iface:$x:$y $new_ip netmask 255.255.0.0
55 ip) ip addr add $new_ip/$netmask dev $iface ;;
59 tst_res TFAIL "command failed to add $new_ip to $iface"
63 ip addr show $iface | grep -q $new_ip
66 tst_res TFAIL "$new_ip not configured"
75 ifconfig $iface del $new_ip/$netmask
80 ip) ip addr del $new_ip/
[all...]
/third_party/rust/crates/rustix/src/net/
H A Daddr.rs178 pub fn set_ip(&mut self, new_ip: IpAddr) { in set_ip()
179 // `match (*self, new_ip)` would have us mutate a copy of self only to throw it away. 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
[all...]
/third_party/libunwind/libunwind/src/x86_64/
H A DGstep.c187 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), &not_used)) == 0) in unw_step()
193 Debug (2, "new_ip 0x%lx looks valid\n", new_ip); in unw_step()
212 Debug (2, "new_ip 0x%lx dwarf_get(&c->dwarf, DWARF_MEM_LOC(c->dwarf, new_ip), &not_used) != 0\n", new_ip); in unw_step()
215 Debug (2, "rsp 0x%lx dwarf_get(&c->dwarf, DWARF_MEM_LOC(c->dwarf, rsp), &new_ip) != 0\n", rsp); in unw_step()
/third_party/libunwind/libunwind/src/ia64/
H A DGparser.c756 unw_word_t new_ip; in desc_alias()
759 new_ip = op->val + ((when / 3) * 16 + (when % 3)); in desc_alias()
761 if ((ret = ia64_fetch_proc_info (c, new_ip, 1)) < 0) in desc_alias()
764 if ((ret = create_state_record_for (c, sr, new_ip)) < 0) in desc_alias()
755 unw_word_t new_ip; desc_alias() local

Completed in 4 milliseconds