summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a7abd6b)
(or pass them further down the layers at some future date?)
SCCS-vsn: sys/netns/idp_usrreq.c 6.11
- * Copyright (c) 1982 Regents of the University of California.
+ * Copyright (c) 1984,1985 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
m->m_len = sizeof(long);
m->m_off = MMAXOFF - sizeof(long);
*mtod(m, long *) = ns_pexseq++;
m->m_len = sizeof(long);
m->m_off = MMAXOFF - sizeof(long);
*mtod(m, long *) = ns_pexseq++;
+ break;
+
+ default:
+ error = EINVAL;
= mtod(*value, struct idp *);
nsp->nsp_dpt = idp->idp_pt;
}
= mtod(*value, struct idp *);
nsp->nsp_dpt = idp->idp_pt;
}
case SO_NSIP_ROUTE:
error = nsip_route(*value);
case SO_NSIP_ROUTE:
error = nsip_route(*value);
+ default:
+ error = EINVAL;
}
if (value && *value)
m_freem(*value);
}
if (value && *value)
m_freem(*value);