ddp_usrreq.c (97658) | ddp_usrreq.c (109623) |
---|---|
1/* 2 * Copyright (c) 1990,1994 Regents of The University of Michigan. 3 * All Rights Reserved. See COPYRIGHT. 4 * | 1/* 2 * Copyright (c) 1990,1994 Regents of The University of Michigan. 3 * All Rights Reserved. See COPYRIGHT. 4 * |
5 * $FreeBSD: head/sys/netatalk/ddp_usrreq.c 97658 2002-05-31 11:52:35Z tanimura $ | 5 * $FreeBSD: head/sys/netatalk/ddp_usrreq.c 109623 2003-01-21 08:56:16Z alfred $ |
6 */ 7 8#include <sys/param.h> 9#include <sys/systm.h> 10#include <sys/malloc.h> 11#include <sys/mbuf.h> 12#include <sys/socket.h> 13#include <sys/socketvar.h> --- 401 unchanged lines hidden (view full) --- 415 ddp->ddp_fsat.sat_port = ATADDR_ANYPORT; 416} 417 418static int 419at_pcballoc( struct socket *so ) 420{ 421 struct ddpcb *ddp; 422 | 6 */ 7 8#include <sys/param.h> 9#include <sys/systm.h> 10#include <sys/malloc.h> 11#include <sys/mbuf.h> 12#include <sys/socket.h> 13#include <sys/socketvar.h> --- 401 unchanged lines hidden (view full) --- 415 ddp->ddp_fsat.sat_port = ATADDR_ANYPORT; 416} 417 418static int 419at_pcballoc( struct socket *so ) 420{ 421 struct ddpcb *ddp; 422 |
423 MALLOC(ddp, struct ddpcb *, sizeof *ddp, M_PCB, M_WAITOK | M_ZERO); | 423 MALLOC(ddp, struct ddpcb *, sizeof *ddp, M_PCB, M_ZERO); |
424 ddp->ddp_lsat.sat_port = ATADDR_ANYPORT; 425 426 ddp->ddp_next = ddpcb; 427 ddp->ddp_prev = NULL; 428 ddp->ddp_pprev = NULL; 429 ddp->ddp_pnext = NULL; 430 if (ddpcb) { 431 ddpcb->ddp_prev = ddp; --- 159 unchanged lines hidden --- | 424 ddp->ddp_lsat.sat_port = ATADDR_ANYPORT; 425 426 ddp->ddp_next = ddpcb; 427 ddp->ddp_prev = NULL; 428 ddp->ddp_pprev = NULL; 429 ddp->ddp_pnext = NULL; 430 if (ddpcb) { 431 ddpcb->ddp_prev = ddp; --- 159 unchanged lines hidden --- |