IBM 10 SP1 EAL4 Server User Manual


 
6.8.1.4 Kernel subsystem networking
This section lists external interfaces, internal interfaces and data structures of the networking subsystem.
6.8.1.4.1 External interfaces (system calls)
TSFI system calls
Non-TSFI system calls
System calls are listed in the Functional Specification mapping table.
6.8.1.4.2 Internal interfaces
Sockets are implemented within the inode structure as specific types of inodes. inode.u, in the case of an
inode for a socket, points to a structure of type socket. This structure contains a pointer to the proto_ops
struct, in which the following methods of the socket are included:
release listen
bind shutdown
connect setsockopt
socketpair getsockopt
accept sendmsg
getname recvmsg
poll mmap
ioctl sendpage
The socket system call creates the inode. The system calls, such as bind, connect, poll, listen,
setsockopt, getsockopt, ioctl, and accept, are directly implemented by the methods registered
for the socket.
read and write, as well as send, sendmsg, sendto and recv, recvfrom, and recvmsg are
implemented by the methods registered for sendmsg and recvmsg. Close is implemented by the methods
registered for shutdown and release, and getsockname is implemented by the method registered for
getname. Please note that send is an alias for sendmsg, and recv is an alias for recvfrom.
6.8.1.4.3 Data Structures
socket include/linux/net.h
proto_ops include/linux/net.h
6.8.1.5 Kernel subsystem memory management
This section lists the external interfaces, internal interfaces and data structures of the memory management
subsystem.
6.8.1.5.1 External interfaces (system calls)
TSFI system calls
Non-TSFI system calls
227