physical.c (38f1b189cd839bd8aa122ae06cc084810ca1e395) physical.c (a7dc31283a053a6c0444813d1432fa83e6ccba9f)
1/*
2 * Written by Eivind Eklund <eivind@yes.no>
3 * for Yes Interactive
4 *
5 * Copyright (C) 1998, Yes Interactive. All rights reserved.
6 *
7 * Redistribution and use in any form is permitted. Redistribution in
8 * source form should include the above copyright and this set of

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

97#include "tcp.h"
98#include "udp.h"
99#include "exec.h"
100#include "tty.h"
101#ifndef NONETGRAPH
102#include "ether.h"
103#include "netgraph.h"
104#endif
1/*
2 * Written by Eivind Eklund <eivind@yes.no>
3 * for Yes Interactive
4 *
5 * Copyright (C) 1998, Yes Interactive. All rights reserved.
6 *
7 * Redistribution and use in any form is permitted. Redistribution in
8 * source form should include the above copyright and this set of

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

97#include "tcp.h"
98#include "udp.h"
99#include "exec.h"
100#include "tty.h"
101#ifndef NONETGRAPH
102#include "ether.h"
103#include "netgraph.h"
104#endif
105#ifndef NOATM
106#include "atm.h"
107#endif
108#include "tcpmss.h"
109
110static int physical_DescriptorWrite(struct fdescriptor *, struct bundle *,
111 const fd_set *);
112
113static unsigned
114physical_DeviceSize(void)
115{

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

128 * This must come before ``udp'' so that the probe routine is
129 * able to identify it as a more specific type of SOCK_DGRAM.
130 */
131 { ether_Create, ether_iov2device, ether_DeviceSize },
132#ifdef EXPERIMENTAL_NETGRAPH
133 { ng_Create, ng_iov2device, ng_DeviceSize },
134#endif
135#endif
105#include "tcpmss.h"
106
107static int physical_DescriptorWrite(struct fdescriptor *, struct bundle *,
108 const fd_set *);
109
110static unsigned
111physical_DeviceSize(void)
112{

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

125 * This must come before ``udp'' so that the probe routine is
126 * able to identify it as a more specific type of SOCK_DGRAM.
127 */
128 { ether_Create, ether_iov2device, ether_DeviceSize },
129#ifdef EXPERIMENTAL_NETGRAPH
130 { ng_Create, ng_iov2device, ng_DeviceSize },
131#endif
132#endif
136#ifndef NOATM
137 /* Ditto for ATM devices */
138 { atm_Create, atm_iov2device, atm_DeviceSize },
139#endif
140 { tcp_Create, tcp_iov2device, tcp_DeviceSize },
141 { udp_Create, udp_iov2device, udp_DeviceSize },
142 { exec_Create, exec_iov2device, exec_DeviceSize }
143};
144
145#define NDEVICES (sizeof devices / sizeof devices[0])
146
147static int

--- 993 unchanged lines hidden ---
133 { tcp_Create, tcp_iov2device, tcp_DeviceSize },
134 { udp_Create, udp_iov2device, udp_DeviceSize },
135 { exec_Create, exec_iov2device, exec_DeviceSize }
136};
137
138#define NDEVICES (sizeof devices / sizeof devices[0])
139
140static int

--- 993 unchanged lines hidden ---