Home
last modified time | relevance | path

Searched refs:vrid (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlvnic.c381 i_dladm_vnic_vrrp_mac(vrid_t vrid, int af, uint8_t *mac, uint_t maclen) in i_dladm_vnic_vrrp_mac() argument
383 if (maclen < ETHERADDRL || vrid < VRRP_VRID_MIN || in i_dladm_vnic_vrrp_mac()
384 vrid > VRRP_VRID_MAX || (af != AF_INET && af != AF_INET6)) { in i_dladm_vnic_vrrp_mac()
391 mac[5] = vrid; in i_dladm_vnic_vrrp_mac()
404 int *mac_slot, uint_t mac_prefix_len, uint16_t vid, vrid_t vrid, in dladm_vnic_create() argument
466 (af != AF_UNSPEC || vrid != VRRP_VRID_NONE)) { in dladm_vnic_create()
491 if (vrid < VRRP_VRID_MIN || vrid > VRRP_VRID_MAX || in dladm_vnic_create()
500 status = i_dladm_vnic_vrrp_mac(vrid, af, mac_addr, mac_len); in dladm_vnic_create()
548 attr.va_vrid = vrid; in dladm_vnic_create()
/illumos-gate/usr/src/lib/libvrrpadm/common/
H A Dlibvrrpadm.c515 vrrp_list(vrrp_handle_t vh, vrid_t vrid, const char *intf, int af, in vrrp_list() argument
541 cmd.vcl_vrid = vrid; in vrrp_list()
691 vrid_t vrid; in lookup_vnic() local
697 if (vrrp_is_vrrp_vnic(lva->lva_vh, vnicid, &linkid, &vid, &vrid, in lookup_vnic()
698 &af) && lva->lva_vrid == vrid && lva->lva_linkid == linkid && in lookup_vnic()
714 vrrp_get_vnicname(vrrp_handle_t vh, vrid_t vrid, int af, char *link, in vrrp_get_vnicname() argument
770 lva.lva_vrid = vrid; in vrrp_get_vnicname()
/illumos-gate/usr/src/uts/common/io/vnic/
H A Dvnic_dev.c343 int *mac_slot, uint_t mac_prefix_len, uint16_t vid, vrid_t vrid, in vnic_dev_create() argument
378 vnic->vn_vrid = vrid; in vnic_dev_create()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd.c334 vrrpd_lookup_vr_by_vrid(char *ifname, vrid_t vrid, int af) in vrrpd_lookup_vr_by_vrid() argument
340 vr->vvr_conf.vvc_vrid == vrid && in vrrpd_lookup_vr_by_vrid()
2866 vrrpd_list(vrid_t vrid, char *ifname, int af, vrrp_ret_list_t *ret, in vrrpd_list() argument
2873 vrrp_log(VRRP_DBG0, "vrrpd_list(%d_%s_%s)", vrid, ifname, af_str(af)); in vrrpd_list()
2877 if (vrid != VRRP_VRID_NONE && vr->vvr_conf.vvc_vrid != vrid) in vrrpd_list()
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c4776 vrid_t vrid = VRRP_VRID_NONE; in do_create_vnic() local
4842 if (!str2int(optarg, (int *)&vrid) || in do_create_vnic()
4843 vrid < VRRP_VRID_MIN || vrid > VRRP_VRID_MAX) { in do_create_vnic()
4886 if (vrid == VRRP_VRID_NONE || af == AF_UNSPEC || in do_create_vnic()
4891 } else if ((af != AF_UNSPEC || vrid != VRRP_VRID_NONE)) { in do_create_vnic()
4924 mac_addr, maclen, &mac_slot, mac_prefix_len, vid, vrid, af, in do_create_vnic()