Searched refs:mac_state (Results 1 – 11 of 11) sorted by relevance
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | mac.c | 57 struct mac_type mac_state; variable 167 if (mac_state.mac_mtu == 0) in mac_init() 170 mac_state.mac_addr_buf = bkmem_alloc(mac_state.mac_addr_len); in mac_init() 192 if (mac_state.mac_mtu == 0) in mac_init() 195 mac_state.mac_addr_buf = bkmem_alloc(mac_state.mac_addr_len); in mac_init() 219 mac_state.mac_addr_buf = bkmem_alloc(mac_state.mac_addr_len); in mac_init() 247 mac_state.mac_addr_buf = bkmem_alloc(mac_state.mac_addr_len); in mac_init() 261 mac_state.mac_buf = bkmem_alloc(mac_state.mac_mtu); in mac_init() 277 bkmem_free(mac_state.mac_buf, mac_state.mac_mtu); in mac_fini() 278 mac_state.mac_buf = NULL; in mac_fini() [all …]
|
H A D | ibd.c | 177 len = prom_read(mac_state.mac_dev, mac_state.mac_buf, in ibd_comarp() 341 len = prom_read(mac_state.mac_dev, mac_state.mac_buf, in ibd_input() 350 if (len > mac_state.mac_mtu) { in ibd_input() 352 mac_state.mac_mtu, len); in ibd_input() 353 bkmem_free(mac_state.mac_buf, mac_state.mac_mtu); in ibd_input() 354 mac_state.mac_mtu = len; in ibd_input() 355 mac_state.mac_buf = bkmem_alloc(mac_state.mac_mtu); in ibd_input() 448 mac_state.mac_addr_len); in ibd_input() 452 mac_state.mac_buf, in ibd_input() 576 mac_state.mac_addr_buf = bkmem_alloc(mac_state.mac_addr_len); in ibd_init() [all …]
|
H A D | ethernet.c | 141 len = prom_read(mac_state.mac_dev, mac_state.mac_buf, in ether_comarp() 341 len = prom_read(mac_state.mac_dev, mac_state.mac_buf, in ether_input() 350 if (len > mac_state.mac_mtu) { in ether_input() 352 mac_state.mac_mtu, len); in ether_input() 353 bkmem_free(mac_state.mac_buf, mac_state.mac_mtu); in ether_input() 354 mac_state.mac_mtu = len; in ether_input() 355 mac_state.mac_buf = bkmem_alloc(mac_state.mac_mtu); in ether_input() 446 mac_state.mac_addr_len); in ether_input() 455 mac_state.mac_addr_len); in ether_input() 459 mac_state.mac_buf, in ether_input() [all …]
|
H A D | mac.h | 52 extern struct mac_type mac_state; /* in mac.c */
|
H A D | ipv4.c | 1111 return (mac_state.mac_output(sock_id, &datagram)); in ipv4_tcp_output()
|
/illumos-gate/usr/src/uts/common/io/usbgem/ |
H A D | usbgem.c | 423 ASSERT(dp->mac_state == MAC_STATE_ONLINE); in usbgem_init_rx_buf() 656 if (dp->mac_state == MAC_STATE_ONLINE) { in usbgem_restart_nic() 743 (dp->mac_state == MAC_STATE_ONLINE && in usbgem_tx_timeout() 761 dp->nic_state, dp->mac_state, in usbgem_tx_timeout() 2194 dp->mac_state = MAC_STATE_INITIALIZED; in usbgem_mac_init() 2224 dp->name, __func__, dp->mac_state)); in usbgem_mac_start() 2228 dp->mac_state = MAC_STATE_ONLINE; in usbgem_mac_start() 2319 dp->mac_state = new_state; in usbgem_mac_stop() 3550 dp->mac_state != MAC_STATE_ONLINE) { in usbgem_m_tx() 4255 dp->mac_state = MAC_STATE_STOPPED; in usbgem_recover_device() [all …]
|
H A D | usbgem.h | 141 int mac_state; member
|
/illumos-gate/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_impl.h | 134 enum mac_state { enum 284 enum mac_state mac_state; /* RESET/STOPPED/STARTED */ member
|
H A D | dmfe_main.c | 1177 ASSERT(dmfep->mac_state == DMFE_MAC_STARTED); in dmfe_m_tx() 1504 if (dmfep->mac_state == DMFE_MAC_STARTED) { in dmfe_restart() 1530 dmfep->mac_state = DMFE_MAC_STOPPED; in dmfe_m_stop() 1548 dmfep->mac_state = DMFE_MAC_STARTED; in dmfe_m_start() 2553 if (dmfep->mac_state == DMFE_MAC_STARTED) { in dmfe_resume() 2704 dmfep->mac_state = DMFE_MAC_RESET; in dmfe_attach()
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/ |
H A D | qlge.h | 300 enum mac_state { enum 475 enum mac_state mac_flags; 513 enum mac_state mac_flags; 625 enum mac_state mac_flags;
|
/illumos-gate/usr/src/cmd/dladm/ |
H A D | dladm.c | 3898 print_phys_mac_state_t *mac_state = ofarg->ofmt_cbarg; in print_phys_one_mac_cb() local 3899 dladm_macaddr_attr_t *attr = mac_state->ms_mac_attr; in print_phys_one_mac_cb() 3901 boolean_t is_parsable = mac_state->ms_state->ls_parsable; in print_phys_one_mac_cb() 4049 print_phys_mac_state_t *mac_state = arg; in print_phys_mac_callback() local 4050 show_state_t *state = mac_state->ms_state; in print_phys_mac_callback() 4052 mac_state->ms_mac_attr = attr; in print_phys_mac_callback() 4053 ofmt_print(state->ls_ofmt, mac_state); in print_phys_mac_callback() 4064 print_phys_mac_state_t mac_state; in print_phys_mac() local 4066 mac_state.ms_state = state; in print_phys_mac() 4067 mac_state.ms_link = link; in print_phys_mac() [all …]
|