ddp_pcb.c (30174) | ddp_pcb.c (33181) |
---|---|
1/* 2 * Copyright (c) 1990,1994 Regents of The University of Michigan. 3 * All Rights Reserved. See COPYRIGHT. 4 */ 5 6#include <sys/param.h> 7#include <sys/systm.h> 8#include <sys/proc.h> --- 16 unchanged lines hidden (view full) --- 25 struct proc *p); 26static int at_pcbconnect(struct ddpcb *ddp, struct sockaddr *addr, 27 struct proc *p); 28static void at_pcbdetach(struct socket *so, struct ddpcb *ddp); 29static int at_pcballoc(struct socket *so); 30 31struct ddpcb *ddp_ports[ ATPORT_LAST ]; 32struct ddpcb *ddpcb = NULL; | 1/* 2 * Copyright (c) 1990,1994 Regents of The University of Michigan. 3 * All Rights Reserved. See COPYRIGHT. 4 */ 5 6#include <sys/param.h> 7#include <sys/systm.h> 8#include <sys/proc.h> --- 16 unchanged lines hidden (view full) --- 25 struct proc *p); 26static int at_pcbconnect(struct ddpcb *ddp, struct sockaddr *addr, 27 struct proc *p); 28static void at_pcbdetach(struct socket *so, struct ddpcb *ddp); 29static int at_pcballoc(struct socket *so); 30 31struct ddpcb *ddp_ports[ ATPORT_LAST ]; 32struct ddpcb *ddpcb = NULL; |
33u_long ddp_sendspace = DDP_MAXSZ; /* Max ddp size + 1 (ddp_type) */ 34u_long ddp_recvspace = 10 * ( 587 + sizeof( struct sockaddr_at )); | 33static u_long ddp_sendspace = DDP_MAXSZ; /* Max ddp size + 1 (ddp_type) */ 34static u_long ddp_recvspace = 10 * ( 587 + sizeof( struct sockaddr_at )); |
35 36 37static int 38ddp_attach(struct socket *so, int proto, struct proc *p) 39{ 40 struct ddpcb *ddp; 41 int error = 0; 42 int s; --- 549 unchanged lines hidden --- | 35 36 37static int 38ddp_attach(struct socket *so, int proto, struct proc *p) 39{ 40 struct ddpcb *ddp; 41 int error = 0; 42 int s; --- 549 unchanged lines hidden --- |