Return to raw_ip.c CVS log | Up to [cvs.NetBSD.org] / src / sys / netinet |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.36.10.1, 1997/10/14 10:29:34 | version 1.37.2.1, 1997/11/18 01:04:22 | ||
---|---|---|---|
|
|
||
return (EMSGSIZE); | return (EMSGSIZE); | ||
} | } | ||
ip = mtod(m, struct ip *); | ip = mtod(m, struct ip *); | ||
if (m->m_pkthdr.len != ip->ip_len) { | |||
m_freem(m); | |||
return (EINVAL); | |||
} | |||
if (ip->ip_id == 0) | if (ip->ip_id == 0) | ||
ip->ip_id = htons(ip_id++); | ip->ip_id = htons(ip_id++); | ||
opts = NULL; | opts = NULL; |