Index
Numerics
00region.sdf
26
A
address resolution
IP sublayers, for 273
network services, for 226
addresses,
see
Internet addresses; port addresses
AgentX 116
albp
, DHCP lease table parameter
104
alignment, buffer
network interface drivers and 188
anchor, shared-memory 23
ARP
cache size 46
ARP_MAX_ENTRIES
46
arpResolve
( )
88
arpresolve( )
MUX and 186
arpShow
( )
88
arptabShow
( )
88
asyncmap
315
AUTH_UNIX
(RPC)
166
authentication
CHAP 308
NFS 166
PAP 307
B
backplane network heartbeat 25
backplanes
interrupt types 29
processor numbers 22
shared-memory networks, using with 22
bad
(
inet on backplane (b)
)
114
Berkeley Packet Filter (BPF) 20
creating BPF devices 20
device name 20
header length, determining 21
link level frame type, finding 21
numUnits
, setting
20
big-endian numbers 92
BIOCSETF
ioctl
command
21
BIOCSETIF
ioctl
command
21
boot line
example 62
boot parameters
bad
(
inet on backplane (b)
)
114
bootDev
(
boot device
)
112
bootFile
(
file name
)
115
ead
(
inet on ethernet (e)
)
114
flags
(
flags (f)
)
112
gad
(
gateway inet (g)
)
114
had
(
host inet (h)
)
114
network devices, initializing 111-
113
NVRAM and 111-
113
procNum
(
processor number
)
112
unitNum
(
unit number
)
112
bootDev
(
boot device
)
112
bootFile
(
file name
)
115
BOOTP (Bootstrap Protocol) 96
boot parameters
required for initializing 111-
113
returned by 113
configuring 97
database (
bootptab
)
96
public domain file 97
bootptab
database
96
example 97
targets, registering 98
borrowed IP addresses 90
BPF,
see
Berkeley Packet Filter
BPF_HLEN
21
BPF_TYPE
21
bpfDevCreate
( )
20
bpfDrv
( )
20
broadcasting
addresses, configuring 70
multi-homed proxy clients, using 90
proxy ARP, and 83
RIP, using 118
BSD drivers
entry points, implementing 220
porting to MUX 219
BSD sockets,
see
datagram sockets; sockets; stream sockets
BSD43_COMPATIBLE
302
RIP, and 120
BSP
#define
example
191
buffer alignment in network interface drivers 188
buffers
chaining 187
freeing 184
manipulation macros for 257
C
chaining buffers 187
Challenge-Handshake Authentication Protocol (CHAP)
secrets files, specifying 309
using 308
chap_file
315
chap_file
member
309
chap_interval
315
chap_restart
315
checksum, for IP, preventing 48
CIDR (Classless Inter-domain Routing) 63
CL_DESC
tables
254
network memory pool 50
system memory pool 50
Classless Inter-domain Routing,
see
CIDR
clBlk
structures
freeing 257
memory pools, in
built-in network stack 51
user-defined 252
clDescTbl[ ]
50
cluster size, setting 50
clid
, DHCP lease table parameter
104
cluster sizes
valid size values 252
clusters
creating 256
freeing 257
memory pools, in
built-in network stack 50
user-defined 252
sizes, setting
built-in network stack, for 50
user-defined, for 255
storing data in 256
code examples 125
PPP hooks, connecting and disconnecting 310
sockets, using
multicasting (datagram) 131
stream 136
zbuf sockets
display routine 150
TCP server, converting a 153
component description file, example 108
compressed Serial Line IP,
see
CSLIP
configNet.h
ENDs, adding 191
NPT drivers, adding 206
configuration parameters, list of 41
configuring
boot line 43
BOOTP 97
CSLIP 299
DHCP 100-
110
ICMP 45
IP-to-link layer interface 60
network stack 44-
58
PPP 300
proxy ARP 84
resolver (DNS) 177
RIP (Routing Information Protocol) 119
SLIP 298
TCP 45
TCP/IP protocol suite 41
UDP 45
cryptographic package, DES 300
CSLIP (compressed SLIP) 298
see also
SLIP
configuring 299
CSLIP_ALLOW
299
CSLIP_ENABLE
299
D
daemons
routing
routed
76
data link layer 19-
40
see also
drivers; MUX
custom interfaces 40
datagram sockets 125-
135
code examples
client-server communication 125
multicasting 131
defined 124
multicasting 129
datagrams,
see
broadcasting; UDP
datalink-MUX interface 184
debug
313
debugging,
see
troubleshooting
default_route
313
DES cryptographic package 300
DEV_OBJ
structure
286
DHCP 99-
111
see also
BOOTP; Berkeley Packet Filter; UDP; RFC 1541
see online
dhcpcLib
boot parameters
required for initializing 111-
113
returned by 113
IP address, changing target's 100
leases
IP addresses and other parameters 100
lease table parameters 104
DHCP client
applications, using in 110
configuring 101
including 100
DHCP relay agent
configuring 109
host port 109
including 100
message size, maximum 109
network radius 109
target port 109
DHCP server
adding entries to running 105
addresses
storage routine 103
storing 106
configuring 102
host port 103
including 100
leases
lease table configuration 103
standard length 103
storage routine 103
storing 106
message size, maximum 103
network configuration data, storing 106
network radius 103
relay agent table configuration 105
storage hooks
.cdf
file example
108
target port 103
unsupported example 108
DHCP_MAX_HOPS
DHCP server and 103
relay agent and 109
DHCP_SPORT
103
DHCPC_CPORT
101
DHCPC_DEFAULT_LEASE
101
DHCPC_LEASE_NEW
110
DHCPC_MAX_LEASES
101
boot-time lease and 110
DHCPC_MAX_MSGSIZE
101
DHCPC_MIN_LEASE
101
DHCPC_OFFER_TIMEOUT
101
DHCPC_SPORT
101
dhcpcBind
( )
110
dhcpcEventHookAdd
( )
102
dhcpcInit
( )
110
dhcpcLeaseHookAdd( )
110
dhcpcOptionAdd
( )
110
dhcpcOptionGet
( )
111
dhcpcOptionSet
( )
110
dhcpcParamsGet
( )
111
dhcpInformGet( )
111
dhcpLeaseEntryAdd( )
102
dhcpOptionGet( )
111
dhcps
command
108
DHCPS_ADDRESS_HOOK
DHCP server and 103
using 106
DHCPS_CPORT
DHCP server and 103
relay agent and 109
DHCPS_DEFAULT_LEASE
103
DHCPS_LEASE_HOOK
DHCP server and 103
using 106
DHCPS_MAX_MSGSIZE
109
DHCP server and 103
DHCPS_SPORT
109
DHCPS_STORAGE_CLEAR
107
DHCPS_STORAGE_READ
107
DHCPS_STORAGE_START
106
DHCPS_STORAGE_STOP
107
DHCPS_STORAGE_WRITE
107
dhcpsLeaseEntryAdd
( )
105
dhcpsLeaseTbl
structure
103
dhcpsRelayTbl
structure
105
dhcpTargetTbl
structure
109
distance-vector protocols 117
DNS (Domain Name System) 175
debugging 178
domain names 176
IP address, setting 177
name server 175
NIC (Network Information Center) 176
resolver 176
DNS_DEBUG
178
Domain Name System,
see
DNS
dosFs
NFS and 170
driver_debug
313
drivers
see also
BSD drivers; data link layer; Enhanced Network Driver (END); Network Protocol Toolkit (NPT) drivers
CSLIP 298
custom interfaces 40
Ethernet 19
PPP 299-
312
shared-memory network 21
SLIP 298
E
ead
(
inet on ethernet (e)
)
114
assigning addresses and masks 61
boot line, and 61
EAGAIN
muxTkPollReceive
( )
and
282
EIOCGADDR
end
Ioctl( )
, and
204
npt
Ioctl( )
, and
218
EIOCGFBUF
end
Ioctl( )
, and
204
npt
Ioctl( )
, and
218
EIOCGFLAGS
end
Ioctl( )
, and
203
npt
Ioctl( )
, and
218
EIOCGHDRLEN
end
Ioctl( )
, and
204
npt
Ioctl( )
, and
218
EIOCGMIB
NPT drivers, and 217
EIOCGMIB2
end
Ioctl( )
, and
204
npt
Ioctl( )
, and
218
EIOCGMIB2233
npt
Ioctl( )
, and
218
EIOCGNPT
217
EIOCMULTIADD
end
Ioctl( )
, and
204
npt
Ioctl( )
, and
218
EIOCMULTIDEL
end
Ioctl( )
, and
204
npt
Ioctl( )
, and
218
EIOCMULTIGET
end
Ioctl( )
, and
204
npt
Ioctl( )
, and
218
EIOCPOLLSTART
end
Ioctl( )
, and
204
npt
Ioctl( )
, and
218
EIOCPOLLSTOP
end
Ioctl( )
, and
204
npt
Ioctl( )
, and
218
EIOCQUERY
end
Ioctl( )
, and
204
npt
Bind( )
, and
207
npt
Ioctl( )
, and
218
EIOCSADDR
end
Ioctl( )
, and
203
npt
Ioctl( )
, and
218
EIOCSFLAGS
end
Ioctl( )
, and
203
npt
Ioctl( )
, and
218
END (Enhanced Network Driver)
see also
network interface drivers
191
adding to an image 191
address resolution and 186
bind event, response to 193
compared to NPT drivers 184
data structures shared with MUX 194
entry points 184
exported to MUX 195
example 190
generic driver template for 181
implementing 190-
204
ioctl
support
203
launching 192
MUX interface 194
receiving frames 193
servicing interrupts 193
END_BIND_QUERY
207
END_ERR
structure
287
END_ERR_BLOCK
muxTkSend
( )
, and
230
END_ERR_DOWN
error code
287
END_ERR_FLAGS
error code
287
END_ERR_INFO
error code
287
END_ERR_RESET
error code
287
END_ERR_UP
error code
287
END_ERR_WARN
error code
287
END_OBJ
287-
291
allocating and populating 184
BSD drivers, and 220
ENDs, and 194
NPT drivers, and 209
END_QUERY
structure
291
bind calls, responding to 207
npt
Ioctl( )
, and
219
end
AddressForm( )
201
end
AddrGet( )
202
end
Bind( )
185
endDevTbl[ ]
184
ENDs, and 191
example 192
NPT drivers, and 206
endian conversion 92
end
Ioctl( )
203
return values 204
endLib
186
end
Load( )
195
calling 192
example 196
initialization string, defining 192
responsibilities of 196
return values of 196
specifying 191
end
MCastAddrAdd( )
198
end
MCastAddrDel( )
198
end
MCastAddrGet( )
199
end
PacketDataGet( )
202
end
PollReceive( )
200
end
PollSend( )
199
end
Send( )
197
return values of 197
end
Start( )
200
calling 193
end
Stop( )
201
end
UnLoad( )
197
end
Unload( )
memory leaks and 223
ENETDOWN
muxPollReceive( ) and
282
muxPollSend
( )
and
283
ENOTSUP
socket functions and 236
Envoy (SNMP optional product) 116
errCode
287
escape_chars
315
esm
(boot device)
23
Ethernet drivers 19
F
flags
(
flags (f)
)
112
flow control 230
FTP (File Transfer Protocol)
file permissions 161
network devices, creating 163
REST
command
162
user ID, setting 160
ftpdLib
162
ftpLib
162
G
gad
(
gateway inet (g)
)
114
default gateway and 79
gateways
adding 75
UNIX 76
Windows 76
default 75
deleting 80
gather-write
supporting 187
group
167
H
had
(
host inet (h)
)
114
headers
prepending 213
heartbeat, shared-memory 25
hooks
connect and disconnect (PPP) 309
hop count
RIP and 117
specifying in
/etc/gateways
76
host names
DNS, translating with 175
Internet addresses to, assigning 93
hostAdd
( )
additional network interfaces and 67
host name mapping and 93
remote file systems and 167
hostent
structure (DNS)
176
hostGetByAddr
( )
177
hostGetByName
( )
177
hosts.equiv
162
hostShow
( )
93
htonl( )
92
htons( )
92
I
iam
( )
160
ICMP 45
configuration flags 48
configuring 45
ICMP_FLAGS_DFLT
48
if_sm
shared-memory network driver
21
ifAddrSet
( )
61
CIDR and 65
ifBroadcastSet
( )
71
ifconfig
command
65
IFF_MULTICAST
flag
129
ifMaskSet
( )
61
ifShow
( )
88
multiple network drivers, starting 67
ifUnnumberedSet
( )
90
igmpInterfaceDisable( )
74
igmpInterfaceEnable( )
73
igmpLibInit( )
72
igmpMsgQ
71
igmpNameToPort( )
74
igmpRouterLibInit( )
73
igmpRouterLibQuit( )
73
IGMPv2 (Internet Group Management Protocol Version 2) 71
about 46
API 72
including in an image 71
router, multiple interfaces required for 73
tasks 71
VIFs (virtual interfaces or ports) 74
IGMPv2 Routing
(project facility component)
72
INADDR_ALLHOSTS_GROUP
130
INADDR_MAX_LOCAL_GROUP
131
INADDR_UNSPEC_GROUP
130
INCLUDE_BSD_SOCKET
120
INCLUDE_DHCPC
100
INCLUDE_DHCPR
100
INCLUDE_DHCPS
100
INCLUDE_DNS_RESOLVER
177
INCLUDE_FTP
162
INCLUDE_FTP_SERVER
164
INCLUDE_FTPD_SECURITY
164
INCLUDE_ICMP
45
INCLUDE_IGMP
72
INCLUDE_IGMP_ROUTER
72
INCLUDE_MCAST_ROUTING
72
INCLUDE_NET_DRV
163
INCLUDE_NET_SHOW
267
INCLUDE_NET_SYM_TBL
113
INCLUDE_NETWORK
251
INCLUDE_NETWRS_REMLIB
161
INCLUDE_NFS
165
INCLUDE_NFS_MOUNT_ALL
165
INCLUDE_NFS_SERVER
166
INCLUDE_PING
85
INCLUDE_PPP
300
INCLUDE_PPP_CRYPT
300
INCLUDE_PROXY_CLIENT
86
INCLUDE_PROXY_DEFAULT_ADDR
84
INCLUDE_PROXY_SERVER
84
shared memory and 85
INCLUDE_RIP
119
INCLUDE_RLOGIN
173
INCLUDE_RPC
172
INCLUDE_SECOND_SMEND_BOOT
35
INCLUDE_SECOND_SMNET
36
INCLUDE_SLIP
298
INCLUDE_SM_COMMON
36
INCLUDE_SM_NET
36
proxy ARP and 85
INCLUDE_SM_NET_SHOW
36
INCLUDE_SM_SEQ_ADDR
86
proxy ARP, configuring 85
sequential addressing
Tornado 2 32
Tornado 3 31
INCLUDE_SMEND
35
INCLUDE_SNTPC
178
INCLUDE_SNTPS
179
INCLUDE_SOCK_ZBUF
152
INCLUDE_TCP
45
INCLUDE_TELNET
173
INCLUDE_TFTP_CLIENT
171,
172
INCLUDE_TFTP_SERVER
171
INCLUDE_UDP
45
INCLUDE_ZBUF_SOCK
142
inet addresses,
see
Internet addresses
input hooks
disadvantages 20
Internet addresses
assigning
conventions for 66
host names, to 93
network interfaces, to 61
backplane, of 114
booting gateway, of 114
broadcasting 70
class-based 62
classless (CIDR) 63
correcting errors 66
DNS, translating with 175
host, of 114
network address from host address, distinguishing 61
network interfaces, assigning for 65
SLIP connection, local end of 114
target on Ethernet, of 114
ioctl
commands
issuing from a network service 230
multicast table maintenance and 217
muxIoctl
( )
278
reserved range 204
iosDrvInstall
( )
socket functions passed to 248
usr
SockLibInit( )
, and
239
iosFdNew( )
240
IP (Internet Protocol)
addresses
assignment conventions 66
borrowed 90
network interfaces, assigning to 61
binding to the MUX 60
broadcasting 70
checksum, preventing 48
class-based addresses 62
classless addresses (CIDR) 63
configuration flags 48
configuring interface to link layer 60
ead
values
61
packet fragments, time-to-live value 49
packet queue size 49
time-to-live value 49
IP_ADD_MEMBERSHIP
130
IP_DROP_MEMBERSHIP
130
IP_FLAGS_DFLT
48
IP_FRAG_TTL_DFLT
49
IP_MAX_UNITS
multiple drivers and 223
multiple network drivers, using
build time, at 58
run-time, configuring at 67
IP_MULTICAST_IF
130
IP_MULTICAST_LOOP
130
IP_MULTICAST_TTL
130
IP_QLEN_DFLT
49
IP_TTL_DFLT
49
ipAttach
( )
60
multiple network interfaces, attaching 67
muxBind
( )
and
183
ipcp_accept_local
313
ipcp_accept_remote
313
ipcp_max_configure
315
ipcp_max_failure
315
ipcp_max_terminate
315
ipcp_restart
315
ipDetach
( )
60
muxUnbind
( )
and
183
L
lcp_echo_failure
316
lcp_echo_interval
316
lcp_max_configure
316
lcp_max_failure
316
lcp_max_terminate
316
lcp_restart
316
leofs
, NFS exported file system
170
link-level header
muxTkSend
( )
, and
283
npt
Send( )
, and
213
little-endian numbers 92
LL_HDR_INFO
data structure
292
LOAD_FUNC
ENDs, adding 191
example 191
NPT drivers, adding 206
LOAD_STRING
ENDs, adding 192
example 191
NPT drivers, adding 206
local_auth_name
316
location monitors 28
login
313
M
M_ALIGN( )
257
M_BCAST
ENDs, and 194
NPT drivers, and 209
M_CL_CONFIG
structure
265
M_CL_CONFIG
tables
254
M_L2HDR
284
M_LEADINGSPACE( )
257
M_MCAST
ENDs, and 194
NPT drivers, and 209
M_PREPEND( )
257
link-level header allocation 187
M_TRAILINGSPACE( )
258
M2_ID
292
retrieving via
ioctl
218
M2_INTERFACETBL
292
retrieving via
ioctl
218
m2Rip( )
121
mailbox interrupts 28
masks, network
CIDR 63
determining 64
pre-CIDR 62
max_challenge
316
maxl
, DHCP lease table parameter
104
mBlk
structures
freeing 257
member descriptions 292
memory pools, in
built-in network stack 51
user-defined 252
reserved
field
201
mBlkHdr.reserved
field
201
mcastRcv( )
131
mcastSend( )
131
memory leaks, avoiding 223
memory pools
see online
netBufLib
built into network stack
NUM_*
values, setting
53
status information, getting 50
usage, determining 55
initializing 264
user-defined 251-
269
buffer manipulation macros 257
CL_DESC
tables, preparing
254
cluster sizes, valid 255
freeing memory back to pool 257
M_CL_CONFIG
tables, preparing
254
netBufLib
routines
258
organizing 252
setting up 254
storing data in 256
memShow
( )
memory pools, working with 56
MF_IFADDR
muxTkPollSend
( )
and
282
MIB II table, loading the (NPT drivers) 211
mountdInit
( )
170
mounting file systems 166
mountLib
166
mRouteAdd
( )
DNS and 178
example 79
multicasting, usage in 129
static gateways, adding 78
mRouteDelete
( )
80
mru
316
MSG_MBUF
238
usr
SockRecv( )
, and
244
usr
SockRecvFrom( )
, and
244
usr
SockSend( )
, and
245
usr
SockSendto( )
, and
246
mtu
316
MULTI_TABLE
structure
294
multicasting
datagram sockets, using 129
code example 131
groups 130
options 130
RIP, using 118
MUX 14
API 271-
295
binding to IP 60
data copying and 184
datalink interface 184
END interface 194
memory management facilities, alternative 251
NPT driver interface 209
OSI layers, and 181
protocol-MUX interface 183
MUX_MAX_BINDS
8
multiple drivers and 223
MUX_PROTO_OUTPUT
229
bind phase, in 226
END_OBJ
elements, and
289
MUX_PROTO_PROMISC
bind phase, in 226
muxTkReceive
( )
and
283
packet consumption and 229
MUX_PROTO_SNARF
bind phase, in 226
muxTkReceive
( )
and
283
muxAddressForm
( )
275
muxTkPollSend
( )
and
282
muxAddrResFuncAdd
( )
272
multiple network drivers, starting 67
NPT drivers, and 186
muxAddrResFuncDel
( )
274
NPT drivers, and 186
muxAddrResFuncGet
( )
274
NPT drivers, and 186
muxBind
( )
183
deprecation of 230
parameters 275
service functions of 232
muxDevExists
( )
276
muxDevLoad
( )
184
additional network interfaces, loading 67
initialization string, defining 192
parameters 276
muxDevStart
( )
277
multiple network interfaces, initializing 67
muxDevStop
( )
277
muxDevUnload
( )
184
parameters 277
muxError( )
278
muxIoctl
( )
278
muxMCastAddrAdd
( )
278
muxMCastAddrDel
( )
279
muxMCastAddrGet
( )
279
muxReceive( )
184
muxTkBind
( )
183
parameters 280
return values 281
service functions of 231
muxTkDrvCheck
( )
226
parameters 281
muxTkPollReceive
( )
282
muxTkPollSend
( )
282
muxTkReceive
( )
184
calling 283
parameters 283
return values 284
muxTkSend
( )
228
parameters 284
return values 284
muxTxRestart( )
285
muxUnbind
( )
183
parameters 285
N
name server (DNS) 175
NELEMENTS
macro
266
NET FUNCS
table
END functions 195
NET_FUNCS
table
294
filling 184
npt
Load( )
and
211
NPT functions 209
netBufLib
186
see online
netBufLib
replacing 251
netBufLibInit
( )
258
netClBlkFree
( )
258
netClBlkGet
( )
259
netClBlkJoin
( )
259
netClFree
( )
259
netClPoolIdGet
( )
260
netClusterGet
( )
260
netDevCreate
( )
163
netDrv
163
downloading run-time images 163
netJobAdd
protection domains and 193
netJobAdd( )
ENDs, and 193
NPT drivers, and 208
netmask
316
netMblkChainDup
( )
260
netMblkClChainFree
( )
261
netMblkClFree
( )
261
netMblkClGet
( )
262
netMblkClJoin
( )
262
netMblkDup
( )
263
netMblkFree
( )
263
netMblkGet
( )
263
netMblkToBufCopy
( )
264
netPoolDelete
( )
264
netPoolInit
( )
264
calling 267
errno
values
267
using 254
netPoolShow
( )
267
netShowInit
( )
267
netStackDataPoolShow
( )
268
configuring network stack 56
netStackSysPoolShow
( )
268
configuring network stack 56
netstat -r
command (UNIX)
77
netTupleGet
( )
268
using 252
network byte order 92
network interface drivers
see also
END (Enhanced Network Driver); Network Protocol Toolkit (NPT) driver
buffer alignment 188
link-level header allocation, early 187
memory, managing 186
multiple drivers, supporting 222
run-time, at 223
MUX, integrating with 181
scatter-gather, supporting 187
network interfaces
additional, starting at run-time 66
IP address, assigning to 61
IP addresses, fixing assignment errors 66
network masks
class-based 62
classless 63
determining 64
format 62
specifying 61
network packets
consuming 229
Network Protocol Toolkit (NPT) drivers
see also
network interface drivers
adding to an image 206
API 271-
295
bind events, responding to 207
BSD drivers to, porting 219
compared to ENDs 184
END_OBJ
data structure
209
entry points 184
exported to MUX 209
implementing 205-
219
interrupt handling 208
ioctl
support
217
launching 207
MUX interface 209
receiving frames 208
network protocols
see
network services
network services
address resolution 226
binding 226
device control 230
driver type, determining 226
errors, listening for 229
flow control 230
interface initialization 225
ioctl
commands for, defining
278
receiving packets 228
sending packets 228
shutting down an interface 229
socket interface, adding a 234
subroutines for 230
writing a sublayer 225
network show routines
enabling 267
network stack
configuring 44-
58
multiple drivers, supporting 58
router, configuring as a 58
scalability 45
testing connections 56
NFS (Network File System)
authentication 166
client, target as 166
exporting file systems 168
limitations, DOS 170
group IDs, setting 166
including and configuring 165
initializing exportable file systems 169
leofs
170
mounting file systems 166
network devices, creating 167
server facilities 166
server, target as 168
user IDs, setting 166
NFS_CLIENT_NAME
165
NFS_GROUP_ID
167
NFS_USER_ID
167
nfsAuthUnixPrompt
( )
167
nfsAuthUnixSet
( )
167
nfsdInit
( )
170
nfsdLib
166
nfsExport
( )
169
nfsMount
( )
167
nfsMountAll
( )
165
NIC (Network Information Center) 176
no_acc
314
no_all
314
no_asyncmap
314
no_chap
314
no_ip
314
no_mn
314
no_mru
314
no_pap
314
no_pc
314
no_vj
314
no_vjccomp
314
npt
AddressForm( )
no such function 185
npt
AddrGet( )
no such function 186
npt
Bind( )
212
calling 207
return values 212
npt
Ioctl( )
217
npt
Load( )
209
calling 207
entry point of, specifying 206
example 211
initialization string, specifying 206
responsibilities of 211
npt
MCastAddrAdd( )
213
npt
MCastAddrDel( )
214
npt
MCastAddrGet( )
214
npt
PacketDataGet( )
no such function 186
npt
PollReceive
return values 216
npt
PollReceive( )
215
npt
PollSend( )
215
npt
Send( )
213
return values 213
npt
Start( )
216
calling 207
npt
Stop( )
217
npt
UnLoad( )
212
npt
Unload( )
memory leaks and 223
ntohl( )
92
ntohs( )
92
NUM_1024
54
NUM_128
54
NUM_2048
54
NUM_256
54
NUM_512
54
NUM_64
54
NUM_CL_BLKS
54
NUM_NET_MBLKS
54
NUM_SYS_128
55
NUM_SYS_256
55
NUM_SYS_512
55
NUM_SYS_64
54
NUM_SYS_CL_BLKS
55
NUM_SYS_MBLKS
54
O
OPT_DEBUG
313
OPT_DEFAULT_ROUTE
313
OPT_DRIVER_DEBUG
313
OPT_IPCP_ACCEPT_LOCAL
313
OPT_IPCP_ACCEPT_REMOTE
313
OPT_LOGIN
313
OPT_NO_ACC
314
OPT_NO_ALL
314
OPT_NO_ASYNCMAP
314
OPT_NO_CHAP
314
OPT_NO_IP
314
OPT_NO_MN
314
OPT_NO_MRU
314
OPT_NO_PAP
314
OPT_NO_PC
314
OPT_NO_VJ
314
OPT_NO_VJCCOMP
314
OPT_
option
302
OPT_PASSIVE_MODE
314
OPT_PROXY_ARP
314
OPT_REQUIRE_CHAP
option, as 314
using 309
OPT_REQUIRE_PAP
option, as 315
using 308
OPT_SILENT_MODE
315
optional products
Envoy (SNMP) 116
WindNet SNMP 116
optional VxWorks products
VxSim (target simulator) 302
P
packet buffers
freeing 184
packet headers
adjusting the size 187
early allocation 187
packets
consuming 229
pap_file
317
pap_file
member
307
pap_max_authreq
317
pap_passwd
317
pap_restart
317
pap_user_name
317
passive_mode
314
passwd
167
Password Authentication Protocol (PAP)
DES cryptographic package 300
secrets files, specifying 307
using 307
pDhcpcBootCookie
111
ping
utility
network connections, testing 56
restricting ping to directly connected hosts 57
routing, troubleshooting 88
suppressing printed output 57
PING_OPT_DONTROUTE
57
PING_OPT_SILENT
57
Point-to-Point Protocol,
see
PPP
polled-mode
NPT drivers, and 215
port addresses 45
ports
drivers with multiple ports 196
PPP (Point-to-Point Protocol) 299-
312
see also
Challenge-Handshake Authentication Protocol; Password Authentication Protocol; RFC 1332; RFC 1334; RFC 1548
authentication 306
CHAP, using 308
PAP, using 307
configuration options 312
order of precedence 313
configuring 300
debugging 312
DES cryptographic package 300
hooks, connect and disconnect 309
code example 310
limitations 297
links
confirming 305
deleting 305
initializing 304
optional features, selecting 301
build-time, at 301
configuration constants, using 301
options files, using 303
options structures, using 302
run-time, at 302
secrets 306
system image, failing to load 300
troubleshooting 311
authentication 312
links, establishing 311
USENET news group 300
version 2.1.2 300
PPP_CONNECT_DELAY
301
PPP_HOOK_CONNECT
309
PPP_HOOK_DISCONNECT
309
PPP_OPT_DEBUG
option, as 313
using 312
PPP_OPT_DEFAULT_ROUTE
313
PPP_OPT_DRIVER_DEBUG
313
PPP_OPT_IPCP_ACCEPT_LOCAL
313
PPP_OPT_IPCP_ACCEPT_REMOTE
313
PPP_OPT_LOGIN
313
PPP_OPT_NO_ACC
314
PPP_OPT_NO_ALL
314
PPP_OPT_NO_CHAP
314
PPP_OPT_NO_IP
314
PPP_OPT_NO_MN
314
PPP_OPT_NO_MRU
314
PPP_OPT_NO_PAP
314
PPP_OPT_NO_PC
314
PPP_OPT_NO_VJ
314
PPP_OPT_NO_VJCCOM
314
PPP_OPT_NO_VJCCOMP
314
PPP_OPT_PASSIVE_MODE
314
PPP_OPT_PROXYARP
314
PPP_OPT_REQUIRE_CHAP
option, as 314
using 309
PPP_OPT_REQUIRE_PAP
option, as 315
using 308
PPP_OPT_SILENT_MODE
315
PPP_OPTIONS
302
PPP_OPTIONS_FILE
303
PPP_OPTIONS_STRUCT
301
PPP_STR_ASYNCMAP
315
PPP_STR_CHAP_FILE
option, as 315
using 309
PPP_STR_CHAP_INTERVAL
315
PPP_STR_CHAP_RESTART
315
PPP_STR_ESACAPE_CHARS
315
PPP_STR_IPCP_MAX_CONFIGURE
315
PPP_STR_IPCP_MAX_FAILURE
315
PPP_STR_IPCP_MAX_TERMINATE
315
PPP_STR_IPCP_RESTART
315
PPP_STR_LCP_ECHO_FAILURE
316
PPP_STR_LCP_ECHO_INTERVAL
316
PPP_STR_LCP_MAX_CONFIGURE
316
PPP_STR_LCP_MAX_FAILURE
316
PPP_STR_LCP_MAX_TERMINATE
316
PPP_STR_LCP_RESTART
316
PPP_STR_LOCAL_AUTH_NAME
316
PPP_STR_MAX_CHALLENGE
316
PPP_STR_MRU
316
PPP_STR_MTU
316
PPP_STR_NETMASK
316
PPP_STR_PAP_FILE
317
secrets, declaring 307
PPP_STR_PAP_MAX_AUTHREQ
317
PPP_STR_PAP_PASSWD
317
PPP_STR_PAP_RESTART
317
PPP_STR_PAP_USER_NAME
317
PPP_STR_REMOTE_AUTH_NAME
317
PPP_STR_VJ_MAX_SLOTS
317
PPP_TTY
301
pppDelete
( )
305
pppHookAdd
( )
309
pppHookDelete
( )
309
pppInfoGet
( )
305
pppInit
( )
links, initializing 304
PPP options, selecting
options files, using 303
options structures, using 302
pppSecretAdd
( )
306
priority inversion 16
priority, task
relative to
tNetTask
16
procNum
(
processor number
)
112
protection domains 1
BPF, and 20
hooks, using (PPP) 310
netJobAdd( )
calls
receiving frames, END 193
receiving frames, NPT 208
RIP, and 121
SNTP, hook routines, and 180
zbuf sockets 142
socket back end implementation 238
protocols 13
see also individual protocols
CSLIP (compressed SLIP) 298
DHCP 99-
111
distance vector 117
ICMP (Internet Control Message Protocol) 45
IGMP (Internet Group Management Protocol) 46
IP (Internet Protocol) 92
network configuration 95-
116
PPP (Point-to-Point Protocol) 299-
312
proxy ARP 81-
90
RIP (Routing Information Protocol) 117
RPC (Remote Procedure Calls) 172
SLIP (Serial Line Internet Protocol) 298
SNMP (Simple Network Management Protocol) 115
TCP (Transmission Control Protocol) 135-
142
TCP/IP suite 41-
94
TFTP (Trivial File Transfer Protocol) 171
UDP (User Datagram Protocol) 125-
135
proxy ARP 81-
90
see also
RFC 826; RFC 925; RFC 1027
broadcast datagrams and
configuring 84
shared memory 85
data transfers, completing 83
gateway, specifying 85
multi-homed clients, working with 88
network connections, creating 86
single instances, using 82
two instances on single target 83
proxy_arp
314
proxyNetShow
( )
88
proxyPortFwdOff
( )
84
proxyPortFwdOn
( )
84
proxyPortShow
( )
88
R
remote file access 15
see also
FTP; NFS; RSH; TFTP
15
see online
ftpdLib
;
ftpLib
;
nfsDrv
;
remLib
;
tftpdLib
;
tftpLib
FTP, using 162
permissions 161
remote file system
mounting 167
remote login utilities 172
Remote Procedure Calls,
see
RPC
remote_auth_name
317
require_chap
314
require_pap
315
resolver (DNS) 176
see also
RFC 1034; RFC 1035
see online
resolvLib
configuring 177
debugging 178
integration of 177
RESOLVER_DOMAIN
178
RESOLVER_DOMAIN_SERVER
177
resolvGetHostByAddr
( )
177
resolvGetHostByName
( )
177
resolvLib
175
resolvParamsGet
( )
177
resolvParamsSet
( )
177
REST
command
162
RETR
command
160
rhosts
file
162
RIP (Routing Information Protocol) 117
broadcasting 118
configuring 119
m2Rip( )
, with
121
SNMP, with 121
debugging 118
hop count limitation 117
initializing 120
interface exclusion list, creating 122
multicasting 118
protection domains and 121
separate routing domains and 121
subnet broadcasting 118
tables, display internal 118
task priority 121
tracing packets and routing changes 118
versions 118
RIP Authentication Type 121
RIP Expire Time 121
RIP Garbage Time 121
RIP Gateway Flag 120
RIP Multicast Flag 120
RIP Supplier Flag 120
RIP Supply Interval 121
RIP Timer Rate 120
RIP Version Number 120
RIP_AUTH_TYPE
121
RIP_EXPIRE_TIME
121
RIP_GARBAGE_TIME
121
RIP_GATEWAY
120
RIP_MULTICAST
120
RIP_SUPPLIER
120
RIP_SUPPLY_INTERVAL
121
RIP_TIMER_RATE
120
RIP_VERSION
120
ripIfExcludeListAdd
( )
122
ripIfExcludeListDelete
( )
122
ripIfExcludeListShow
( )
122
ripIfReset
( )
122
ripLibInit
( )
120
ripLogLevelBump( )
118
ripRouteShow
( )
118
rlogin
utility
172
see online
rLogLib
rlogin
( )
172
route
command (UNIX)
76
routeAdd
( )
75
routed
daemon
118
configuration 76
routeDelete
( )
75
routeLib
API
74
routeNetAdd
( )
75
router IDs 90
routers,
see
gateways
routeShow
( )
88
adding a gateway, when 78
routing
see also
RIP; routing tables
dynamic 117
gateways
adding 75
deleting 80
multi-homed proxy clients 88
troubleshooting 88
routing tables
see also
RIP; routing
117
see online
routeLib
confirming routes in 77
editing manually 74
inspecting 78
proxy ARP, using 83
unique entries, defining 80
updating, dynamic 117
RPC (Remote Procedure Calls) 172
see online
rpcLib
rpcTaskInit
( )
172
RSH (Remote Shell)
file permissions 161
network devices, creating 163
user ID, setting 160
RSH_STDERR_SETUP_TIMEOUT
161
rshd
161
RTF_CLONING
78
RTF_HOST
77
RTF_UP
78
RTS_CHANGED
119
RTS_EXTERNAL
119
RTS_INTERFACE
119
RTS_INTERNAL
119
RTS_OTHER
119
RTS_PASSIVE
119
RTS_PRIMARY
119
RTS_REMOTE
119
RTS_SUBNET
119
S
-s
"secure" option (TFTP)
171
scatter-gather support 187
buffer alignment, resolving 190
secrets (PPP) 306
configuring 307
secrets files
CHAP, specifying for 309
PAP, specifying for 307
security
PPP 306
security, TFTP 171
semaphores
tNetTask
and
17
Serial Line Internet Protocol,
see
SLIP
service address mapping 7
setsockopt
( )
setting window size 49
shared-memory backplane network
anchor 23
locating on a non-master board 24
specifying in the boot line 24
anchor, initializing 23
configuring 32
driver 21
example configuration 33
heartbeat 25
maintaining 23
interrupts, interprocessor 27
types 29
location
Tornado 2 26
Tornado 3 26
master 23
memory pool 22
object area 26
proxy ARP, and 85
sequential addressing 28
size 26
TAS operation size 27
test-and-set instruction 27
test-and-set type 27
troubleshooting 38
shellParserControl( )
174
siad
, DHCP lease table parameter
104
signals 124
silent_mode
315
Simple Network Management Protocol,
see
SNMP
SLIP (Serial Line Internet Protocol) 298
see also
CSLIP; PPP
configuring 298
setting baud rate 298
specifying device for connection 298
SLIP_BAUDRATE
298
SLIP_MTU
298
SLIP_TTY
298
sm
(boot device)
23
SM_ADRS_SPACE
24
SM_ANCHORS_ADRS
24
SM_INT_ARG
n
28
SM_INT_TYPE
28
SM_MEM_ADRS
26
SM_MEM_SIZE
26
SM_NET_MEM_SIZE
26
SM_OBJ_MEM_SIZE
26
SM_OFF_BOARD
35
proxy ARP and 86
SM_TAS_HARD
27
SM_TAS_SOFT
27
SM_TAS_TYPE
27
smEnd
shared-memory network driver
21
VxMP and 22
smNetShow
( )
proxy ARP, and 86
routing, troubleshooting 88
sample output 30
shared-memory network backplane
starting addresses, finding 30
SNARF
protocols
frame reception and 228
snmk
104
SNMP 115
using without RIP 119
snmpMib2.mib
119
SNTP (Simple Network Time Protocol)
client 178
hook routines, using 180
modes, server 179
protection domains 180
server 179
SNTP_ACTIVE
179
SNTP_PASSIVE
179
SNTP_PORT
179
SNTPC_PORT
179
sntpcTimeGet
( )
178
SNTPS_DSTADDR
179
SNTPS_INTERVAL
179
SNTPS_MODE
179
SNTPS_TIME_HOOK
180
sntpsClockHook( )
180
sntpsClockSet
( )
180
sntpsConfigSet
( )
179
sntpsInit( )
179
SOCK_FUNC
236
socket interface
see also
sockets
adding 234-
249
back end constant 236
functions 236
implementing 238
initialization function 236
SOCK_FUNC
table
236
zbuf support 238
sockets
see also
datagram sockets; socket interface; stream sockets; zbuf sockets
see online
sockLib
;
zbufSockLib
conceptual analogy 136
file descriptors and 124
increasing
NUM_FILES
for
55
option values, retrieving 247
signals, using 124
troubleshooting 124
zbuf sockets, advantages of 153
sockLibAdd( )
237
example 237
SOL_SOCKET
usr
GetSockOpt( )
, and
247
usr
SetSockOpt( )
, and
247
stack
ENDErrorRtn( )
233
stack
ENDRcvRtn( )
233
stack
ENDRestartRtn( )
234
stack
ENDShutdownRtn( )
233
stack
ErrorRtn( )
232
stack
RcvRtn( )
231
datalink-to-MUX interface 184
stack
RestartRtn( )
232
flow control and 230
stack
ShutdownRtn( )
231
responsibilities 229
STOR
command
160
stream sockets 135-
142
client-server communication 136
code example 136
definition of 124
subnet mask
changing for a target address 115
subnets
defining with network masks 64
transparent
proxy ARP and 81-
90
sysBusToLocalAddr( )
proxy ARP, and 86
sysClDescTbl[ ]
50
cluster size, setting 51
sysLocalToBusAddr( )
proxy ARP, and 86
T
TAS operation size 27
tasks
priorities, setting 16
priority inversion 16
semaphores and 17
tNetTask
16
TCP
configuring 45
connection timeout 47
default flags 47
idle timeout value 47
maximum segment size 47
probe limit 48
receive buffer size 47
retransmission threshold 47
round trip interval 47
Scalability 45
send buffer size 47
stream sockets 135-
142
window size 49
zero-copy 142
TCP/IP protocol suite 41-
94
boot line
configuration values 43
components 42
configuring 41
control plane 59
data plane 59
IP-to-link layer interface 60
layers, abstract 58
learning about 11
multiple network cards, using 58
network byte order 92
parameters, compile-time 42
proxy ARP, using 81-
90
router, configuring as a 58
routines, run-time 44
routing tables, editing 74
scalability 45
TCP_CON_TIMEO_DFLT
47
TCP_FLAGS_DFLT
47
TCP_IDLE_TIMEO_DFLT
47
TCP_MAX_PROBE_DFLT
48
TCP_MSS_DFLT
47
TCP_RCV_SIZE_DFLT
47
TCP_REXMT_THLD_DFLT
47
TCP_RND_TRIP_DFLT
47
TCP_SND_SIZE_DFLT
47
zbuf sockets and 142
telnet
173
see online
telnetLib
client support 173
TELNETD_MAX_CLIENTS
173
TELNETD_PARSER_HOOK
173
TELNETD_PORT
173
TELNETD_TASKFLAG
173
telnetdLib
see online
telnetdLib
templateEnd.c
(END drivers)
181
test-and-set type 27
TFTP (Trivial File Transfer Protocol) 171
boot host, on 171
client 172
security (
-s
option)
171
server 171
tftpCopy
( )
172
tftpdLib
171
tftpLib
171
tftpXfer
( )
172
tIGMPtask
71
time-to-live 49
tNetTask
16
default priority 16
netJobAdd( )
and
194
Transmission Control Protocol,
see
TCP
transparent subnets
proxy ARP for 81-
90
troubleshooting
network connections 56
network pool sizes 50
PPP 311
resolver activity 178
routing 88
shared-memory networks 38
sockets 124
txSem
memory leaks and 223
U
UDP
configuration flags 48
configuring 45
datagram sockets 125-
135
receive buffer size 48
scalability 45
send buffer size 48
UDP_FLAGS_DFLT
48
UDP_RCV_SIZE_DFLT
48
UDP_SND_SIZE_DFLT
48
zbuf sockets and 142
UML notation 8
class inheritance 8
class relationships 8
classes 8
interfaces 8
unitNum
(
unit number
)
112
unnumbered interfaces 90
User Datagram Protocol,
see
UDP
USR_MAX_LINK_HDR
187
usr
GetSockOpt( )
247
usrNetDhcprCfg.c
109
usrNetDhcpsCfg.c
103
usrNetInit( )
94
usrPPPInit( )
links, initializing 304
PPP options, selecting
options files, using 303
configuration constants, using 301
target-peer link delay, setting 301
usr
SetSockOpt( )
247
usr
SockAccept( )
241
usr
SockBind( )
241
usr
SockClose( )
248
usr
SockConnect( )
241
usr
SockConnectWithTimeout( )
242
usr
Socket( )
240
usr
SockGetpeername( )
242
usr
SockGetsockname( )
243
usr
SockIoctl( )
249
usr
SockLibInit( )
239
example 239
usr
SockListen( )
243
usr
SockRead( )
248
usr
SockRecv( )
243
usr
SockRecvFrom( )
244
usr
SockRecvMsg( )
245
usr
SockSend( )
245
usr
SockSendMsg( )
246
usr
SockSendto( )
245
usr
SockShutdown( )
246
usr
SockWrite( )
249
usr
SockZbufRtn( )
248
V
vj_max_slots
317
VxMP
smEnd
and
22
VxSim, using (for Solaris) 302
VxWorks optional products
VxSim (target simulator) 302
W
WindNet SNMP 116
Z
zbuf sockets 142-
157
see online
zbufLib
;
zbufSockLib
advantages 153
back ends 238
buffer size issues 142
code examples
display routine 150
TCP server, converting a 153
data structures 143
byte locations 143
creating 145
deleting 145
dividing in two 146
example 148
handling 145
illustrated 144
length, determining 146
offsets 143
segment IDs 143
segments 147
data, inserting 146
example 148
including support for 142
interoperability 142
limitations 152
protection domains 142
removing data 147
segments
byte locations, determining 148
data location, determining 148
length, determining 148
reading 148
sharing 146
sending existing buffers 143
shared buffers, managing 143
socket calls 152
zero-copy TCP 142
ZBUF_BEGIN
144
ZBUF_END
144
ZBUF_SEG
144
zbufCreate
( )
145
zbufCut
( )
147
freeing data buffers 147
zbufDelete
( )
145
zbufDup
( )
146
zbufExtractCopy
( )
146
zbufInsert
( )
146
deleting zbuf IDs 147
zbufInsertBuf
( )
145
zbufInsertCopy
( )
145
zbufLength
( )
146
zbufs
see
zbuf sockets
zbufSegData
( )
148
zbufSegFind
( )
148
zbufSegLength
( )
148
zbufSegNext
( )
148
zbufSegPrev
( )
148
zbufSockBufSend
( )
143
zbufSockBufSendto
( )
143
zbufSockLibInit
( )
152
zbufSockRecv
( )
152
zbufSockRecvfrom
( )
152
zbufSockSend
( )
152
zbufSockSendto
( )
152
zbufSplit
( )
146
zero-copy TCP 142