Searched refs:packet_buf (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/bxe/ |
H A D | ecore_sp.h | 214 uint32_t packet_buf[2] = {0}; in ECORE_CRC32_LE() local 215 memcpy(((uint8_t *)(&packet_buf[0]))+2, &mac[0], 2); in ECORE_CRC32_LE() 216 memcpy(&packet_buf[1], &mac[2], 4); in ECORE_CRC32_LE() 217 return bswap32(calc_crc32((uint8_t *)packet_buf, 8, seed, 0)); in ECORE_CRC32_LE()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_l2.c | 1600 u32 packet_buf[2] = {0}; in ecore_crc32c_le() local 1602 OSAL_MEMCPY((u8 *)(&packet_buf[0]), &mac[0], 6); in ecore_crc32c_le() 1603 return ecore_calc_crc32c((u8 *)packet_buf, 8, seed); in ecore_crc32c_le()
|