| version 1.94, 2002/06/09 16:33:45 |
version 1.95, 2002/06/30 22:40:37 |
| Line 262 udp_input(m, va_alist) |
|
| Line 262 udp_input(m, va_alist) |
|
| return; |
return; |
| } |
} |
| #endif |
#endif |
| |
KASSERT(UDP_HDR_ALIGNED_P(uh)); |
| |
|
| /* destination port of 0 is illegal, based on RFC768. */ |
/* destination port of 0 is illegal, based on RFC768. */ |
| if (uh->uh_dport == 0) |
if (uh->uh_dport == 0) |
| Line 418 udp6_input(mp, offp, proto) |
|
| Line 419 udp6_input(mp, offp, proto) |
|
| return IPPROTO_DONE; |
return IPPROTO_DONE; |
| } |
} |
| #endif |
#endif |
| |
KASSERT(UDP_HDR_ALIGNED_P(uh)); |
| ulen = ntohs((u_short)uh->uh_ulen); |
ulen = ntohs((u_short)uh->uh_ulen); |
| /* |
/* |
| * RFC2675 section 4: jumbograms will have 0 in the UDP header field, |
* RFC2675 section 4: jumbograms will have 0 in the UDP header field, |