ls_req_hdr
struct ls_req_hdr ls_req_hdr;
le != NULL && sizeof(ls_req_hdr) < ibuf_left(buf);
ls_req_hdr.zero = 0;
ls_req_hdr.type = le->le_lsa->type;
ls_req_hdr.ls_id = le->le_lsa->ls_id;
ls_req_hdr.adv_rtr = le->le_lsa->adv_rtr;
if (ibuf_add(buf, &ls_req_hdr, sizeof(ls_req_hdr)))
struct ls_req_hdr req_hdr;
struct ls_req_hdr ls_req_hdr;
ibuf_left(buf) >= sizeof(struct ls_req_hdr) + MD5_DIGEST_LENGTH;
ls_req_hdr.type = htonl(le->le_lsa->type);
ls_req_hdr.ls_id = le->le_lsa->ls_id;
ls_req_hdr.adv_rtr = le->le_lsa->adv_rtr;
if (ibuf_add(buf, &ls_req_hdr, sizeof(ls_req_hdr)))
struct ls_req_hdr req_hdr;