#include "mac.h"
Go to the source code of this file.
Defines | |
#define | HW_POLYNOMIAL_CCITT 0x1021 |
#define | HW_POLYNOMIAL_IBM 0x8005 |
#define | HW_POLYNOMIAL_DECT 0x0589 |
Functions | |
void | rtu_hash_set_poly (uint16_t poly) |
uint16_t | rtu_hash (uint8_t mac[ETH_ALEN], uint8_t fid) |
#define HW_POLYNOMIAL_CCITT 0x1021 |
#define HW_POLYNOMIAL_DECT 0x0589 |
#define HW_POLYNOMIAL_IBM 0x8005 |
uint16_t rtu_hash | ( | uint8_t | mac[ETH_ALEN], |
uint8_t | fid | ||
) |
void rtu_hash_set_poly | ( | uint16_t | poly ) |