Searched refs:ip (Results 251 - 275 of 1998) sorted by relevance

<<11121314151617181920>>

/linux-master/tools/testing/selftests/net/mptcp/
H A Dmptcp_sockopt.sh33 ip netns exec $ns $t -A OUTPUT -p tcp --syn -m mark --mark $m -j ACCEPT
36 ip netns exec $ns $t -A OUTPUT -p tcp --tcp-flags RST RST -m mark --mark 0 -j ACCEPT
38 ip netns exec $ns $t -A OUTPUT -p tcp -m mark --mark $m -j ACCEPT
39 ip netns exec $ns $t -A OUTPUT -p tcp -m mark --mark 0 -j DROP
49 ip link add ns1eth$i netns "$ns1" type veth peer name ns2eth$i netns "$ns2"
50 ip -net "$ns1" addr add 10.0.$i.1/24 dev ns1eth$i
51 ip -net "$ns1" addr add dead:beef:$i::1/64 dev ns1eth$i nodad
52 ip -net "$ns1" link set ns1eth$i up
54 ip -net "$ns2" addr add 10.0.$i.2/24 dev ns2eth$i
55 ip
[all...]
/linux-master/arch/x86/include/asm/trace/
H A Dexceptions.h23 __field( unsigned long, ip )
29 __entry->ip = regs->ip;
33 TP_printk("address=%ps ip=%ps error_code=0x%lx",
34 (void *)__entry->address, (void *)__entry->ip,
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dmirror_gre.sh26 ip link set h3-gt6-key vrf v$h3
29 ip address add dev $swp3 2001:db8:3::1/64
30 ip address add dev $h3 2001:db8:3::2/64
35 ip address del dev $h3 2001:db8:3::2/64
36 ip address del dev $swp3 2001:db8:3::1/64
51 ip link set h3-gt6-soft vrf v$h3
54 ip link add name v1 type veth peer name v2
55 ip link set dev v1 up
56 ip address add dev v1 2001:db8:4::1/64
58 ip lin
[all...]
H A Degress_vid_classification.sh60 ip route add 192.0.2.16/28 vrf v$h1 nexthop via 192.0.2.2
65 ip route del 192.0.2.16/28 vrf v$h1 nexthop via 192.0.2.2
88 ip route add 192.0.2.0/28 vrf v$h3 nexthop via 192.0.2.17
93 ip route del 192.0.2.0/28 vrf v$h3 nexthop via 192.0.2.17
101 ip link set dev $swp1 up
104 ip link add dev br0 type bridge mcast_snooping 0
111 ip link set dev br0 up
113 ip link set dev $swp2 up
115 ip link set dev $swp2.10 master br0
117 ip lin
[all...]
H A Drouter_scale.sh31 ip link set dev $rp1 up
32 ip link set dev $rp2 up
34 ip address add 192.0.1.2/24 dev $rp1
35 ip address add 192.0.2.2/24 dev $rp2
40 ip address del 192.0.2.2/24 dev $rp2
41 ip address del 192.0.1.2/24 dev $rp1
43 ip link set dev $rp2 down
44 ip link set dev $rp1 down
71 local t1=$(ip route | grep 'offload' | grep -v 'offload_failed' | wc -l)
101 ip
[all...]
H A Dvxlan_flooding.sh60 ip link add dev br0 type bridge mcast_snooping 0
61 ip link set dev br0 address $(mac_get $swp1)
63 ip link add name vxlan0 type vxlan id 10 nolearning noudpcsum \
66 ip address add 198.51.100.1/32 dev lo
68 ip link set dev $swp1 master br0
69 ip link set dev vxlan0 master br0
71 ip link set dev br0 up
72 ip link set dev $swp1 up
73 ip link set dev vxlan0 up
78 ip lin
[all...]
/linux-master/include/scsi/
H A Dscsicam.h16 int scsicam_bios_param(struct block_device *bdev, sector_t capacity, int *ip);
/linux-master/samples/bpf/
H A Dsampleip_kern.c25 u64 ip; local
28 ip = PT_REGS_IP(&ctx->regs);
29 value = bpf_map_lookup_elem(&ip_map, &ip);
34 bpf_map_update_elem(&ip_map, &ip, &init_val, BPF_NOEXIST);
/linux-master/arch/s390/kernel/
H A Dunwind_bc.c16 return __kernel_text_address(state->ip) ? state->ip : 0;
57 unsigned long sp, ip; local
64 ip = READ_ONCE_NOCHECK(sf->gprs[8]);
68 if (!__kernel_text_address(ip) || state->ip == unwind_recover_ret_addr(state, ip)) {
82 ip = READ_ONCE_NOCHECK(sf->gprs[8]);
92 ip = READ_ONCE_NOCHECK(regs->psw.addr);
110 state->ip
126 unsigned long ip, sp; local
[all...]
/linux-master/tools/testing/selftests/net/forwarding/
H A Drouter_bridge_vlan.sh50 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2
51 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2
54 ip -4 route add 192.0.2.144/28 vrf v$h1 nexthop via 192.0.2.18
55 ip -6 route add 2001:db8:4::/64 vrf v$h1 nexthop via 2001:db8:3::2
60 ip -6 route del 2001:db8:4::/64 vrf v$h1
61 ip -4 route del 192.0.2.144/28 vrf v$h1
64 ip -6 route del 2001:db8:2::/64 vrf v$h1
65 ip -4 route del 192.0.2.128/28 vrf v$h1
75 ip -4 route add 192.0.2.0/28 vrf v$h2 nexthop via 192.0.2.129
76 ip
[all...]
H A Dethtool_extended_state.sh51 ip link set dev $swp1 up
59 ip link set dev $swp1 down
68 ip link set dev $swp1 up
69 ip link set dev $swp2 up
91 ip link set dev $swp2 down
92 ip link set dev $swp1 down
101 ip link set dev $swp3 up
108 ip link set dev $swp3 down
/linux-master/fs/bcachefs/
H A Dsix.h196 bool six_trylock_ip(struct six_lock *lock, enum six_lock_type type, unsigned long ip);
213 unsigned long ip);
243 * @ip: ip parameter for lockdep/lockstat, i.e. _THIS_IP_
249 unsigned long ip)
253 return six_lock_ip_waiter(lock, type, &wait, should_sleep_fn, p, ip);
275 unsigned seq, unsigned long ip);
292 void six_unlock_ip(struct six_lock *lock, enum six_lock_type type, unsigned long ip);
314 static inline bool six_trylock_ip_##type(struct six_lock *lock, unsigned long ip)\
316 return six_trylock_ip(lock, SIX_LOCK_##type, ip); \
247 six_lock_ip(struct six_lock *lock, enum six_lock_type type, six_lock_should_sleep_fn should_sleep_fn, void *p, unsigned long ip) argument
[all...]
/linux-master/fs/gfs2/
H A Dglops.c250 struct gfs2_inode *ip; local
253 ip = gl->gl_object;
254 if (ip)
255 set_bit(GIF_GLOP_PENDING, &ip->i_flags);
257 return ip;
271 static void gfs2_clear_glop_pending(struct gfs2_inode *ip) argument
273 if (!ip)
276 clear_bit_unlock(GIF_GLOP_PENDING, &ip->i_flags);
277 wake_up_bit(&ip->i_flags, GIF_GLOP_PENDING);
305 struct gfs2_inode *ip local
360 struct gfs2_inode *ip = gfs2_glock2inode(gl); local
402 gfs2_dinode_in(struct gfs2_inode *ip, const void *buf) argument
481 gfs2_inode_refresh(struct gfs2_inode *ip) argument
504 struct gfs2_inode *ip = gl->gl_object; local
515 struct gfs2_inode *ip = gl->gl_object; local
543 struct gfs2_inode *ip = gl->gl_object; local
597 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); local
626 struct gfs2_inode *ip = gl->gl_object; local
[all...]
/linux-master/tools/testing/selftests/drivers/net/dsa/
H A Dtest_bridge_fdb_stress.sh27 ip link del br0
34 ip link del br0 2>&1 >/dev/null || :
35 ip link add br0 type bridge && ip link set $eth master br0
/linux-master/fs/jfs/
H A Djfs_incore.h108 #define IREAD_LOCK(ip, subclass) \
109 down_read_nested(&JFS_IP(ip)->rdwrlock, subclass)
110 #define IREAD_UNLOCK(ip) up_read(&JFS_IP(ip)->rdwrlock)
111 #define IWRITE_LOCK(ip, subclass) \
112 down_write_nested(&JFS_IP(ip)->rdwrlock, subclass)
113 #define IWRITE_UNLOCK(ip) up_write(&JFS_IP(ip)->rdwrlock)
151 #define set_cflag(flag, ip) set_bit(flag, &(JFS_IP(ip)
[all...]
/linux-master/tools/testing/selftests/net/
H A Dsrv6_hencap_red_l3vpn_test.sh276 ip netns add "${name}"
308 ip netns del "${nsname}" &>/dev/null || true
315 ip netns del "${nsname}" &>/dev/null || true
342 ip link add "veth-rt-${rt}-${neigh}" netns "${nsname}" \
379 ip -netns "${nsname}" addr \
382 ip -netns "${nsname}" link set "${devname}" up
385 ip -netns "${nsname}" link set lo up
387 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.all.accept_dad=0
388 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.default.accept_dad=0
389 ip netn
[all...]
H A Dsrv6_end_dt46_l3vpn_test.sh249 ip link del veth-rt-1 2>/dev/null || true
250 ip link del veth-rt-2 2>/dev/null || true
261 ip link set veth-rt-${id} netns ${nsname}
262 ip -netns ${nsname} link set veth-rt-${id} name veth0
264 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.accept_dad=0
265 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.default.accept_dad=0
267 ip -netns ${nsname} addr add ${IPv6_RT_NETWORK}::${id}/64 dev veth0 nodad
268 ip -netns ${nsname} link set veth0 up
269 ip -netns ${nsname} link set lo up
271 ip netn
[all...]
H A Dvrf-xfrm-tests.sh68 out=$(eval ip netns exec $host1 $cmd 2>&1)
94 ip ${ns} link add ${vrf} type vrf table ${table}
95 ip ${ns} link set ${vrf} up
96 ip ${ns} route add vrf ${vrf} unreachable default metric 8192
97 ip ${ns} -6 route add vrf ${vrf} unreachable default metric 8192
99 ip ${ns} addr add 127.0.0.1/8 dev ${vrf}
100 ip ${ns} -6 addr add ::1 dev ${vrf} nodad
102 ip ${ns} ru del pref 0
103 ip ${ns} ru add pref 32765 from all lookup local
104 ip
[all...]
H A Dnetdevice.sh21 ip link show "$netdev" |grep -q UP
27 ip link set "$netdev" up
51 ip link set dev $netdev address "$MACADDR"
55 ip link show $netdev |grep -q "$MACADDR"
64 ip address show "$netdev" |grep '^[[:space:]]*inet'
146 ip link set "$netdev" down
186 ip link show 2>/dev/null >/dev/null
188 echo "SKIP: Could not run test without the ip tool"
198 ip link show |grep '^[0-9]' | grep -oE '[[:space:]].*eth[0-9]*:|[[:space:]].*enp[0-9]s[0-9]:' | cut -d\ -f2 | cut -d: -f1> "$TMP_LIST_NETDEV"
H A Dsrv6_end_dt4_l3vpn_test.sh218 ip link del veth-rt-1 2>/dev/null || true
219 ip link del veth-rt-2 2>/dev/null || true
230 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.accept_dad=0
231 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.default.accept_dad=0
233 ip link set veth-rt-${id} netns ${nsname}
234 ip -netns ${nsname} link set veth-rt-${id} name veth0
236 ip -netns ${nsname} addr add ${IPv6_RT_NETWORK}::${id}/64 dev veth0 nodad
237 ip -netns ${nsname} link set veth0 up
238 ip -netns ${nsname} link set lo up
240 ip netn
[all...]
H A Dudpgro_fwd.sh29 ip netns del $ns 2>/dev/null
40 ip netns add $ns
41 ip -n $ns link set dev lo up
44 ip netns exec $ns sysctl -qw net.ipv6.conf.default.router_solicitations=0
45 ip netns exec $ns sysctl -qw net.ipv6.conf.all.router_solicitations=0
48 ip link add name veth$SRC type veth peer name veth$DST
51 ip link set dev veth$ns netns $BASE$ns
52 ip -n $BASE$ns link set dev veth$ns up
53 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V4$ns/24
54 ip
[all...]
/linux-master/net/netfilter/ipset/
H A Dip_set_hash_ipport.c4 /* Kernel module implementing an IP set type: the hash:ip,port type */
8 #include <linux/ip.h>
12 #include <net/ip.h>
34 IP_SET_MODULE_DESC("hash:ip,port", IPSET_TYPE_REV_MIN, IPSET_TYPE_REV_MAX);
35 MODULE_ALIAS("ip_set_hash:ip,port");
46 __be32 ip; member in struct:hash_ipport4_elem
59 return ip1->ip == ip2->ip &&
68 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip) ||
82 next->ip
119 u32 ip, ip_to = 0, p = 0, port, port_to, i = 0; local
213 union nf_inet_addr ip; member in struct:hash_ipport6_elem
[all...]
/linux-master/arch/sparc/include/asm/
H A Dperf_event.h8 #define perf_arch_fetch_caller_regs(regs, ip) \
23 (regs)->tpc = (ip); \
/linux-master/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Dvxlan_flooding_ipv6.sh60 ip link add dev br0 type bridge mcast_snooping 0
61 ip link set dev br0 address $(mac_get $swp1)
63 ip link add name vxlan0 type vxlan id 10 nolearning \
67 ip address add 2001:db8:2::1/128 dev lo
69 ip link set dev $swp1 master br0
70 ip link set dev vxlan0 master br0
72 ip link set dev br0 up
73 ip link set dev $swp1 up
74 ip link set dev vxlan0 up
79 ip lin
[all...]
/linux-master/tools/include/linux/
H A Dkallsyms.h23 static inline void print_ip_sym(const char *loglvl, unsigned long ip) argument
27 name = backtrace_symbols((void **)&ip, 1);

Completed in 422 milliseconds

<<11121314151617181920>>