/illumos-gate/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_util.c | 66 char lp_prefix[MAXLINKNAMELEN]; 160 (void) strlcpy(dlmgmt_prefixlist.lp_prefix, "net", MAXLINKNAMELEN); in dlmgmt_linktable_init() 477 (void) strlcpy(link.ll_link, name, MAXLINKNAMELEN); in link_by_name() 510 (void) strlcpy(linkp->ll_link, name, MAXLINKNAMELEN); in dlmgmt_create_common() 649 (void) strlcpy(dlconfp->ld_link, name, MAXLINKNAMELEN); in dlconf_create() 707 (void) strlcpy(lpp->lp_prefix, prefix, MAXLINKNAMELEN); in dlmgmt_generate_name() 712 (void) snprintf(link.ll_link, MAXLINKNAMELEN, "%s%d", in dlmgmt_generate_name() 734 char prefix[MAXLINKNAMELEN]; in dlmgmt_advance_ppa() 735 char linkname[MAXLINKNAMELEN]; in dlmgmt_advance_ppa() 764 (void) snprintf(linkname, MAXLINKNAMELEN, in dlmgmt_advance_ppa()
|
H A D | dlmgmt_impl.h | 61 char ll_link[MAXLINKNAMELEN]; 96 char ld_link[MAXLINKNAMELEN];
|
H A D | dlmgmt_door.c | 151 char link[MAXLINKNAMELEN]; in dlmgmt_upcall_create() 229 err = dlmgmt_generate_name("net", link, MAXLINKNAMELEN, zoneid); in dlmgmt_upcall_create() 421 } else if (strlcpy(retvalp->lr_link, linkp->ll_link, MAXLINKNAMELEN) >= in dlmgmt_getname() 422 MAXLINKNAMELEN) { in dlmgmt_getname() 544 char link[MAXLINKNAMELEN]; in dlmgmt_createid() 557 MAXLINKNAMELEN, zoneid); in dlmgmt_createid() 635 char oldname[MAXLINKNAMELEN]; in dlmgmt_remapid() 661 (void) strlcpy(oldname, linkp->ll_link, MAXLINKNAMELEN); in dlmgmt_remapid() 663 (void) strlcpy(linkp->ll_link, remapid->ld_link, MAXLINKNAMELEN); in dlmgmt_remapid() 688 (void) strlcpy(linkp->ll_link, oldname, MAXLINKNAMELEN); in dlmgmt_remapid()
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlmgmt.h | 65 char ld_link[MAXLINKNAMELEN]; 81 char ld_link[MAXLINKNAMELEN]; 91 char ld_link[MAXLINKNAMELEN];
|
H A D | libdllink.c | 114 char link[MAXLINKNAMELEN]; in i_dladm_walk() 403 (void) strlcpy(dir.dir_link, link2, MAXLINKNAMELEN); in i_dladm_rename_link_c1() 413 (void) strlcpy(dir.dir_link, link1, MAXLINKNAMELEN); in i_dladm_rename_link_c1() 480 char devname[MAXLINKNAMELEN]; in i_dladm_rename_link_c2() 528 MAXLINKNAMELEN)) != DLADM_STATUS_OK) || in i_dladm_rename_link_c2() 829 dpap->dp_dev, MAXLINKNAMELEN); in dladm_phys_info() 842 (void) strlcpy(dpap->dp_dev, dip.dip_dev, MAXLINKNAMELEN); in dladm_phys_info() 924 char devname[MAXLINKNAMELEN]; in dladm_linkid2legacyname() 971 (void) snprintf(devname, MAXLINKNAMELEN, "aggr%d", dga.lg_key); in dladm_linkid2legacyname() 982 (void) strlcpy(devname, dpa.dp_dev, MAXLINKNAMELEN); in dladm_linkid2legacyname()
|
H A D | libdlbridge.c | 348 char bridge[MAXLINKNAMELEN]; in port_door_call() 874 char linkname[MAXLINKNAMELEN]; in dladm_bridge_configure() 1045 char oldbridge[MAXLINKNAMELEN]; in dladm_bridge_setlink() 1123 char bridge[MAXLINKNAMELEN]; in dladm_bridge_refresh() 1144 char bridge[MAXLINKNAMELEN]; in i_dladm_bridge_is_held() 1171 char linkname[MAXLINKNAMELEN]; in dladm_bridge_delete() 1241 size_t len = strnlen(bridge, MAXLINKNAMELEN); in dladm_valid_bridgename() 1244 if (len == MAXLINKNAMELEN) in dladm_valid_bridgename() 1275 llen = strnlen(link, MAXLINKNAMELEN); in dladm_observe_to_bridge() 1461 char brcopy[MAXLINKNAMELEN]; in dladm_bridge_get_trillnick()
|
H A D | libdllink.h | 49 char dp_dev[MAXLINKNAMELEN]; 99 char hg_link_name[MAXLINKNAMELEN];
|
H A D | libdlether.h | 63 char lei_linkname[MAXLINKNAMELEN];
|
H A D | libdlmgmt.c | 143 (void) strlcpy(createid.ld_link, link, MAXLINKNAMELEN); in dladm_create_datalink_id() 193 (void) strlcpy(remapid.ld_link, link, MAXLINKNAMELEN); in dladm_remap_datalink_id() 230 (void) strlcpy(createconf.ld_link, link, MAXLINKNAMELEN); in dladm_create_conf() 559 (void) strlcpy(getlinkid.ld_link, link, MAXLINKNAMELEN); in dladm_name2info()
|
H A D | libdloverlay.h | 34 char oa_name[MAXLINKNAMELEN];
|
/illumos-gate/usr/src/cmd/flowadm/ |
H A D | flowadm.c | 139 char flow_link[MAXLINKNAMELEN]; 327 char devname[MAXLINKNAMELEN]; in do_add_flow() 354 MAXLINKNAMELEN) >= MAXLINKNAMELEN) { in do_add_flow() 415 char linkname[MAXLINKNAMELEN]; in do_remove_flow() 435 MAXLINKNAMELEN) >= MAXLINKNAMELEN) { in do_remove_flow() 505 char link[MAXLINKNAMELEN]; in print_flow() 593 char linkname[MAXLINKNAMELEN]; in do_show_flow() 625 if (strlcpy(linkname, optarg, MAXLINKNAMELEN) in do_show_flow() 626 >= MAXLINKNAMELEN) in do_show_flow() 1120 char name[MAXLINKNAMELEN]; in show_flowprop_onelink()
|
/illumos-gate/usr/src/cmd/dladm/ |
H A D | dladm.c | 153 char vs_vnic[MAXLINKNAMELEN]; 154 char vs_link[MAXLINKNAMELEN]; 171 char ps_part[MAXLINKNAMELEN]; 181 char is_link[MAXLINKNAMELEN]; 699 char link_name[MAXLINKNAMELEN]; 703 char link_bridge[MAXLINKNAMELEN * MAXPORT]; 704 char link_over[MAXLINKNAMELEN * MAXPORT]; 993 char ls_link[MAXLINKNAMELEN]; 1212 char iptun_name[MAXLINKNAMELEN]; 1238 char bridge_name[MAXLINKNAMELEN]; /* 14.4.1.2.3(b) */ [all …]
|
/illumos-gate/usr/src/lib/libfcoe/common/ |
H A D | libfcoe.h | 101 FCOE_UINT8 mac_link_name[MAXLINKNAMELEN]; 113 FCOE_UINT8 mac_link_name[MAXLINKNAMELEN];
|
/illumos-gate/usr/src/cmd/dlstat/ |
H A D | dlstat.c | 145 char t_linkname[MAXLINKNAMELEN]; 169 char r_linkname[MAXLINKNAMELEN]; 196 char rr_linkname[MAXLINKNAMELEN]; 223 char tr_linkname[MAXLINKNAMELEN]; 250 char l_linkname[MAXLINKNAMELEN]; 277 char rl_linkname[MAXLINKNAMELEN]; 322 char rfl_linkname[MAXLINKNAMELEN]; 352 char tl_linkname[MAXLINKNAMELEN]; 388 char ap_linkname[MAXLINKNAMELEN]; 389 char ap_portname[MAXLINKNAMELEN]; [all …]
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | bridge_rcm.c | 75 char vc_bridge[MAXLINKNAMELEN]; 544 char name[MAXLINKNAMELEN]; in bridge_usage() 545 char bridge[MAXLINKNAMELEN]; in bridge_usage() 677 char bridge[MAXLINKNAMELEN]; in bridge_update() 826 char link[MAXLINKNAMELEN]; in bridge_log_err() 866 char bridge[MAXLINKNAMELEN]; in bridge_configure()
|
H A D | vlan_rcm.c | 679 char name[MAXLINKNAMELEN]; in vlan_usage() 707 bufsz = nvlan * (MAXLINKNAMELEN + strlen(sep)) + in vlan_usage() 708 strlen(fmt) + MAXLINKNAMELEN + 1; in vlan_usage() 1064 char link[MAXLINKNAMELEN]; in vlan_log_err() 1090 len = strlen(errfmt) + strlen(errmsg) + MAXLINKNAMELEN + 1; in vlan_log_err()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | dls_mgmt.h | 176 char ld_link[MAXLINKNAMELEN]; 223 char lr_link[MAXLINKNAMELEN];
|
H A D | dld.h | 118 char dip_dev[MAXLINKNAMELEN]; 194 char dir_link[MAXLINKNAMELEN]; 309 char dhi_link_name[MAXLINKNAMELEN];
|
H A D | overlay.h | 45 char oic_encap[MAXLINKNAMELEN];
|
/illumos-gate/usr/src/uts/common/net/ |
H A D | bridge_impl.h | 108 char bi_name[MAXLINKNAMELEN]; 127 char bm_name[MAXLINKNAMELEN];
|
/illumos-gate/usr/src/lib/libvrrpadm/common/ |
H A D | libvrrpadm.h | 65 char vvc_link[MAXLINKNAMELEN]; /* data-link name */ 120 char va_vnic[MAXLINKNAMELEN];
|
/illumos-gate/usr/src/uts/common/io/softmac/ |
H A D | softmac_stat.c | 184 char drv[MAXLINKNAMELEN]; in softmac_hold_dev_kstat() 188 if (ddi_parse_dlen(softmac->smac_devname, drv, MAXLINKNAMELEN, &ppa) != in softmac_hold_dev_kstat()
|
/illumos-gate/usr/src/cmd/datadm/ |
H A D | datadm.c | 131 char iae_name[MAXLINKNAMELEN]; 441 if (strlen(str) >= MAXLINKNAMELEN) in datadm_parse_ia_name() 443 (void) strlcpy(ia_name, str, MAXLINKNAMELEN); in datadm_parse_ia_name() 976 (void) strlcpy(ia_entry->iae_name, ia_name, MAXLINKNAMELEN); in datadm_process_sp_entry() 1162 char ia_name[MAXLINKNAMELEN]; in datadm_parse_dat_conf() 1370 MAXLINKNAMELEN); in datadm_add_plink()
|
/illumos-gate/usr/src/uts/common/io/dls/ |
H A D | dls_mgmt.c | 107 char dd_linkname[MAXLINKNAMELEN]; 519 if (len <= 1 || len >= MAXLINKNAMELEN) in dls_mgmt_get_linkinfo() 523 (void) strlcpy(link, retval.lr_link, MAXLINKNAMELEN); in dls_mgmt_get_linkinfo() 546 (void) strlcpy(getlinkid.ld_link, link, MAXLINKNAMELEN); in dls_mgmt_get_linkid() 822 char linkname[MAXLINKNAMELEN]; in dls_devnet_set() 1276 char drv[MAXLINKNAMELEN]; in dls_devnet_hold_by_name() 1302 if (ddi_parse_dlen(link, drv, MAXLINKNAMELEN, &ppa) != DDI_SUCCESS) in dls_devnet_hold_by_name()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | trill_impl.h | 84 char ti_bridgename[MAXLINKNAMELEN];
|