Searched refs:first_byte (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_lpm6.c | 582 get_bitshift(const uint8_t *ip, uint8_t first_byte, uint8_t bytes) in get_bitshift() argument 588 for (i = first_byte; i < (uint32_t)(first_byte + bytes); i++) { in get_bitshift() 609 uint8_t bytes, uint8_t first_byte, uint8_t depth, in simulate_add_step() argument 620 entry_ind = get_bitshift(ip, first_byte, bytes); in simulate_add_step() 623 bits_covered = (uint8_t)((bytes+first_byte-1)*BYTE_SIZE); in simulate_add_step() 662 uint8_t first_byte, uint8_t depth, uint32_t next_hop, in add_step() argument 674 entry_ind = get_bitshift(ip, first_byte, bytes); in add_step() 677 bits_covered = (uint8_t)((bytes+first_byte-1)*BYTE_SIZE); in add_step() 925 uint8_t first_byte, uint32_t *next_hop) in lookup_step() argument 936 tbl8_index = ip[first_byte-1] + in lookup_step() [all …]
|