Home
last modified time | relevance | path

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

12

/openbmc/linux/net/tipc/
H 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()
H A Dlink.h74 bool tipc_link_create(struct net *net, char *if_name, int bearer_id,
H A Dbearer.h181 char if_name[TIPC_MAX_IF_NAME]; member
H 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()
1925 strcpy(data, l->if_name); in tipc_link_build_proto_msg()
2213 char *if_name; in tipc_link_proto_rcv() local
2246 if_name = strrchr(l->name, ':') + 1; in tipc_link_proto_rcv()
2247 if (sizeof(l->name) - (if_name - l->name) <= TIPC_MAX_IF_NAME) in tipc_link_proto_rcv()
2251 strncpy(if_name, data, TIPC_MAX_IF_NAME); in tipc_link_proto_rcv()
H A Dnode.c1185 char *if_name; in tipc_node_check_dest() local
1279 if_name = strchr(b->name, ':') + 1; in tipc_node_check_dest()
1281 if (!tipc_link_create(net, if_name, b->identity, b->tolerance, in tipc_node_check_dest()
/openbmc/linux/include/rdma/
H A Diw_portmap.h30 char if_name[IWPM_IFNAME_SIZE]; member
/openbmc/linux/tools/testing/selftests/net/forwarding/
H 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
H A Ddevlink_lib.sh575 local if_name=$1
577 devlink -j port show $if_name | jq -e '.[] | keys' | jq -r '.[]'
/openbmc/google-ipmi-sys/
H A DREADME.md8 and the host's NIC. Sys specifies which if_name is expected to be connected. The
69 | 0x01... | if_name | (optional) The interface name, not null-terminated |
77 | 0x02 | if_name length | The length of the if_name in bytes. …
78 | 0x03... | if_name | The interface name, not null-terminated …
/openbmc/linux/drivers/infiniband/core/
H 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()
H A Diwcm.c519 strlen(ifname) >= sizeof(pm_reg_msg.if_name)) in iw_cm_map()
526 strcpy(pm_reg_msg.if_name, ifname); in iw_cm_map()
/openbmc/qemu/
H A Dblockdev.c77 static const char *const if_name[IF_COUNT] = { variable
128 " already been added.\n", if_name[type]); in override_max_devs()
211 qemu_opt_set(opts, "if", if_name[type], &error_abort); in drive_add()
272 if_name[dinfo->type], dinfo->bus, dinfo->unit); in drive_check_orphaned()
904 type < IF_COUNT && strcmp(value, if_name[type]); in drive_new()
962 new_id = g_strdup_printf("%s%i%s%i", if_name[type], bus_id, in drive_new()
965 new_id = g_strdup_printf("%s%s%i", if_name[type], in drive_new()
/openbmc/linux/Documentation/networking/device_drivers/ethernet/intel/
H A Diavf.rst81 # ethtool -K <if_name> rxvlan on/off
85 # ethtool --offload <if_name> rxvlan on/off
/openbmc/linux/drivers/s390/net/
H A Dqeth_core_sys.c58 static DEVICE_ATTR(if_name, 0444, qeth_dev_if_name_show, NULL);
/openbmc/linux/drivers/tty/
H A Dn_gsm.c4053 if (nc->if_name[0] != '\0') in gsm_create_network()
4054 netname = nc->if_name; in gsm_create_network()
4067 strncpy(nc->if_name, net->name, IFNAMSIZ); /* return net name */ in gsm_create_network()
4455 nc.if_name[IFNAMSIZ-1] = '\0'; in gsmtty_ioctl()

12