void bootp_input(struct mbuf *m) { struct bootp_t *bp = mtod(m, struct bootp_t *); if (bp->bp_op == BOOTP_REQUEST) { bootp_reply(bp); } }
void bootp_input(struct mbuf *m) { struct bootp_t *bp = (struct bootp_t *)m->m_data; if (bp->bp_op == BOOTP_REQUEST) { bootp_reply(bp); } }