/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
D | lib.sh | 469 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 …]
|
D | mirror_gre_lag_lacp.sh | 59 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
|
D | vxlan_asymmetric.sh | 107 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
|
D | mirror_gre_bridge_1q_lag.sh | 61 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
|
D | vxlan_symmetric.sh | 117 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
|
D | router.sh | 197 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
|
D | router_multicast.sh | 214 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
|
D | devlink_lib.sh | 539 local if_name=$1 541 devlink -j port show $if_name | jq -e '.[] | keys' | jq -r '.[]'
|
/kernel/linux/linux-5.10/tools/hv/ |
D | hv_kvp_daemon.c | 561 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/ |
D | net_netdb_test_015.cpp | 37 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/ |
D | xdp_sample_pkts_user.c | 22 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/ |
D | gsmmux.h | 32 char if_name[IFNAMSIZ]; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | gsmmux.h | 33 char if_name[IFNAMSIZ]; /* interface name format string */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | gsmmux.h | 44 char if_name[IFNAMSIZ]; member
|
/kernel/linux/linux-5.10/net/tipc/ |
D | bearer.c | 137 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()
|
D | link.h | 74 bool tipc_link_create(struct net *net, char *if_name, int bearer_id,
|
D | bearer.h | 175 char if_name[TIPC_MAX_IF_NAME]; member
|
D | link.c | 143 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/ |
D | iw_portmap.h | 30 char if_name[IWPM_IFNAME_SIZE]; member
|
/kernel/liteos_m/kal/libc/newlib/porting/include/net/ |
D | if.h | 145 char *if_name; member
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | iwpm_msg.c | 98 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()
|
D | iwcm.c | 517 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/ |
D | iavf.rst | 81 # ethtool -K <if_name> rxvlan on/off 85 # ethtool --offload <if_name> rxvlan on/off
|
/kernel/linux/linux-5.10/drivers/tty/ |
D | n_gsm.c | 2954 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/ |
D | qeth_core_sys.c | 58 static DEVICE_ATTR(if_name, 0444, qeth_dev_if_name_show, NULL);
|