Lines Matching defs:hdr
67 struct rtr_header hdr;
72 struct rtr_header hdr;
77 struct rtr_header hdr;
81 struct rtr_header hdr;
87 struct rtr_header hdr;
97 struct rtr_header hdr;
107 struct rtr_header hdr;
114 struct rtr_header hdr;
120 struct rtr_header hdr;
128 struct rtr_header hdr;
429 rtr_reader_callback(struct ibuf *hdr, void *arg, int *fd)
436 if (ibuf_get(hdr, &rh, sizeof(rh)) == -1)
442 rtr_send_error(rs, hdr, CORRUPT_DATA, "%s: too big: %zu bytes",
464 struct ibuf hdr;
470 ibuf_from_ibuf(&hdr, msg);
471 if (ibuf_get(&hdr, &rh, sizeof(rh)) == -1)
588 rs->session_id = ntohs(notify.hdr.session_id);
590 if (rtr_check_session_id(rs, rs->session_id, ¬ify.hdr, pdu) == -1)
619 rs->session_id = ntohs(resp.hdr.session_id);
621 if (rtr_check_session_id(rs, rs->session_id, &resp.hdr, pdu) == -1)
648 if (rtr_check_session_id(rs, 0, &ip4.hdr, pdu) == -1)
713 if (rtr_check_session_id(rs, 0, &ip6.hdr, pdu) == -1)
779 flags = rtr_aspa.hdr.flags;
879 if (rtr_check_session_id(rs, rs->session_id, &eod.hdr, pdu) == -1)
912 if (rtr_check_session_id(rs, rs->session_id, &eod.hdr, pdu) == -1)
960 if (rtr_check_session_id(rs, 0, &reset.hdr, pdu) == -1)