Searched refs:vnic (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdlvlan.c44 dladm_vnic_attr_t attr, *vnic = &attr; local
46 if ((status = dladm_vnic_info(handle, vlanid, vnic, flags)) !=
50 dvap->dv_vid = vnic->va_vid;
51 dvap->dv_linkid = vnic->va_link_id;
52 dvap->dv_force = vnic->va_force;
H A Dlibdlvnic.c184 vnic_info_t *vnic; local
189 vnic = &ioc.vi_info;
190 vnic->vn_vnic_id = linkid;
198 attrp->va_vnic_id = vnic->vn_vnic_id;
199 attrp->va_link_id = vnic->vn_link_id;
200 attrp->va_zone_id = vnic->vn_zone_id;
201 attrp->va_owner_zone_id = vnic->vn_owner_zone_id;
202 attrp->va_onloan = vnic->vn_onloan;
203 attrp->va_mac_addr_type = vnic->vn_mac_addr_type;
204 bcopy(vnic
499 dladm_vnic_create(dladm_handle_t handle, const char *vnic, datalink_id_t linkid, zoneid_t zoneid, vnic_mac_addr_type_t mac_addr_type, uchar_t *mac_addr, uint_t mac_len, int *mac_slot, uint_t mac_prefix_len, uchar_t *auto_mac_addr, size_t auto_mac_addr_size, uint16_t vid, vrid_t vrid, int af, datalink_id_t *vnic_id_out, dladm_arg_list_t *proplist, uint32_t flags) argument
[all...]
H A Dlibdlvnic.h33 #include <sys/vnic.h>
/osnet-11/usr/src/lib/liblldp/common/
H A Dliblldp_tlv.c1051 /* Caller frees vnic memory */
1059 lldp_vnic_info_t *vnic; local
1079 vnic = *vinfo;
1085 (void) memcpy(vnic->lvni_name, name, LLDP_MAX_VLANNAMELEN);
1086 vnic->lvni_linkid = DATALINK_INVALID_LINKID;
1087 vnic->lvni_vid = VLAN_ID_NONE;
1089 &vnic->lvni_vid);
1091 &vnic->lvni_linkid);
1092 (void) lldp_nvlist2portid(vlnvl, &vnic->lvni_portid);
1093 vnic
[all...]
/osnet-11/usr/src/lib/libvrrpadm/common/
H A Dlibvrrpadm.c705 * Given the primary link name, find the assoicated VRRP vnic name, if
706 * the vnic does not exist yet, return the linkid, vid of the primary link.
710 datalink_id_t *linkidp, uint16_t *vidp, char *vnic, size_t len)
753 * Find the assoicated vnic with the given vrid/vid/af/linkid
765 (void) strlcpy(vnic, lva.lva_vnic, len);
709 vrrp_get_vnicname(vrrp_handle_t vh, vrid_t vrid, int af, char *link, datalink_id_t *linkidp, uint16_t *vidp, char *vnic, size_t len) argument
/osnet-11/usr/src/lib/brand/solaris10/cmd/
H A Ds10_net_include.sh305 macaddrtype=`/sbin/dladm show-vnic $1 -o MACADDRTYPE -p 2>/dev/null`

Completed in 39 milliseconds