Parent Directory | Revision Log | Patch
revision 1.22 by jani, Fri Feb 21 16:43:46 2003 UTC | revision 1.23 by likewise, Sun Mar 16 22:39:15 2003 UTC | |
---|---|---|
# | Line 171 udp_input(struct pbuf *p, struct netif * | Line 171 udp_input(struct pbuf *p, struct netif * |
171 | ||
172 | iphdr = p->payload; | iphdr = p->payload; |
173 | ||
174 | pbuf_header(p, -(UDP_HLEN + IPH_HL(iphdr) * 4)); | pbuf_header(p, -((s16_t)(UDP_HLEN + IPH_HL(iphdr) * 4))); |
175 | ||
176 | udphdr = (struct udp_hdr *)((u8_t *)p->payload - UDP_HLEN); | udphdr = (struct udp_hdr *)((u8_t *)p->payload - UDP_HLEN); |
177 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |