Deleted Added
full compact
uipc_mbuf2.c (72356) uipc_mbuf2.c (76166)
1/* $FreeBSD: head/sys/kern/uipc_mbuf2.c 72356 2001-02-11 05:02:06Z bmilekic $ */
1/* $FreeBSD: head/sys/kern/uipc_mbuf2.c 76166 2001-05-01 08:13:21Z markm $ */
2/* $KAME: uipc_mbuf2.c,v 1.15 2000/02/22 14:01:37 itojun Exp $ */
3/* $NetBSD: uipc_mbuf.c,v 1.40 1999/04/01 00:23:25 thorpej Exp $ */
4
5/*
6 * Copyright (C) 1999 WIDE Project.
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without

--- 55 unchanged lines hidden (view full) ---

65 *
66 * @(#)uipc_mbuf.c 8.4 (Berkeley) 2/14/95
67 */
68
69/*#define PULLDOWN_DEBUG*/
70
71#include <sys/param.h>
72#include <sys/systm.h>
2/* $KAME: uipc_mbuf2.c,v 1.15 2000/02/22 14:01:37 itojun Exp $ */
3/* $NetBSD: uipc_mbuf.c,v 1.40 1999/04/01 00:23:25 thorpej Exp $ */
4
5/*
6 * Copyright (C) 1999 WIDE Project.
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without

--- 55 unchanged lines hidden (view full) ---

65 *
66 * @(#)uipc_mbuf.c 8.4 (Berkeley) 2/14/95
67 */
68
69/*#define PULLDOWN_DEBUG*/
70
71#include <sys/param.h>
72#include <sys/systm.h>
73#include <sys/lock.h>
73#include <sys/malloc.h>
74#include <sys/mbuf.h>
74#include <sys/malloc.h>
75#include <sys/mbuf.h>
76#include <sys/mutex.h>
75
76/*
77 * ensure that [off, off + len) is contiguous on the mbuf chain "m".
78 * packet chain before "off" is kept untouched.
79 * if offp == NULL, the target will start at <retval, 0> on resulting chain.
80 * if offp != NULL, the target will start at <retval, *offp> on resulting chain.
81 *
82 * on error return (NULL return value), original "m" will be freed.

--- 257 unchanged lines hidden ---
77
78/*
79 * ensure that [off, off + len) is contiguous on the mbuf chain "m".
80 * packet chain before "off" is kept untouched.
81 * if offp == NULL, the target will start at <retval, 0> on resulting chain.
82 * if offp != NULL, the target will start at <retval, *offp> on resulting chain.
83 *
84 * on error return (NULL return value), original "m" will be freed.

--- 257 unchanged lines hidden ---