|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.37, 1997/10/14 00:52:54 | version 1.38, 1997/11/16 20:58:18 | ||
|---|---|---|---|
|
|
||
| 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; |