Parent Directory | Revision Log | Patch
revision 1.6 by bellard, Sun Oct 3 11:44:41 2004 UTC | revision 1.7 by bellard, Sun Jun 5 17:11:42 2005 UTC | |
---|---|---|
# | Line 238 static void bootp_reply(struct bootp_t * | Line 238 static void bootp_reply(struct bootp_t * |
238 | ||
239 | void bootp_input(struct mbuf *m) | void bootp_input(struct mbuf *m) |
240 | { | { |
241 | struct bootp_t *bp = (struct bootp_t *)m->m_data; | struct bootp_t *bp = mtod(m, struct bootp_t *); |
242 | ||
243 | if (bp->bp_op == BOOTP_REQUEST) { | if (bp->bp_op == BOOTP_REQUEST) { |
244 | bootp_reply(bp); | bootp_reply(bp); |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |