Searched refs:dld_str_t (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/uts/common/sys/ |
H A D | dls.h | 77 typedef struct dld_str_s dld_str_t; typedef 90 extern int dls_open(dls_link_t *, dls_dl_handle_t, dld_str_t *); 91 extern void dls_close(dld_str_t *); 92 extern int dls_bind(dld_str_t *, uint32_t); 93 extern void dls_unbind(dld_str_t *); 95 extern int dls_promisc(dld_str_t *, uint32_t); 97 extern int dls_multicst_add(dld_str_t *, const uint8_t *); 98 extern int dls_multicst_remove(dld_str_t *, const uint8_t *); 100 extern mblk_t *dls_header(dld_str_t *, const uint8_t *, 103 extern void dls_rx_set(dld_str_t *, dls_rx_t, void *); [all …]
|
H A D | dld_impl.h | 211 dld_str_t *ds_next; /* SL */ 245 extern dld_str_t *dld_str_create(queue_t *, uint_t, major_t, 247 extern void dld_str_destroy(dld_str_t *); 248 extern int dld_str_attach(dld_str_t *, t_uscalar_t); 249 extern void dld_str_detach(dld_str_t *); 256 extern void dld_str_notify_ind(dld_str_t *); 257 extern mac_tx_cookie_t str_mdata_fastpath_put(dld_str_t *, mblk_t *, 259 extern int dld_flow_ctl_callb(dld_str_t *, uint64_t, 265 extern void dld_proto(dld_str_t *, mblk_t *); 266 extern void dld_proto_unitdata_req(dld_str_t *, mblk_t *); [all …]
|
H A D | dls_impl.h | 85 extern void dls_link_add(dls_link_t *, uint32_t, dld_str_t *); 86 extern void dls_link_remove(dls_link_t *, dld_str_t *); 96 extern void dls_create_str_kstats(dld_str_t *); 113 extern boolean_t dls_accept(dld_str_t *, mac_header_info_t *, 115 extern boolean_t dls_accept_loopback(dld_str_t *, mac_header_info_t *, 117 extern boolean_t dls_accept_promisc(dld_str_t *, mac_header_info_t *, 125 extern int dls_active_set(dld_str_t *); 126 extern void dls_active_clear(dld_str_t *, boolean_t);
|
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_str.c | 45 static mblk_t *str_unitdata_ind(dld_str_t *, mblk_t *, boolean_t); 46 static void str_notify_promisc_on_phys(dld_str_t *); 47 static void str_notify_promisc_off_phys(dld_str_t *); 48 static void str_notify_phys_addr(dld_str_t *, uint_t, const uint8_t *); 49 static void str_notify_link_up(dld_str_t *); 50 static void str_notify_link_down(dld_str_t *); 51 static void str_notify_capab_reneg(dld_str_t *); 52 static void str_notify_speed(dld_str_t *, uint32_t); 54 static void ioc_native(dld_str_t *, mblk_t *); 55 static void ioc_margin(dld_str_t *, mblk_t *); [all …]
|
H A D | dld_proto.c | 39 typedef void proto_reqfunc_t(dld_str_t *, mblk_t *); 47 static void proto_capability_advertise(dld_str_t *, mblk_t *); 48 static int dld_capab_poll_disable(dld_str_t *, dld_capab_poll_t *); 66 dld_proto(dld_str_t *dsp, mblk_t *mp) in dld_proto() 144 proto_info_req(dld_str_t *dsp, mblk_t *mp) in proto_info_req() 319 proto_attach_req(dld_str_t *dsp, mblk_t *mp) in proto_attach_req() 365 proto_detach_req(dld_str_t *dsp, mblk_t *mp) in proto_detach_req() 400 proto_bind_req(dld_str_t *dsp, mblk_t *mp) in proto_bind_req() 509 proto_unbind_req(dld_str_t *dsp, mblk_t *mp) in proto_unbind_req() 573 proto_promiscon_req(dld_str_t *dsp, mblk_t *mp) in proto_promiscon_req() [all …]
|
/illumos-gate/usr/src/uts/common/io/dls/ |
H A D | dls.c | 41 dls_open(dls_link_t *dlp, dls_dl_handle_t ddh, dld_str_t *dsp) in dls_open() 85 dls_close(dld_str_t *dsp) in dls_close() 151 dls_bind(dld_str_t *dsp, uint32_t sap) in dls_bind() 213 dls_unbind(dld_str_t *dsp) in dls_unbind() 249 dls_promisc(dld_str_t *dsp, uint32_t new_flags) in dls_promisc() 337 dls_multicst_add(dld_str_t *dsp, const uint8_t *addr) in dls_multicst_add() 395 dls_multicst_remove(dld_str_t *dsp, const uint8_t *addr) in dls_multicst_remove() 445 dls_header(dld_str_t *dsp, const uint8_t *addr, uint16_t sap, uint_t pri, in dls_header() 535 dls_rx_set(dld_str_t *dsp, dls_rx_t rx, void *arg) in dls_rx_set() 544 dls_accept_common(dld_str_t *dsp, mac_header_info_t *mhip, dls_rx_t *ds_rx, in dls_accept_common() [all …]
|
H A D | dls_link.c | 284 dld_str_t *dsp; in i_dls_link_rx_func() 347 dld_str_t *dsp; in i_dls_link_rx() 348 dld_str_t *ndsp; in i_dls_link_rx() 517 dld_str_t *dsp = arg; in dls_rx_vlan_promisc() 560 dld_str_t *dsp = arg; in dls_rx_promisc() 998 dls_link_add(dls_link_t *dlp, uint32_t sap, dld_str_t *dsp) in dls_link_add() 1003 dld_str_t *p; in dls_link_add() 1046 dls_link_remove(dls_link_t *dlp, dld_str_t *dsp) in dls_link_remove() 1049 dld_str_t **pp; in dls_link_remove() 1050 dld_str_t *p; in dls_link_remove()
|