Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dlib.sh469 local if_name=$1
478 ip address $add_del $addrstr dev $if_name
484 local if_name=$1; shift
488 ip link set dev $if_name master $vrf_name
489 ip link set dev $if_name up
491 __addr_add_del $if_name add "${addrs[@]}"
496 local if_name=$1; shift
499 __addr_add_del $if_name del "${addrs[@]}"
501 ip link set dev $if_name down
502 ip link set dev $if_name nomaster
[all …]
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
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
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
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
Drouter.sh197 local if_name=$1; shift
202 $MC_CLI -I $table_name add $if_name $s_addr $mcast $dest_ifs
207 local if_name=$1; shift
212 $MC_CLI -I $table_name remove $if_name $s_addr $mcast $dest_ifs
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
Ddevlink_lib.sh539 local if_name=$1
541 devlink -j port show $if_name | jq -e '.[] | keys' | jq -r '.[]'
/kernel/linux/linux-5.10/tools/hv/
Dhv_kvp_daemon.c561 char *if_name = NULL; in kvp_get_if_name() local
591 if_name = strdup(entry->d_name); in kvp_get_if_name()
600 return if_name; in kvp_get_if_name()
607 static char *kvp_if_name_to_mac(char *if_name) in kvp_if_name_to_mac() argument
617 if_name, "/address"); in kvp_if_name_to_mac()
669 static void kvp_get_ipconfig_info(char *if_name, in kvp_get_ipconfig_info() argument
680 sprintf(cmd, "%s %s", "ip route show dev", if_name); in kvp_get_ipconfig_info()
692 sprintf(cmd, "%s %s", "ip -f inet6 route show dev", if_name); in kvp_get_ipconfig_info()
734 sprintf(cmd, KVP_SCRIPTS_PATH "%s %s", "hv_get_dhcp_info", if_name); in kvp_get_ipconfig_info()
803 kvp_get_ip_info(int family, char *if_name, int op, in kvp_get_ip_info() argument
[all …]
/kernel/liteos_a/testsuites/unittest/net/netdb/full/
Dnet_netdb_test_015.cpp37 char if_name[20]; in IfNameToIndexTest() local
43 str = if_indextoname(ret, if_name); in IfNameToIndexTest()
45 ICUNIT_ASSERT_STRING_EQUAL(if_name, "lo", -1); in IfNameToIndexTest()
/kernel/linux/linux-5.10/samples/bpf/
Dxdp_sample_pkts_user.c22 static char *if_name; variable
96 do_detach(if_idx, if_name); in sig_handler()
177 if_name = argv[optind]; in main()
178 err = do_attach(if_idx, prog_fd, if_name); in main()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dgsmmux.h32 char if_name[IFNAMSIZ]; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dgsmmux.h33 char if_name[IFNAMSIZ]; /* interface name format string */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dgsmmux.h44 char if_name[IFNAMSIZ]; member
/kernel/linux/linux-5.10/net/tipc/
Dbearer.c137 char *if_name; in bearer_name_validate() local
150 if_name = strchr(media_name, ':'); in bearer_name_validate()
151 if (if_name == NULL) in bearer_name_validate()
153 *(if_name++) = 0; in bearer_name_validate()
154 media_len = if_name - media_name; in bearer_name_validate()
155 if_len = strlen(if_name) + 1; in bearer_name_validate()
165 strcpy(name_parts->if_name, if_name); in bearer_name_validate()
Dlink.h74 bool tipc_link_create(struct net *net, char *if_name, int bearer_id,
Dbearer.h175 char if_name[TIPC_MAX_IF_NAME]; member
Dlink.c143 char if_name[TIPC_MAX_IF_NAME]; member
469 bool tipc_link_create(struct net *net, char *if_name, int bearer_id, in tipc_link_create() argument
500 self_str, if_name, peer_str); in tipc_link_create()
502 strcpy(l->if_name, if_name); in tipc_link_create()
1889 strcpy(data, l->if_name); in tipc_link_build_proto_msg()
2177 char *if_name; in tipc_link_proto_rcv() local
2207 if_name = strrchr(l->name, ':') + 1; in tipc_link_proto_rcv()
2208 if (sizeof(l->name) - (if_name - l->name) <= TIPC_MAX_IF_NAME) in tipc_link_proto_rcv()
2212 strncpy(if_name, data, TIPC_MAX_IF_NAME); in tipc_link_proto_rcv()
/kernel/linux/linux-5.10/include/rdma/
Diw_portmap.h30 char if_name[IWPM_IFNAME_SIZE]; member
/kernel/liteos_m/kal/libc/newlib/porting/include/net/
Dif.h145 char *if_name; member
/kernel/linux/linux-5.10/drivers/infiniband/core/
Diwpm_msg.c98 pm_msg->if_name, IWPM_NLA_REG_IF_NAME); in iwpm_register_pid()
113 __func__, pm_msg->dev_name, pm_msg->if_name, iwpm_ulib_name); in iwpm_register_pid()
Diwcm.c517 strlen(ifname) >= sizeof(pm_reg_msg.if_name)) in iw_cm_map()
524 strcpy(pm_reg_msg.if_name, ifname); in iw_cm_map()
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/intel/
Diavf.rst81 # ethtool -K <if_name> rxvlan on/off
85 # ethtool --offload <if_name> rxvlan on/off
/kernel/linux/linux-5.10/drivers/tty/
Dn_gsm.c2954 if (nc->if_name[0] != '\0') in gsm_create_network()
2955 netname = nc->if_name; in gsm_create_network()
2968 strncpy(nc->if_name, net->name, IFNAMSIZ); /* return net name */ in gsm_create_network()
3271 nc.if_name[IFNAMSIZ-1] = '\0'; in gsmtty_ioctl()
/kernel/linux/linux-5.10/drivers/s390/net/
Dqeth_core_sys.c58 static DEVICE_ATTR(if_name, 0444, qeth_dev_if_name_show, NULL);

12