Searched refs:mac_state (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/stand/lib/inet/
H A Dmac.c57 struct mac_type mac_state; variable in typeref:struct:mac_type
92 mac_state.mac_in_timeout = MAC_IN_TIMEOUT;
98 if ((mac_state.mac_dev = prom_open(bootdevicename)) == 0) {
119 (caddr_t)&mac_state.mac_mtu);
164 mac_state.mac_type = IFT_ATM;
165 mac_state.mac_arp_timeout = ATM_ARP_TIMEOUT;
166 mac_state.mac_in_timeout = ATM_IN_TIMEOUT;
167 if (mac_state.mac_mtu == 0)
168 mac_state.mac_mtu = ATMSIZE;
169 mac_state
[all...]
H A Dibd.c135 struct arp_packet *in = (struct arp_packet *)mac_state.mac_buf;
148 bcopy(mac_state.mac_addr_buf, (caddr_t)&out->arp_ea.arp_sha,
169 (void) prom_write(mac_state.mac_dev, (caddr_t)out,
177 len = prom_read(mac_state.mac_dev, mac_state.mac_buf,
178 mac_state.mac_mtu, 0, NETWORK);
315 reltime = mac_state.mac_in_timeout;
330 bzero(mac_state.mac_buf, sizeof (ipoib_ptxhdr_t));
341 len = prom_read(mac_state.mac_dev, mac_state
[all...]
H A Dmac.h52 extern struct mac_type mac_state; /* in mac.c */
H A Dethernet.c95 struct arp_packet *in = (struct arp_packet *)mac_state.mac_buf;
103 bcopy((caddr_t)mac_state.mac_addr_buf,
110 bcopy(mac_state.mac_addr_buf, (caddr_t)&out->arp_ea.arp_sha,
133 (void) prom_write(mac_state.mac_dev, (caddr_t)out,
141 len = prom_read(mac_state.mac_dev, mac_state.mac_buf,
142 mac_state.mac_mtu, 0, NETWORK);
255 bcopy(mac_state.mac_addr_buf, (caddr_t)&out.arp_ea.arp_tha,
316 reltime = mac_state.mac_in_timeout;
330 bzero(mac_state
[all...]
H A Dipv4.c1111 return (mac_state.mac_output(sock_id, &datagram));
/illumos-gate/usr/src/uts/common/io/dmfe/
H A Ddmfe_impl.h134 enum mac_state { enum
284 enum mac_state mac_state; /* RESET/STOPPED/STARTED */ member in struct:dmfe
H A Ddmfe_main.c1177 ASSERT(dmfep->mac_state == DMFE_MAC_STARTED);
1504 if (dmfep->mac_state == DMFE_MAC_STARTED) {
1530 dmfep->mac_state = DMFE_MAC_STOPPED;
1548 dmfep->mac_state = DMFE_MAC_STARTED;
2553 if (dmfep->mac_state == DMFE_MAC_STARTED) {
2704 dmfep->mac_state = DMFE_MAC_RESET;
/illumos-gate/usr/src/uts/common/io/usbgem/
H A Dusbgem.c624 ASSERT(dp->mac_state == MAC_STATE_ONLINE);
852 ASSERT(dp->mac_state != MAC_STATE_DISCONNECTED);
857 if (dp->mac_state == MAC_STATE_ONLINE) {
945 if ((dp->mac_state != MAC_STATE_DISCONNECTED &&
948 (dp->mac_state == MAC_STATE_ONLINE &&
963 " mac_state:%d starttime:%ld",
966 dp->nic_state, dp->mac_state,
1091 dp->rx_active = dp->mac_state == MAC_STATE_ONLINE;
1184 if (dp->mac_state != MAC_STATE_ONLINE && dp->tx_busy_cnt == 0) {
1477 if (dp->mac_state
[all...]
H A Dusbgem.h151 int mac_state; member in struct:usbgem_dev
232 krwlock_t dev_state_lock; /* mac_state and nic_state */
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/
H A Dqlge.h300 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 Ddladm.c3763 print_phys_mac_state_t *mac_state = ofarg->ofmt_cbarg; local
3764 dladm_macaddr_attr_t *attr = mac_state->ms_mac_attr;
3766 boolean_t is_parsable = mac_state->ms_state->ls_parsable;
3771 (is_primary || is_parsable) ? mac_state->ms_link : " ");
3914 print_phys_mac_state_t *mac_state = arg; local
3915 show_state_t *state = mac_state->ms_state;
3917 mac_state->ms_mac_attr = attr;
3918 ofmt_print(state->ls_ofmt, mac_state);
3929 print_phys_mac_state_t mac_state; local
3931 mac_state
[all...]

Completed in 125 milliseconds