Searched refs:ip (Results 151 - 175 of 1998) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/net/forwarding/
H A Drouter_bridge_vlan_upper.sh39 ip -4 route add 192.0.2.16/28 vrf v$h1 nexthop via 192.0.2.2
40 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2
45 ip -6 route del 2001:db8:2::/64 vrf v$h1
46 ip -4 route del 192.0.2.16/28 vrf v$h1
55 ip -4 route add 192.0.2.0/28 vrf v$h2 nexthop via 192.0.2.17
56 ip -6 route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:2::1
61 ip -6 route del 2001:db8:1::/64 vrf v$h2
62 ip -4 route del 192.0.2.0/28 vrf v$h2
69 ip link add name br1 address $(mac_get $swp1) \
71 ip lin
[all...]
H A Dmirror_gre_bound.sh80 ip link set h3-gt4 vrf v$h3
84 ip link set h3-gt6 vrf v$h3
100 ip link add name br1 type bridge vlan_filtering 1
101 ip link set dev br1 addrgenmode none
102 ip link set dev br1 up
104 ip link set dev $swp1 master br1
105 ip link set dev $swp1 up
107 ip link set dev $swp2 master br1
108 ip link set dev $swp2 up
116 ip lin
[all...]
H A Dgre_multipath_nh_res.sh75 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2
76 ip route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2
81 ip route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2
82 ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2
95 ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130
99 ip route add vrf v$ol1 192.0.2.82/32 via 192.0.2.146
101 ip -6 nexthop add id 101 dev g1a
102 ip -6 nexthop add id 102 dev g1b
103 ip nexthop add id 103 group 101/102 type resilient buckets 512 \
106 ip rout
[all...]
H A Dgre_multipath_nh.sh75 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2
76 ip route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2
81 ip route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2
82 ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2
95 ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130
99 ip route add vrf v$ol1 192.0.2.82/32 via 192.0.2.146
101 ip -6 nexthop add id 101 dev g1a
102 ip -6 nexthop add id 102 dev g1b
103 ip nexthop add id 103 group 101/102
105 ip rout
[all...]
H A Dip6gre_lib.sh158 ip route add vrf v$h1 203.0.113.0/24 via 198.51.100.2
159 ip -6 route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2
164 ip -6 route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2
165 ip route del vrf v$h1 203.0.113.0/24 via 198.51.100.2
172 ip route add vrf v$h2 198.51.100.0/24 via 203.0.113.2
173 ip -6 route add vrf v$h2 2001:db8:1::/64 via 2001:db8:2::2
178 ip -6 route del vrf v$h2 2001:db8:1::/64 via 2001:db8:2::2
179 ip route del vrf v$h2 198.51.100.0/24 via 203.0.113.2
188 ip link set dev $ol1 up
191 ip lin
[all...]
/linux-master/tools/testing/selftests/net/
H A Dvrf_route_leaking.sh182 ip -netns "${ns}" rule del pref 0
183 ip -netns "${ns}" rule add pref 32765 from all lookup local
184 ip -netns "${ns}" -6 rule del pref 0
185 ip -netns "${ns}" -6 rule add pref 32765 from all lookup local
194 ip -netns "${ns}" link add "${vrf}" type vrf table "${table}"
195 ip -netns "${ns}" link set "${vrf}" up
196 ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192
197 ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192
199 ip -netns "${ns}" addr add 127.0.0.1/8 dev "${vrf}"
200 ip
[all...]
H A Dfib_nexthop_multiprefix.sh76 ip netns exec ${ns} sysctl -q -w net.ipv6.conf.all.keep_addr_on_down=1
79 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=0
82 ip netns exec $ns sysctl -q -w net.ipv4.ip_forward=1
83 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=1
112 ip -netns ${h[$i]} li add eth0 type veth peer name r1h${i}
113 ip -netns ${h[$i]} li set eth0 up
114 ip -netns ${h[$i]} li set r1h${i} netns ${r[1]} name eth${i} up
116 ip -netns ${h[$i]} addr add dev eth0 172.16.10${i}.1/24
117 ip -netns ${h[$i]} -6 addr add dev eth0 2001:db8:10${i}::1/64
118 ip
[all...]
H A Dcmsg_so_mark.sh22 ip netns exec $NS sysctl -w net.ipv4.ping_group_range='0 2147483647' > /dev/null
25 ip -netns $NS link add type dummy
26 ip -netns $NS link set dev dummy0 up
27 ip -netns $NS addr add $IP4 dev dummy0
28 ip -netns $NS addr add $IP6 dev dummy0
30 ip -netns $NS rule add fwmark $MARK lookup 300
31 ip -6 -netns $NS rule add fwmark $MARK lookup 300
32 ip -netns $NS route add prohibit any table 300
33 ip -6 -netns $NS route add prohibit any table 300
60 ip netn
[all...]
H A Dicmp.sh44 ip -netns $NS1 link add veth0 type veth peer name veth0 netns $NS2
45 ip -netns $NS1 link set dev veth0 up
46 ip -netns $NS2 link set dev veth0 up
47 ip -netns $NS1 addr add $H1_IP dev veth0
48 ip -netns $NS1 addr add $H1_IP6/64 dev veth0 nodad
49 ip -netns $NS2 addr add $H2_IP6/64 dev veth0 nodad
50 ip -netns $NS1 route add $RT1 via inet6 $H2_IP6
51 ip -netns $NS2 route add $RT2 via inet6 $H1_IP6
54 ip netns exec $NS2 sysctl -qw net.ipv4.icmp_ratelimit=0 net.ipv4.ip_forward=1
59 ip netn
[all...]
H A Drtnetlink.sh133 run_cmd ip link add name "$devdummy" type dummy
134 run_cmd ip link set "$devdummy" up
139 run_cmd ip link del dev "$devdummy"
146 run_cmd ip netconf show dev "$dev"
148 run_cmd ip -$f netconf show dev "$dev"
152 end_test "FAIL: ip netconf show $dev"
165 run_cmd ip link add name "$devbr" type bridge
166 run_cmd ip link set dev "$devdummy" master "$devbr"
167 run_cmd ip link set "$devbr" up
168 run_cmd ip lin
[all...]
H A Darp_ndisc_untracked_subnets.sh42 ip netns exec ${ROUTER_NS} ip link add name ${ROUTER_INTF} \
45 ip netns exec ${ROUTER_NS} ip link set dev ${ROUTER_INTF} up
46 ip netns exec ${ROUTER_NS} ip link set dev ${HOST_INTF} netns ${HOST_NS}
48 ip netns exec ${HOST_NS} ip link set dev ${HOST_INTF} up
49 ip netns exec ${ROUTER_NS} ip add
[all...]
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dvxlan.sh45 ip link set dev $swp1 up
46 ip link set dev $swp2 up
53 ip link set dev $swp2 down
54 ip link set dev $swp1 down
59 ip link set dev $swp1 master br0
61 ip link set dev vxlan0 master br0
64 ip link set dev $swp1 nomaster
66 ip link set dev $swp1 master br0
72 ip link set dev $swp1 master br0
74 ip lin
[all...]
H A Dmirror_gre_scale.sh62 ip address add dev $h1 $(mirror_gre_ipv6_addr 1 $i)::1/64
63 ip address add dev $h2 $(mirror_gre_ipv6_addr 1 $i)::2/64
65 ip address add dev $swp3 $(mirror_gre_ipv6_addr 2 $i)::1/64
66 ip address add dev $h3 $(mirror_gre_ipv6_addr 2 $i)::2/64
76 ip link set $htun vrf v$h3
99 ip address del dev $h3 $(mirror_gre_ipv6_addr 2 $i)::2/64
100 ip address del dev $swp3 $(mirror_gre_ipv6_addr 2 $i)::1/64
102 ip address del dev $h2 $(mirror_gre_ipv6_addr 1 $i)::2/64
103 ip address del dev $h1 $(mirror_gre_ipv6_addr 1 $i)::1/64
167 ip lin
[all...]
/linux-master/drivers/pwm/
H A Dpwm-bcm-iproc.c46 static void iproc_pwmc_enable(struct iproc_pwmc *ip, unsigned int channel) argument
50 value = readl(ip->base + IPROC_PWM_CTRL_OFFSET);
52 writel(value, ip->base + IPROC_PWM_CTRL_OFFSET);
58 static void iproc_pwmc_disable(struct iproc_pwmc *ip, unsigned int channel) argument
62 value = readl(ip->base + IPROC_PWM_CTRL_OFFSET);
64 writel(value, ip->base + IPROC_PWM_CTRL_OFFSET);
73 struct iproc_pwmc *ip = to_iproc_pwmc(chip); local
77 value = readl(ip->base + IPROC_PWM_CTRL_OFFSET);
89 rate = clk_get_rate(ip->clk);
96 value = readl(ip
117 struct iproc_pwmc *ip = to_iproc_pwmc(chip); local
190 struct iproc_pwmc *ip; local
[all...]
/linux-master/samples/bpf/
H A Dtest_cgrp2_sock2.sh11 ip netns add at_ns0
12 ip link add veth0 type veth peer name veth0b
13 ip link set veth0 netns at_ns0
14 ip netns exec at_ns0 sysctl -q net.ipv6.conf.veth0.disable_ipv6=0
15 ip netns exec at_ns0 ip addr add 172.16.1.100/24 dev veth0
16 ip netns exec at_ns0 ip addr add 2401:db00::1/64 dev veth0 nodad
17 ip netns exec at_ns0 ip lin
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dtest_lwt_ip_encap.sh112 ip netns add "${NS1}"
113 ip netns add "${NS2}"
114 ip netns add "${NS3}"
117 ip netns exec ${NS1} sysctl -wq net.ipv4.conf.all.rp_filter=0
118 ip netns exec ${NS2} sysctl -wq net.ipv4.conf.all.rp_filter=0
119 ip netns exec ${NS3} sysctl -wq net.ipv4.conf.all.rp_filter=0
120 ip netns exec ${NS1} sysctl -wq net.ipv4.conf.default.rp_filter=0
121 ip netns exec ${NS2} sysctl -wq net.ipv4.conf.default.rp_filter=0
122 ip netns exec ${NS3} sysctl -wq net.ipv4.conf.default.rp_filter=0
125 ip netn
[all...]
H A Dtest_tc_tunnel.sh29 ip netns add "${ns1}"
30 ip netns add "${ns2}"
32 ip link add dev veth1 mtu 1500 netns "${ns1}" type veth \
35 ip netns exec "${ns1}" ethtool -K veth1 tso off
37 ip -netns "${ns1}" link set veth1 up
38 ip -netns "${ns2}" link set veth2 up
40 ip -netns "${ns1}" -4 addr add "${ns1_v4}/24" dev veth1
41 ip -netns "${ns2}" -4 addr add "${ns2_v4}/24" dev veth2
42 ip -netns "${ns1}" -6 addr add "${ns1_v6}/64" dev veth1 nodad
43 ip
[all...]
/linux-master/fs/xfs/
H A Dxfs_bmap_util.h33 int xfs_bmap_punch_delalloc_range(struct xfs_inode *ip,
42 int xfs_getbmap(struct xfs_inode *ip, struct getbmapx *bmv,
51 int xfs_bmap_last_extent(struct xfs_trans *tp, struct xfs_inode *ip,
56 int xfs_alloc_file_space(struct xfs_inode *ip, xfs_off_t offset,
58 int xfs_free_file_space(struct xfs_inode *ip, xfs_off_t offset,
66 bool xfs_can_free_eofblocks(struct xfs_inode *ip, bool force);
67 int xfs_free_eofblocks(struct xfs_inode *ip);
69 int xfs_swap_extents(struct xfs_inode *ip, struct xfs_inode *tip,
72 xfs_daddr_t xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb);
75 int xfs_bmap_count_blocks(struct xfs_trans *tp, struct xfs_inode *ip,
[all...]
H A Dxfs_file.c43 struct xfs_inode *ip,
47 struct xfs_mount *mp = ip->i_mount;
50 if (XFS_IS_REALTIME_INODE(ip)) {
83 struct xfs_inode *ip = XFS_I(file->f_mapping->host); local
85 trace_xfs_dir_fsync(ip);
86 return xfs_log_force_inode(ip);
91 struct xfs_inode *ip,
94 if (!xfs_ipincount(ip))
96 if (datasync && !(ip->i_itemp->ili_fsync_fields & ~XFS_ILOG_TIMESTAMP))
98 return ip
42 xfs_is_falloc_aligned( struct xfs_inode *ip, loff_t pos, long long int len) argument
90 xfs_fsync_seq( struct xfs_inode *ip, bool datasync) argument
115 xfs_fsync_flush_log( struct xfs_inode *ip, bool datasync, int *log_flushed) argument
144 struct xfs_inode *ip = XFS_I(file->f_mapping->host); local
205 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); local
223 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); local
240 xfs_ilock_for_write_fault( struct xfs_inode *ip) argument
259 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); local
283 struct xfs_inode *ip = XFS_I(iocb->ki_filp->f_mapping->host); local
306 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); local
355 struct xfs_inode *ip = XFS_I(inode); local
389 struct xfs_inode *ip = XFS_I(inode); local
496 struct xfs_inode *ip = XFS_I(inode); local
583 xfs_file_dio_write_aligned( struct xfs_inode *ip, struct kiocb *iocb, struct iov_iter *from) argument
634 xfs_file_dio_write_unaligned( struct xfs_inode *ip, struct kiocb *iocb, struct iov_iter *from) argument
711 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); local
729 struct xfs_inode *ip = XFS_I(inode); local
770 struct xfs_inode *ip = XFS_I(inode); local
834 struct xfs_inode *ip = XFS_I(inode); local
868 struct xfs_inode *ip = XFS_I(inode); local
928 struct xfs_inode *ip = XFS_I(file_inode(filp)); local
953 struct xfs_inode *ip = XFS_I(inode); local
1142 struct xfs_inode *ip = XFS_I(file_inode(file)); local
1243 struct xfs_inode *ip = XFS_I(inode); local
1276 xfs_inode_t *ip = XFS_I(inode); local
1366 struct xfs_inode *ip = XFS_I(inode); local
[all...]
/linux-master/arch/mips/kernel/
H A Dftrace.c40 #define JAL 0x0c000000 /* jump & link: ip --> ra, jump to target */
73 static int ftrace_modify_code(unsigned long ip, unsigned int new_code) argument
77 /* *(unsigned int *)ip = new_code; */
78 safe_store_code(new_code, ip, faulted);
83 flush_icache_range(ip, ip + 8);
89 static int ftrace_modify_code_2(unsigned long ip, unsigned int new_code1, argument
94 safe_store_code(new_code1, ip, faulted);
98 ip += 4;
99 safe_store_code(new_code2, ip, faulte
109 ftrace_modify_code_2r(unsigned long ip, unsigned int new_code1, unsigned int new_code2) argument
166 unsigned long ip = rec->ip; local
190 unsigned long ip = rec->ip; local
254 unsigned long sp, ip, tmp; local
[all...]
/linux-master/fs/jfs/
H A Djfs_extent.c54 * ip - the inode of the file.
70 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr) argument
72 struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb);
78 txBeginAnon(ip->i_sb);
81 mutex_lock(&JFS_IP(ip)->commit_mutex);
122 if ((rc = extBalloc(ip, hint ? hint : INOHINT(ip), &nxlen, &nxaddr))) {
123 mutex_unlock(&JFS_IP(ip)->commit_mutex);
128 rc = dquot_alloc_block(ip, nxlen);
130 dbFree(ip, nxadd
192 extHint(struct inode *ip, s64 offset, xad_t * xp) argument
252 extRecord(struct inode *ip, xad_t * xp) argument
299 extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno) argument
[all...]
H A Djfs_discard.c23 * ip - pointer to in-core inode
32 void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks) argument
34 struct super_block *sb = ip->i_sb;
58 * ip - pointer to in-core inode;
65 int jfs_ioc_trim(struct inode *ip, struct fstrim_range *range) argument
67 struct inode *ipbmap = JFS_SBI(ip->i_sb)->ipbmap;
68 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap;
97 agno = BLKTOAG(start, JFS_SBI(ip->i_sb));
98 agno_end = BLKTOAG(end, JFS_SBI(ip->i_sb));
100 trimmed += dbDiscardAG(ip, agn
[all...]
/linux-master/net/netfilter/ipset/
H A Dip_set_hash_ip.c4 /* Kernel module implementing an IP set type: the hash:ip type */
8 #include <linux/ip.h>
12 #include <net/ip.h>
32 IP_SET_MODULE_DESC("hash:ip", IPSET_TYPE_REV_MIN, IPSET_TYPE_REV_MAX);
33 MODULE_ALIAS("ip_set_hash:ip");
45 __be32 ip; member in struct:hash_ip4_elem
55 return e1->ip == e2->ip;
61 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, e->ip))
72 next->ip
88 __be32 ip; local
107 u32 ip = 0, ip_to = 0, hosts, i = 0; local
177 union nf_inet_addr ip; member in struct:hash_ip6_elem
[all...]
/linux-master/lib/zstd/compress/
H A Dhist.c32 const BYTE* ip = (const BYTE*)src; local
33 const BYTE* const end = ip + srcSize;
40 while (ip<end) {
41 assert(*ip <= maxSymbolValue);
42 count[*ip++]++;
72 const BYTE* ip = (const BYTE*)source; local
73 const BYTE* const iend = ip+sourceSize;
91 { U32 cached = MEM_read32(ip); ip += 4;
92 while (ip < ien
[all...]
/linux-master/tools/testing/selftests/netfilter/
H A Dnft_flowtable.sh41 checktool "ip -Version" "run test without ip tool"
43 checktool "ip netns add $nsr1" "create net namespace $nsr1"
45 ip netns add $ns1
46 ip netns add $ns2
47 ip netns add $nsr2
50 ip netns del $ns1
51 ip netns del $ns2
52 ip netns del $nsr1
53 ip netn
[all...]

Completed in 187 milliseconds

1234567891011>>