Date: Tue, 8 Apr 2003 07:25:47 -0700 (PDT) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha busdma_machdep.c src/sys/dev/snc dp83932.c src/sys/dev/vx if_vx.c src/sys/ia64/ia64 busdma_machdep.c src/sys/kern kern_mac.c uipc_mbuf.c src/sys/net... Message-ID: <200304081425.h38EPlqS045617@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2003/04/08 07:25:47 PDT FreeBSD src repository Modified files: sys/alpha/alpha busdma_machdep.c sys/dev/snc dp83932.c sys/dev/vx if_vx.c sys/ia64/ia64 busdma_machdep.c sys/kern kern_mac.c uipc_mbuf.c sys/net if_disc.c if_faith.c if_loop.c sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c sys/netgraph ng_base.c ng_iface.c sys/netinet ip_divert.c ip_input.c ip_mroute.c ip_output.c sys/netipsec keysock.c sys/netkey keysock.c sys/netnatm natm.c sys/powerpc/powerpc busdma_machdep.c sys/sparc64/sparc64 bus_machdep.c iommu.c sys/sys mbuf.h Log: Introduce an M_ASSERTPKTHDR() macro which performs the very common task of asserting that an mbuf has a packet header. Use it instead of hand- rolled versions wherever applicable. Submitted by: Hiten Pandya <hiten@unixdaemons.com> Revision Changes Path 1.34 +1 -2 src/sys/alpha/alpha/busdma_machdep.c 1.10 +1 -3 src/sys/dev/snc/dp83932.c 1.43 +2 -5 src/sys/dev/vx/if_vx.c 1.22 +1 -2 src/sys/ia64/ia64/busdma_machdep.c 1.83 +2 -2 src/sys/kern/kern_mac.c 1.113 +3 -4 src/sys/kern/uipc_mbuf.c 1.35 +1 -2 src/sys/net/if_disc.c 1.21 +1 -2 src/sys/net/if_faith.c 1.81 +3 -3 src/sys/net/if_loop.c 1.6 +2 -4 src/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c 1.68 +1 -2 src/sys/netgraph/ng_base.c 1.26 +1 -1 src/sys/netgraph/ng_iface.c 1.74 +1 -1 src/sys/netinet/ip_divert.c 1.235 +1 -2 src/sys/netinet/ip_input.c 1.87 +1 -2 src/sys/netinet/ip_mroute.c 1.186 +1 -1 src/sys/netinet/ip_output.c 1.5 +1 -2 src/sys/netipsec/keysock.c 1.21 +1 -2 src/sys/netkey/keysock.c 1.23 +1 -2 src/sys/netnatm/natm.c 1.12 +1 -2 src/sys/powerpc/powerpc/busdma_machdep.c 1.26 +1 -2 src/sys/sparc64/sparc64/bus_machdep.c 1.23 +1 -2 src/sys/sparc64/sparc64/iommu.c 1.118 +7 -0 src/sys/sys/mbuf.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304081425.h38EPlqS045617>