/illumos-gate/usr/src/lib/librstp/common/ |
H A D | stpmgmt.c | 32 STP_IN_stpm_create (int vlan_id, char* name) argument 41 STP_OUT_get_init_stpm_cfg (vlan_id, &init_cfg); 45 this = stp_in_stpm_create (vlan_id, name, &err_code); 59 STP_IN_stpm_delete (int vlan_id) argument 65 this = stpapi_stpm_find (vlan_id); 75 STP_OUT_set_hardware_mode (vlan_id, STP_DISABLED); 87 STP_IN_stpm_get_vlan_id_by_name (char* name, int* vlan_id) argument 95 *vlan_id = stpm->vlan_id; 107 STP_IN_get_is_stpm_enabled (int vlan_id) argument [all...] |
H A D | stp_in.h | 143 STP_IN_stpm_create (int vlan_id, char* name); 146 STP_IN_stpm_delete (int vlan_id); 149 STP_IN_port_add (int vlan_id, int port_index); 152 STP_IN_port_remove (int vlan_id, int port_index); 163 STP_IN_get_is_stpm_enabled (int vlan_id); 166 STP_IN_stpm_get_vlan_id_by_name (char* name, int* vlan_id); 169 STP_IN_stpm_get_name_by_vlan_id (int vlan_id, char* name, size_t buffsize); 175 STP_IN_stpm_get_cfg (int vlan_id, UID_STP_CFG_T* uid_cfg); 178 STP_IN_stpm_get_state (int vlan_id, UID_STP_STATE_T* entry); 181 STP_IN_port_get_cfg (int vlan_id, in [all...] |
H A D | stp_vectors.h | 32 the vlan_id and the port (if 'exclude'=0) or for all ports, 34 entries with the vlan_id, don't care to 'exclude' */ 41 int (*flush_lt)(IN int port_index, IN int vlan_id, 56 int (*set_learning) (IN int port_index, IN int vlan_id, IN int enable); 57 int (*set_forwarding) (IN int port_index, IN int vlan_id, 64 int (*set_port_state) (IN int port_index, IN int vlan_id, 68 int (*set_hardware_mode) (int vlan_id, UID_STP_MODE_T mode); 69 int (*tx_bpdu) (IN int port_index, IN int vlan_id, 73 int (*get_init_stpm_cfg) (IN int vlan_id, 75 int (*get_init_port_cfg) (IN int vlan_id, [all...] |
H A D | stpm.h | 68 int vlan_id; /* let's say: tag */ member in struct:stpm_t 88 STP_stpm_create (int vlan_id, char* name); 120 STPM_T* stpapi_stpm_find (int vlan_id); 122 int stp_in_stpm_enable (int vlan_id, char* name, 124 void* stp_in_stpm_create (int vlan_id, char *name, int *err_code);
|
H A D | sttrans.c | 45 return STP_OUT_set_learning (port->port_index, port->owner->vlan_id, False); 53 return STP_OUT_set_learning (port->port_index, port->owner->vlan_id, True); 61 return STP_OUT_set_forwarding (port->port_index, port->owner->vlan_id, False); 69 return STP_OUT_set_forwarding (port->port_index, port->owner->vlan_id, True); 87 STP_OUT_set_port_state (port->port_index, port->owner->vlan_id, UID_PORT_DISCARDING); 95 STP_OUT_set_port_state (port->port_index, port->owner->vlan_id, UID_PORT_LEARNING); 104 STP_OUT_set_port_state (port->port_index, port->owner->vlan_id, UID_PORT_FORWARDING);
|
H A D | stp_in.c | 35 stp_in_stpm_create (int vlan_id, char* name, int* err_code) argument 40 this = stpapi_stpm_find (vlan_id); 46 this = STP_stpm_create (vlan_id, name); 57 _stp_in_stpm_enable (int vlan_id, char* name, argument 65 this = stpapi_stpm_find (vlan_id); 68 if (! vlan_id) { /* STP_IN_stop_all (); */ 73 STP_OUT_set_hardware_mode (stpm->vlan_id, STP_DISABLED); 83 this = stp_in_stpm_create (vlan_id, name, &err_code); 100 STP_OUT_set_hardware_mode (vlan_id, admin_state); 112 stpapi_stpm_find (int vlan_id) argument 238 STP_IN_stpm_get_cfg(IN int vlan_id, OUT UID_STP_CFG_T* uid_cfg) argument 289 STP_IN_port_get_cfg(int vlan_id, int port_index, UID_STP_PORT_CFG_T* uid_cfg) argument 338 STP_IN_port_get_state(IN int vlan_id, INOUT UID_STP_PORT_STATE_T* entry) argument 426 STP_IN_stpm_get_state(IN int vlan_id, OUT UID_STP_STATE_T* entry) argument 460 STP_IN_stpm_get_name_by_vlan_id(int vlan_id, char* name, size_t buffsize) argument 601 STP_IN_rx_bpdu(int vlan_id, int port_index, BPDU_T* bpdu, size_t len) argument 700 STP_IN_stpm_set_cfg(IN int vlan_id, IN UID_STP_CFG_T* uid_cfg) argument 807 STP_IN_port_set_cfg(IN int vlan_id, IN int port_index, IN UID_STP_PORT_CFG_T* uid_cfg) argument 891 STP_IN_dbg_set_port_trace(char* mach_name, int enadis, int vlan_id, int port_no) argument 936 STP_IN_port_add(int vlan_id, int port_index) argument 968 STP_IN_port_remove(int vlan_id, int port_index) argument 997 STP_IN_get_bridge_id(int vlan_id, unsigned short *priority, unsigned char *mac) argument [all...] |
H A D | transmit.c | 121 register int port_index, vlan_id; local 135 vlan_id = this->owner.port->owner->vlan_id; 145 return STP_OUT_tx_bpdu (port_index, vlan_id, 176 register int port_index, vlan_id; local 191 vlan_id = port->owner->vlan_id; 204 return STP_OUT_tx_bpdu (port_index, vlan_id, 214 register int port_index, vlan_id; local 234 vlan_id [all...] |
H A D | stpm.c | 128 STP_stpm_create (int vlan_id, char* name) argument 136 this->vlan_id = vlan_id; 200 if (tmp->vlan_id == this->vlan_id) { 249 STP_OUT_flush_lt (0, this->vlan_id, LT_FLASH_ONLY_THE_PORT, "start stpm");
|
H A D | uid_stp.h | 84 unsigned long vlan_id; member in struct:__anon3920
|
H A D | topoch.c | 68 bret = STP_OUT_flush_lt (port->port_index, port->owner->vlan_id, 93 STP_OUT_flush_lt (port->port_index, port->owner->vlan_id,
|
H A D | port.c | 67 STP_OUT_get_init_port_cfg (stpm->vlan_id, port_index, &port_cfg);
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hpi_pfc.h | 85 #define PFC_VLAN_REG_OFFSET(vlan_id) \ 86 ((((vlan_id_t)(vlan_id / PFC_N_VLAN_MEMBERS)) * 8) + PFC_VLAN_TABLE) 87 #define PFC_VLAN_BIT_OFFSET(vlan_id) \ 88 (vlan_id % PFC_N_VLAN_MEMBERS)
|
H A D | hpi_pfc.c | 341 hpi_pfc_cfg_vlan_table_entry_clear(hpi_handle_t handle, vlan_id_t vlan_id) argument 351 offset = PFC_VLAN_REG_OFFSET(vlan_id); 354 bit = PFC_VLAN_BIT_OFFSET(vlan_id); 364 hpi_pfc_cfg_vlan_table_entry_set(hpi_handle_t handle, vlan_id_t vlan_id) argument 374 offset = PFC_VLAN_REG_OFFSET(vlan_id); 377 bit = PFC_VLAN_BIT_OFFSET(vlan_id); 388 boolean_t valid, vlan_id_t vlan_id) 404 vlan_control.bits.id = vlan_id; 387 hpi_pfc_cfg_vlan_control_set(hpi_handle_t handle, boolean_t parity, boolean_t valid, vlan_id_t vlan_id) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | rstp.c | 61 flush_lt(int port_index, int vlan_id, LT_FLASH_TYPE_T type, char *reason) argument 174 set_port_state(int port_index, int vlan_id, RSTP_PORT_STATE state) argument 225 set_hardware_mode(int vlan_id, UID_STP_MODE_T mode) argument 229 vlan_id, mode); 235 tx_bpdu(int port_index, int vlan_id, unsigned char *bpdu, size_t bpdu_len) argument 268 get_init_stpm_cfg(int vlan_id, UID_STP_CFG_T *cfg) argument 277 get_init_port_cfg(int vlan_id, int port_index, UID_STP_PORT_CFG_T *cfg) argument 457 STP_IN_get_bridge_id(port->vlan_id, &prio, mac); 487 (rc = STP_IN_port_add(port->vlan_id, port->port_index)) != 0) { 495 (void) get_init_port_cfg(port->vlan_id, por [all...] |
H A D | global.h | 46 int vlan_id; member in struct:portdata
|
H A D | events.c | 176 update_port(int vlan_id, const char *portname, datalink_id_t linkid, argument 227 port->vlan_id = vlan_id; 416 (void) STP_IN_port_remove(pdp->vlan_id, 551 rc = STP_IN_rx_bpdu(port->vlan_id, port->port_index,
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_virtchnl.h | 307 u16 vlan_id[1]; member in struct:i40e_virtchnl_vlan_filter_list
|
H A D | i40e_prototype.h | 305 u16 vlan_id, u16 *stat_index, 308 u16 vlan_id, u16 stat_index,
|
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_fflp.c | 182 vlan_id_t vlan_id; local 192 for (vlan_id = start; vlan_id < stop; vlan_id++) { 193 offset = FFLP_VLAN_OFFSET(vlan_id, FFLP_ENET_VLAN_TBL_REG); 196 "%x\t %llx\t %llx\n", vlan_id, offset, value)); 1502 * vlan_id VLAN ID 1513 vlan_id_t vlan_id, uint8_t rdc_table, 1522 ASSERT(FFLP_VLAN_VALID(vlan_id)); 1523 if (!FFLP_VLAN_VALID(vlan_id)) { 1512 npi_fflp_cfg_enet_vlan_table_assoc(npi_handle_t handle, uint8_t mac_portn, vlan_id_t vlan_id, uint8_t rdc_table, uint8_t priority) argument 1629 npi_fflp_cfg_enet_vlan_table_set_pri(npi_handle_t handle, uint8_t mac_portn, vlan_id_t vlan_id, uint8_t priority) argument 1712 npi_fflp_cfg_vlan_table_clear(npi_handle_t handle, vlan_id_t vlan_id) argument [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_fflp.c | 162 vlan_id_t vlan_id; local 169 for (vlan_id = start; vlan_id < stop; vlan_id++) { 170 rs = npi_fflp_cfg_vlan_table_clear(handle, vlan_id); 174 vlan_id)); 1947 nxge_fflp_config_vlan_table(p_nxge_t nxgep, uint16_t vlan_id) argument 1963 if (vlan_table[vlan_id].flag == 0) { 1966 " vlan id is not configured %d", vlan_id)); 1977 rdc_grp = vlan_table[vlan_id] [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vsw_switching.c | 1333 uint16_t vlan_id; local 1386 is_tagged = vsw_frame_lookup_vid(arg, type, ehp, &vlan_id); 1397 if (vlan_id == pvid) { 1417 if (vlan_id != vswp->default_vlan_id) { 1427 if (vlan_id == pvid) { 1441 vlan_id);
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_fcf.h | 326 uint16_t vlan_id; member in struct:FCFIobj
|
H A D | emlxs_menlo.h | 231 uint16_t vlan_id[MAX_SUPPORTED_VLANS]; /* VLAN list */ member in struct:fip_params 1050 uint16_t vlan_id; /* vlan_id */ member in struct:fcf_info
|
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_82571.c | 1417 if (hw->mng_cookie.vlan_id != 0) { 1424 vfta_offset = (hw->mng_cookie.vlan_id >> 1428 1 << (hw->mng_cookie.vlan_id &
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/ |
H A D | nvm_map.h | 740 u16_t vlan_id; member in struct:iscsi_flash_initiator
|