check to make sure m_get returns non-null in every instance.
[unix-history] / usr / src / sys / netns / idp.h
CommitLineData
8ae0e4b4
KM
1/*
2 * Copyright (c) 1982 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 *
6 * @(#)idp.h 6.2 (Berkeley) %G%
7 */
33270ff5
KS
8
9/*
10 * Definitions for NS(tm) Internet Datagram Protocol
11 */
12struct idp {
13 u_short idp_sum; /* Checksum */
14 u_short idp_len; /* Length, in bytes, including header */
15 u_char idp_tc; /* Transport Crontrol (i.e. hop count) */
16 u_char idp_pt; /* Packet Type (i.e. level 2 protocol) */
17 struct ns_addr idp_dna; /* Destination Network Address */
18 struct ns_addr idp_sna; /* Source Network Address */
19};