Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/forwarding/
A Dlib.sh561 local if_name=$1
576 local if_name=$1; shift
599 local if_name=$1
604 vrf_name=v$if_name
614 local if_name=$1
619 vrf_name=v$if_name
689 $TEAMD -t $if_name -k
694 local if_name=$1
812 local if_name=$1
1107 local if_name=$1
[all …]
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_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 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 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
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.sh568 local if_name=$1
570 devlink -j port show $if_name | jq -e '.[] | keys' | jq -r '.[]'
/linux/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/samples/bpf/
A Dxdp_sample_pkts_user.c22 static char *if_name; variable
96 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/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()
A Dlink.c171 char if_name[TIPC_MAX_IF_NAME]; member
498 bool tipc_link_create(struct net *net, char *if_name, int bearer_id, in tipc_link_create() argument
529 self_str, if_name, peer_str); in tipc_link_create()
531 strcpy(l->if_name, if_name); in tipc_link_create()
1924 strcpy(data, l->if_name); in tipc_link_build_proto_msg()
2212 char *if_name; in tipc_link_proto_rcv() local
2236 if_name = strrchr(l->name, ':') + 1; in tipc_link_proto_rcv()
2237 if (sizeof(l->name) - (if_name - l->name) <= TIPC_MAX_IF_NAME) in tipc_link_proto_rcv()
2241 strncpy(if_name, data, TIPC_MAX_IF_NAME); in tipc_link_proto_rcv()
A Dlink.h74 bool tipc_link_create(struct net *net, char *if_name, int bearer_id,
A Dbearer.h179 char if_name[TIPC_MAX_IF_NAME]; member
A Dnode.c1164 char *if_name; in tipc_node_check_dest() local
1272 if_name = strchr(b->name, ':') + 1; in tipc_node_check_dest()
1274 if (!tipc_link_create(net, if_name, b->identity, b->tolerance, in tipc_node_check_dest()
/linux/include/uapi/linux/
A Dgsmmux.h33 char if_name[IFNAMSIZ]; /* interface name format string */ member
/linux/include/rdma/
A Diw_portmap.h30 char if_name[IWPM_IFNAME_SIZE]; member
/linux/drivers/infiniband/core/
A Diwpm_msg.c94 pm_msg->if_name, IWPM_NLA_REG_IF_NAME); in iwpm_register_pid()
109 __func__, pm_msg->dev_name, pm_msg->if_name, iwpm_ulib_name); in iwpm_register_pid()
A Diwcm.c516 strlen(ifname) >= sizeof(pm_reg_msg.if_name)) in iw_cm_map()
523 strcpy(pm_reg_msg.if_name, ifname); in iw_cm_map()
/linux/drivers/tty/
A Dn_gsm.c2886 if (nc->if_name[0] != '\0') in gsm_create_network()
2887 netname = nc->if_name; in gsm_create_network()
2900 strncpy(nc->if_name, net->name, IFNAMSIZ); /* return net name */ in gsm_create_network()
3199 nc.if_name[IFNAMSIZ-1] = '\0'; in gsmtty_ioctl()
/linux/Documentation/networking/device_drivers/ethernet/intel/
A Diavf.rst81 # ethtool -K <if_name> rxvlan on/off
85 # ethtool --offload <if_name> rxvlan on/off
/linux/drivers/s390/net/
A Dqeth_core_sys.c58 static DEVICE_ATTR(if_name, 0444, qeth_dev_if_name_show, NULL);

Completed in 61 milliseconds