Searched refs:LLDP_NEIGHBOR_RAW (Results 1 – 3 of 3) sorted by relevance
65 static inline void *LLDP_NEIGHBOR_RAW(const sd_lldp_neighbor *n) { in LLDP_NEIGHBOR_RAW() function70 return ((uint8_t*) LLDP_NEIGHBOR_RAW(n))[n->rindex] >> 1; in LLDP_NEIGHBOR_TLV_TYPE()76 p = (uint8_t*) LLDP_NEIGHBOR_RAW(n) + n->rindex; in LLDP_NEIGHBOR_TLV_LENGTH()81 return ((uint8_t*) LLDP_NEIGHBOR_RAW(n)) + n->rindex + 2; in LLDP_NEIGHBOR_TLV_DATA()
180 memcpy(&h, LLDP_NEIGHBOR_RAW(n), sizeof(h)); in lldp_neighbor_parse()198 p = (const uint8_t*) LLDP_NEIGHBOR_RAW(n) + sizeof(struct ether_header); in lldp_neighbor_parse()361 return memcmp(LLDP_NEIGHBOR_RAW(a), LLDP_NEIGHBOR_RAW(b), a->raw_size) == 0; in lldp_neighbor_equal()385 *ret = LLDP_NEIGHBOR_RAW(n); in sd_lldp_neighbor_get_raw()655 memcpy_safe(LLDP_NEIGHBOR_RAW(n), raw, raw_size); in sd_lldp_neighbor_from_raw()779 *ret = (uint8_t*) LLDP_NEIGHBOR_RAW(n) + n->rindex; in sd_lldp_neighbor_tlv_get_raw()
216 length = recv(fd, LLDP_NEIGHBOR_RAW(n), n->raw_size, MSG_DONTWAIT); in lldp_rx_receive_datagram()