Home
last modified time | relevance | path

Searched refs:bind_sap (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/io/mac/plugins/
H A Dmac_ether.c411 mac_ether_sap_verify(uint32_t sap, uint32_t *bind_sap, void *mac_pdata) in mac_ether_sap_verify() argument
414 if (bind_sap != NULL) in mac_ether_sap_verify()
415 *bind_sap = sap; in mac_ether_sap_verify()
420 if (bind_sap != NULL) in mac_ether_sap_verify()
421 *bind_sap = DLS_SAP_LLC; in mac_ether_sap_verify()
434 uint32_t bind_sap; in mac_ether_header() local
436 if (!mac_ether_sap_verify(sap, &bind_sap, NULL)) in mac_ether_header()
451 if ((bind_sap == DLS_SAP_LLC) && (payload != NULL)) in mac_ether_header()
H A Dmac_6to4.c98 mac_6to4_sap_verify(uint32_t sap, uint32_t *bind_sap, void *pdata) in mac_6to4_sap_verify() argument
101 if (bind_sap != NULL) in mac_6to4_sap_verify()
102 *bind_sap = sap; in mac_6to4_sap_verify()
H A Dmac_ib.c153 mac_ib_sap_verify(uint32_t sap, uint32_t *bind_sap, void *mac_pdata) in mac_ib_sap_verify() argument
158 if (bind_sap != NULL) in mac_ib_sap_verify()
159 *bind_sap = sap; in mac_ib_sap_verify()
164 if (bind_sap != NULL) in mac_ib_sap_verify()
165 *bind_sap = DLS_SAP_LLC; in mac_ib_sap_verify()
H A Dmac_wifi.c161 mac_wifi_sap_verify(uint32_t sap, uint32_t *bind_sap, void *pdata) in mac_wifi_sap_verify() argument
164 if (bind_sap != NULL) in mac_wifi_sap_verify()
165 *bind_sap = sap; in mac_wifi_sap_verify()
170 if (bind_sap != NULL) in mac_wifi_sap_verify()
171 *bind_sap = DLS_SAP_LLC; in mac_wifi_sap_verify()
H A Dmac_ipv4.c122 mac_ipv4_sap_verify(uint32_t sap, uint32_t *bind_sap, void *pdata) in mac_ipv4_sap_verify() argument
125 if (bind_sap != NULL) in mac_ipv4_sap_verify()
126 *bind_sap = sap; in mac_ipv4_sap_verify()
/illumos-gate/usr/src/cmd/dlutil/
H A Ddlsend.c67 uint_t bind_sap; in main() local
121 if ((ret = dlpi_bind(dh, dlsend_sap, &bind_sap)) != DLPI_SUCCESS) { in main()
127 if (bind_sap != dlsend_sap) { in main()
129 "0x%x\n", dlsend_sap, bind_sap); in main()
H A Ddlrecv.c138 uint_t bind_sap; in main() local
180 if ((ret = dlpi_bind(dh, dlrecv_sap, &bind_sap)) != DLPI_SUCCESS) { in main()
186 if (bind_sap != dlrecv_sap) { in main()
188 "0x%x", dlrecv_sap, bind_sap); in main()
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_client.c4389 mac_sap_verify(mac_handle_t mh, uint32_t sap, uint32_t *bind_sap) in mac_sap_verify() argument
4393 return (mip->mi_type->mt_ops.mtops_sap_verify(sap, bind_sap, in mac_sap_verify()