ipx_pcb.h (25345) | ipx_pcb.h (25652) |
---|---|
1/* 2 * Copyright (c) 1995, Mike Mitchell 3 * Copyright (c) 1984, 1985, 1986, 1987, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 19 unchanged lines hidden (view full) --- 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)ipx_pcb.h 35 * | 1/* 2 * Copyright (c) 1995, Mike Mitchell 3 * Copyright (c) 1984, 1985, 1986, 1987, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 19 unchanged lines hidden (view full) --- 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)ipx_pcb.h 35 * |
36 * $Id: ipx_pcb.h,v 1.8 1997/02/22 09:41:56 peter Exp $ | 36 * $Id: ipx_pcb.h,v 1.9 1997/05/01 06:21:29 jhay Exp $ |
37 */ 38 39#ifndef _NETIPX_IPX_PCB_H_ 40#define _NETIPX_IPX_PCB_H_ 41 42/* 43 * IPX protocol interface control block. 44 */ --- 10 unchanged lines hidden (view full) --- 55 long ipxp_notify_param; /* extra info passed via ipx_pcbnotify*/ 56 short ipxp_flags; 57 u_char ipxp_dpt; /* default packet type for ipx_output */ 58 u_char ipxp_rpt; /* last received packet type by ipx_input() */ 59}; 60 61/* possible flags */ 62 | 37 */ 38 39#ifndef _NETIPX_IPX_PCB_H_ 40#define _NETIPX_IPX_PCB_H_ 41 42/* 43 * IPX protocol interface control block. 44 */ --- 10 unchanged lines hidden (view full) --- 55 long ipxp_notify_param; /* extra info passed via ipx_pcbnotify*/ 56 short ipxp_flags; 57 u_char ipxp_dpt; /* default packet type for ipx_output */ 58 u_char ipxp_rpt; /* last received packet type by ipx_input() */ 59}; 60 61/* possible flags */ 62 |
63#define IPXP_IN_ABORT 0x1 /* calling abort through socket */ 64#define IPXP_RAWIN 0x2 /* show headers on input */ 65#define IPXP_RAWOUT 0x4 /* show header on output */ 66#define IPXP_ALL_PACKETS 0x8 /* Turn off higher proto processing */ | 63#define IPXP_IN_ABORT 0x1 /* calling abort through socket */ 64#define IPXP_RAWIN 0x2 /* show headers on input */ 65#define IPXP_RAWOUT 0x4 /* show header on output */ 66#define IPXP_ALL_PACKETS 0x8 /* Turn off higher proto processing */ |
67 | 67 |
68#define IPX_WILDCARD 1 | 68#define IPX_WILDCARD 1 |
69 70#define ipxp_lport ipxp_laddr.x_port 71#define ipxp_fport ipxp_faddr.x_port 72 73#define sotoipxpcb(so) ((struct ipxpcb *)((so)->so_pcb)) 74 75/* 76 * Nominal space allocated to a IPX socket. --- 13 unchanged lines hidden (view full) --- 90void ipx_pcbdetach __P((struct ipxpcb *ipxp)); 91void ipx_pcbdisconnect __P((struct ipxpcb *ipxp)); 92struct ipxpcb * 93 ipx_pcblookup __P((struct ipx_addr *faddr, int lport, int wildp)); 94void ipx_pcbnotify __P((struct ipx_addr *dst, int errno, 95 void (*notify)(struct ipxpcb *), long param)); 96void ipx_setpeeraddr __P((struct ipxpcb *ipxp, struct mbuf *nam)); 97void ipx_setsockaddr __P((struct ipxpcb *ipxp, struct mbuf *nam)); | 69 70#define ipxp_lport ipxp_laddr.x_port 71#define ipxp_fport ipxp_faddr.x_port 72 73#define sotoipxpcb(so) ((struct ipxpcb *)((so)->so_pcb)) 74 75/* 76 * Nominal space allocated to a IPX socket. --- 13 unchanged lines hidden (view full) --- 90void ipx_pcbdetach __P((struct ipxpcb *ipxp)); 91void ipx_pcbdisconnect __P((struct ipxpcb *ipxp)); 92struct ipxpcb * 93 ipx_pcblookup __P((struct ipx_addr *faddr, int lport, int wildp)); 94void ipx_pcbnotify __P((struct ipx_addr *dst, int errno, 95 void (*notify)(struct ipxpcb *), long param)); 96void ipx_setpeeraddr __P((struct ipxpcb *ipxp, struct mbuf *nam)); 97void ipx_setsockaddr __P((struct ipxpcb *ipxp, struct mbuf *nam)); |
98#endif | 98#endif /* KERNEL */ |
99 | 99 |
100#endif /* !_NETIPX_IPX_PCB_H_ */ | 100#endif /* _NETIPX_IPX_PCB_H_ */ |