Searched refs:cbh (Results 1 – 1 of 1) sorted by relevance
56 static void cb_table_init(struct cb_header *cbh) in cb_table_init() argument58 memset(cbh, 0, sizeof(struct cb_header)); in cb_table_init()59 memcpy(cbh->signature, "LBIO", 4); in cb_table_init()60 cbh->header_bytes = sizeof(struct cb_header); in cb_table_init()73 static u32 cb_table_add_entry(struct cb_header *cbh, struct cb_record *cbr) in cb_table_add_entry() argument75 cbh->table_bytes += cbr->size; in cb_table_add_entry()76 cbh->table_entries++; in cb_table_add_entry()89 static void cb_table_finalize(struct cb_header *cbh) in cb_table_finalize() argument91 struct cb_record *cbr = (struct cb_record *)(cbh + 1); in cb_table_finalize()93 cbh->table_checksum = compute_ip_checksum(cbr, cbh->table_bytes); in cb_table_finalize()[all …]