Searched refs:mac_prefix_len (Results 1 – 4 of 4) sorted by relevance
/titanic_44/usr/src/uts/common/io/vnic/ |
H A D | vnic_ctl.c | 200 uint_t mac_prefix_len; in vnic_ioc_create() local 241 mac_prefix_len = create_arg->vc_mac_prefix_len; in vnic_ioc_create() 242 if (mac_prefix_len > MAXMACADDRLEN) { in vnic_ioc_create() 268 &mac_addr_type, &mac_len, mac_addr, &mac_slot, mac_prefix_len, in vnic_ioc_create()
|
H A D | vnic_dev.c | 341 int *mac_slot, uint_t mac_prefix_len, uint16_t vid, vrid_t vrid, in vnic_dev_create() argument 421 mac_prefix_len, mac_len, mac_addr, flags, diag, vid, in vnic_dev_create()
|
/titanic_44/usr/src/lib/libdladm/common/ |
H A D | libdlvnic.c | 400 int *mac_slot, uint_t mac_prefix_len, uint16_t vid, vrid_t vrid, in dladm_vnic_create() argument 461 mac_prefix_len == 0) { in dladm_vnic_create() 462 mac_prefix_len = sizeof (dladm_vnic_def_prefix); in dladm_vnic_create() 464 bcopy(dladm_vnic_def_prefix, mac_addr, mac_prefix_len); in dladm_vnic_create() 477 mac_len != 0 || mac_prefix_len != 0 || in dladm_vnic_create() 528 else if (mac_prefix_len > 0) in dladm_vnic_create() 529 bcopy(mac_addr, attr.va_mac_addr, mac_prefix_len); in dladm_vnic_create() 530 attr.va_mac_prefix_len = mac_prefix_len; in dladm_vnic_create()
|
/titanic_44/usr/src/cmd/dladm/ |
H A D | dladm.c | 4634 uint_t maclen = 0, mac_prefix_len = 0; in do_create_vnic() local 4696 mac_addr = _link_aton(optarg, (int *)&mac_prefix_len); in do_create_vnic() 4698 if (mac_prefix_len == (uint_t)-1) in do_create_vnic() 4744 if (mac_prefix_len != 0 && mac_addr_type != VNIC_MAC_ADDR_TYPE_RANDOM && in do_create_vnic() 4751 mac_prefix_len != 0) { in do_create_vnic() 4787 mac_addr, maclen, &mac_slot, mac_prefix_len, vid, vrid, af, in do_create_vnic()
|