Lines Matching full:sizeof
165 while (hello_len >= sizeof(struct olsr_lq_neighbor)) {
175 msg_data += sizeof(struct olsr_lq_neighbor);
176 hello_len -= sizeof(struct olsr_lq_neighbor);
191 while (hello_len >= sizeof(struct in_addr)) {
198 msg_data += sizeof(struct in_addr);
199 hello_len -= sizeof(struct in_addr);
223 if (length < sizeof(struct olsr_common)) {
227 if (!TTEST2(*tptr, sizeof(struct olsr_common))) {
238 tptr += sizeof(struct olsr_common);
249 if (!TTEST2(*tptr, sizeof(struct olsr_msg)))
272 msg_tlen = msg_len - sizeof(struct olsr_msg);
273 msg_data = tptr + sizeof(struct olsr_msg);
278 if (!TTEST2(*msg_data, sizeof(struct olsr_hello)))
284 msg_data += sizeof(struct olsr_hello);
285 msg_tlen -= sizeof(struct olsr_hello);
287 while (msg_tlen >= sizeof(struct olsr_hello_link)) {
292 if (!TTEST2(*msg_data, sizeof(struct olsr_hello_link)))
306 msg_data += sizeof(struct olsr_hello_link);
307 msg_tlen -= sizeof(struct olsr_hello_link);
308 hello_len -= sizeof(struct olsr_hello_link);
323 if (!TTEST2(*msg_data, sizeof(struct olsr_tc)))
329 msg_data += sizeof(struct olsr_tc);
330 msg_tlen -= sizeof(struct olsr_tc);
340 if (!TTEST2(*msg_data, sizeof(struct in_addr)))
343 while (msg_tlen >= sizeof(struct in_addr)) {
345 msg_data += sizeof(struct in_addr);
346 msg_tlen -= sizeof(struct in_addr);
353 while (msg_tlen >= sizeof(struct olsr_hna)) {
354 if (!TTEST2(*msg_data, sizeof(struct olsr_hna)))
366 msg_data += sizeof(struct olsr_hna);
367 msg_tlen -= sizeof(struct olsr_hna);