Home
last modified time | relevance | path

Searched refs:if_name (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.3-rc2/tools/testing/selftests/drivers/net/dsa/
A Dno_forwarding.sh33 local if_name=$1
42 local if_name=$1
46 ping_do $if_name $H2_IPV4
47 ip neigh del $H2_IPV4 dev $if_name
52 local if_name=$1
54 ping_do $if_name $IPV4_ALLNODES "-I $if_name"
59 local if_name=$1
63 ping6_do $if_name $H2_IPV6
69 local if_name=$1
71 ping6_do $if_name $IPV6_ALLNODES%$if_name
[all …]
A Dlocal_termination.sh52 local if_name=$1
56 $MZ -q $if_name "$dmac $smac $NON_IP_PKT"
61 local if_name=$1
65 ping_do $if_name $H2_IPV4
66 ip neigh del $H2_IPV4 dev $if_name
71 local if_name=$1
80 tcpdump_show $if_name | grep -q "$pattern"
84 log_test "$if_name: $type"
89 local if_name=$1
90 local vrf_name=$(master_name_get $if_name)
[all …]
A Dlib.sh645 vrf_name=v$if_name
660 vrf_name=v$if_name
692 local name=$if_name.$vid
730 $TEAMD -t $if_name -k
1449 cappid[$if_name]=$!
1456 local if_name=$1
1465 local if_name=$1
1467 rm ${capfile[$if_name]} ${capout[$if_name]}
1472 local if_name=$1
1586 local if_name=$1
[all …]
/linux-6.3-rc2/tools/testing/selftests/net/forwarding/
A Dno_forwarding.sh33 local if_name=$1
42 local if_name=$1
46 ping_do $if_name $H2_IPV4
47 ip neigh del $H2_IPV4 dev $if_name
52 local if_name=$1
54 ping_do $if_name $IPV4_ALLNODES "-I $if_name"
59 local if_name=$1
63 ping6_do $if_name $H2_IPV6
69 local if_name=$1
71 ping6_do $if_name $IPV6_ALLNODES%$if_name
[all …]
A Dlocal_termination.sh52 local if_name=$1
56 $MZ -q $if_name "$dmac $smac $NON_IP_PKT"
61 local if_name=$1
65 ping_do $if_name $H2_IPV4
66 ip neigh del $H2_IPV4 dev $if_name
71 local if_name=$1
80 tcpdump_show $if_name | grep -q "$pattern"
84 log_test "$if_name: $type"
89 local if_name=$1
90 local vrf_name=$(master_name_get $if_name)
[all …]
A Dlib.sh645 vrf_name=v$if_name
660 vrf_name=v$if_name
692 local name=$if_name.$vid
730 $TEAMD -t $if_name -k
1449 cappid[$if_name]=$!
1456 local if_name=$1
1465 local if_name=$1
1467 rm ${capfile[$if_name]} ${capout[$if_name]}
1472 local if_name=$1
1586 local if_name=$1
[all …]
A Dtsn_lib.sh70 for if_name in ${if_names}; do
71 extra_args="${extra_args} -i ${if_name}"
145 local if_name=$1
156 --interface ${if_name} \
A Dmirror_gre_lag_lacp.sh59 local if_name=$1; shift
66 vlan_create $if_name $vid $vrf_name "${ips[@]}"
71 local if_name=$1; shift
75 vlan_destroy $if_name $vid
A Dvxlan_asymmetric_ipv6.sh107 local if_name=$1; shift
112 ip link set dev $if_name master $vrf_name
114 ip link set dev $if_name up
116 ip address add $ip_addr/64 dev $if_name
118 dev $if_name
126 local if_name=$1; shift
131 ip neigh del $gw_ip dev $if_name
132 ip address del $ip_addr/64 dev $if_name
134 ip link set dev $if_name down
A Dvxlan_asymmetric.sh107 local if_name=$1; shift
112 ip link set dev $if_name master $vrf_name
114 ip link set dev $if_name up
116 ip address add $ip_addr/24 dev $if_name
118 dev $if_name
126 local if_name=$1; shift
131 ip neigh del $gw_ip dev $if_name
132 ip address del $ip_addr/24 dev $if_name
134 ip link set dev $if_name down
A Dmirror_gre_bridge_1q_lag.sh61 local if_name=$1; shift
68 vlan_create $if_name $vid $vrf_name "${ips[@]}"
73 local if_name=$1; shift
77 vlan_destroy $if_name $vid
A Dvxlan_symmetric.sh117 local if_name=$1; shift
122 ip link set dev $if_name master $vrf_name
124 ip link set dev $if_name up
126 ip address add $ip_addr/24 dev $if_name
128 dev $if_name
136 local if_name=$1; shift
141 ip neigh del $gw_ip dev $if_name
142 ip address del $ip_addr/24 dev $if_name
144 ip link set dev $if_name down
A Dvxlan_symmetric_ipv6.sh119 local if_name=$1; shift
124 ip link set dev $if_name master $vrf_name
126 ip link set dev $if_name up
128 ip address add $ip_addr/64 dev $if_name
130 dev $if_name
138 local if_name=$1; shift
143 ip neigh del $gw_ip dev $if_name
144 ip address del $ip_addr/64 dev $if_name
146 ip link set dev $if_name down
A Drouter.sh215 local if_name=$1; shift
220 $MC_CLI -I $table_name add $if_name $s_addr $mcast $dest_ifs
225 local if_name=$1; shift
230 $MC_CLI -I $table_name remove $if_name $s_addr $mcast $dest_ifs
A Drouter_multicast.sh214 local if_name=$1; shift
219 $MC_CLI -I $table_name add $if_name $s_addr $mcast $dest_ifs
224 local if_name=$1; shift
229 $MC_CLI -I $table_name remove $if_name $s_addr $mcast $dest_ifs
A Ddevlink_lib.sh573 local if_name=$1
575 devlink -j port show $if_name | jq -e '.[] | keys' | jq -r '.[]'
/linux-6.3-rc2/tools/testing/selftests/drivers/net/bonding/
A Dnet_forwarding_lib.sh645 vrf_name=v$if_name
660 vrf_name=v$if_name
692 local name=$if_name.$vid
730 $TEAMD -t $if_name -k
1449 cappid[$if_name]=$!
1456 local if_name=$1
1465 local if_name=$1
1467 rm ${capfile[$if_name]} ${capout[$if_name]}
1472 local if_name=$1
1586 local if_name=$1
[all …]
/linux-6.3-rc2/tools/testing/selftests/drivers/net/team/
A Dnet_forwarding_lib.sh645 vrf_name=v$if_name
660 vrf_name=v$if_name
692 local name=$if_name.$vid
730 $TEAMD -t $if_name -k
1449 cappid[$if_name]=$!
1456 local if_name=$1
1465 local if_name=$1
1467 rm ${capfile[$if_name]} ${capout[$if_name]}
1472 local if_name=$1
1586 local if_name=$1
[all …]
/linux-6.3-rc2/tools/testing/selftests/drivers/net/ocelot/
A Dpsfp.sh56 local if_name=$1
58 tc qdisc add dev $if_name clsact
66 local if_name=$1
68 tc qdisc del dev $if_name clsact
147 local if_name=$1
149 tc qdisc add dev ${if_name} clsact
151 tc filter add dev ${if_name} egress protocol 0x88f7 \
153 tc filter add dev ${if_name} egress protocol 802.1Q \
166 local if_name=$1
168 tc qdisc del dev ${if_name} root
[all …]
A Dbasic_qos.sh155 local if_name=$1; shift
165 ping_do ${if_name} $H2_IPV4 "-Q ${tos}"
176 ping_do ${if_name} $H2_IPV6 "-Q ${tos}"
189 local if_name=$1
192 prio="$(dcb -j app show dev ${if_name} default-prio | \
/linux-6.3-rc2/tools/hv/
A Dhv_kvp_daemon.c561 char *if_name = NULL; in kvp_get_if_name() local
600 return if_name; in kvp_get_if_name()
617 if_name, "/address"); in kvp_if_name_to_mac()
844 if ((if_name != NULL) && in kvp_get_ip_info()
845 (strncmp(curp->ifa_name, if_name, strlen(if_name)))) { in kvp_get_ip_info()
952 char *if_name = NULL; in kvp_mac_to_ip() local
993 if (!if_name) in kvp_mac_to_ip()
1231 "/ifcfg-", if_name); in kvp_set_ip_info()
1372 char *if_name; in main() local
1508 if (if_name == NULL) { in main()
[all …]
/linux-6.3-rc2/samples/bpf/
A Dxdp_sample_pkts_user.c21 static char *if_name; variable
95 do_detach(if_idx, if_name); in sig_handler()
172 if_name = argv[optind]; in main()
173 err = do_attach(if_idx, prog_fd, if_name); in main()
/linux-6.3-rc2/include/uapi/linux/
A Dgsmmux.h32 char if_name[IFNAMSIZ]; /* interface name format string */ member
/linux-6.3-rc2/net/tipc/
A Dbearer.c142 char *if_name; in bearer_name_validate() local
152 if_name = strchr(media_name, ':'); in bearer_name_validate()
153 if (if_name == NULL) in bearer_name_validate()
155 *(if_name++) = 0; in bearer_name_validate()
156 media_len = if_name - media_name; in bearer_name_validate()
157 if_len = strlen(if_name) + 1; in bearer_name_validate()
167 strcpy(name_parts->if_name, if_name); in bearer_name_validate()
/linux-6.3-rc2/include/rdma/
A Diw_portmap.h30 char if_name[IWPM_IFNAME_SIZE]; member

Completed in 35 milliseconds

12