Home
last modified time | relevance | path

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

12

/openbmc/linux/tools/testing/selftests/net/forwarding/
H 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 …]
H 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 …]
H A Dlib.sh680 vrf_name=v$if_name
695 vrf_name=v$if_name
727 local name=$if_name.$vid
765 $TEAMD -t $if_name -k
1514 cappid[$if_name]=$!
1521 local if_name=$1
1530 local if_name=$1
1532 rm ${capfile[$if_name]} ${capout[$if_name]}
1537 local if_name=$1
1651 local if_name=$1
[all …]
H 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} \
H 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
H 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
H 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
H 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
H 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
H 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
H 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
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/
H 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 …]
H 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 …]
H A Dlib.sh680 vrf_name=v$if_name
695 vrf_name=v$if_name
727 local name=$if_name.$vid
765 $TEAMD -t $if_name -k
1514 cappid[$if_name]=$!
1521 local if_name=$1
1530 local if_name=$1
1532 rm ${capfile[$if_name]} ${capout[$if_name]}
1537 local if_name=$1
1651 local if_name=$1
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/
H A Dnet_forwarding_lib.sh680 vrf_name=v$if_name
695 vrf_name=v$if_name
727 local name=$if_name.$vid
765 $TEAMD -t $if_name -k
1514 cappid[$if_name]=$!
1521 local if_name=$1
1530 local if_name=$1
1532 rm ${capfile[$if_name]} ${capout[$if_name]}
1537 local if_name=$1
1651 local if_name=$1
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/team/
H A Dnet_forwarding_lib.sh680 vrf_name=v$if_name
695 vrf_name=v$if_name
727 local name=$if_name.$vid
765 $TEAMD -t $if_name -k
1514 cappid[$if_name]=$!
1521 local if_name=$1
1530 local if_name=$1
1532 rm ${capfile[$if_name]} ${capout[$if_name]}
1537 local if_name=$1
1651 local if_name=$1
[all …]
/openbmc/openbmc/meta-google/recipes-google/ncsi/
H A Dgbmc-ncsi-config.bb68 if_name='${GBMC_NCSI_IF_NAME}'
69 if [ -z "$if_name" ]; then
70 echo "Missing if_name" >&2
75 echo "net.ipv6.conf.$if_name.accept_dad=0" \
77 echo "net.ipv6.conf.$if_name.dad_transmits=0" \
93 netfile=${D}${systemd_unitdir}/network/00-bmc-$if_name.network
100 sed "s,@NCSI_IF@,$if_name,g" ${UNPACKDIR}/50-gbmc-ncsi.rules.in \
105 ln -sv ../ncsid@.service "$wantdir"/ncsid@$if_name.service
115 sed "s,@NCSI_IF@,$if_name,g" ${UNPACKDIR}/gbmc-ncsi-sslh.socket.in \
120 sed "s,@NCSI_IF@,$if_name,g" ${UNPACKDIR}/gbmc-ncsi-nft.sh.in \
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/ocelot/
H 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 …]
H 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 | \
/openbmc/u-boot/cmd/
H A Dblk_common.c18 const char *if_name = blk_get_if_type_name(if_type); in blk_common_cmd() local
30 printf("\nno %s devices available\n", if_name); in blk_common_cmd()
36 printf("\nno %s devices available\n", if_name); in blk_common_cmd()
56 if_name, dev); in blk_common_cmd()
71 if_name, *cur_devnump, blk, cnt); in blk_common_cmd()
86 if_name, *cur_devnump, blk, cnt); in blk_common_cmd()
/openbmc/u-boot/drivers/net/
H A Dsandbox-raw-bus.c28 for (i = ni; !(i->if_index == 0 && !i->if_name); i++) { in eth_raw_bus_post_bind()
29 int local = sandbox_eth_raw_os_is_local(i->if_name); in eth_raw_bus_post_bind()
38 strncat(ub_ifname, i->if_name, IFNAMSIZ); in eth_raw_bus_post_bind()
45 strcpy(priv->host_ifname, i->if_name); in eth_raw_bus_post_bind()
/openbmc/linux/tools/hv/
H 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()
1327 "/ifcfg-", if_name); in kvp_set_ip_info()
1547 char *if_name; in main() local
1683 if (if_name == NULL) { in main()
[all …]
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/
H A D0014-add-if_nameindex-from-musl.patch97 + idx[i-k].if_name = conf.ifc_req[i].ifr_name;
99 + idx[i-k].if_name = 0;
130 + char *if_name;
/openbmc/u-boot/arch/sandbox/include/asm/
H A Deth-raw-os.h40 char *if_name; /* Null-terminated name ("eth0", etc.) */ member
/openbmc/linux/include/uapi/linux/
H A Dgsmmux.h81 char if_name[IFNAMSIZ]; member

12