gen_ospf_hdr
if (gen_ospf_hdr(buf, nbr->iface, PACKET_TYPE_DD))
if (gen_ospf_hdr(buf, iface, PACKET_TYPE_HELLO))
if (gen_ospf_hdr(buf, iface, PACKET_TYPE_LS_ACK)) {
if (gen_ospf_hdr(buf, nbr->iface, PACKET_TYPE_LS_REQUEST))
if (gen_ospf_hdr(buf, iface, PACKET_TYPE_LS_UPDATE))
int gen_ospf_hdr(struct ibuf *, struct iface *, u_int8_t);
if (gen_ospf_hdr(buf, nbr->iface, PACKET_TYPE_DD))
if (gen_ospf_hdr(buf, iface, PACKET_TYPE_HELLO))
if (gen_ospf_hdr(buf, iface, PACKET_TYPE_LS_ACK)) {
if (gen_ospf_hdr(buf, nbr->iface, PACKET_TYPE_LS_REQUEST))
if (gen_ospf_hdr(buf, iface, PACKET_TYPE_LS_UPDATE))
int gen_ospf_hdr(struct ibuf *, struct iface *, u_int8_t);