Design of Raw Socket for Multi-Process Micro-Kernel Embedded OS on ARM

Article Preview

Abstract:

This paper describes the design and implementation of raw socket for multi-process micro-kernel embedded operating system on ARM, including overview of network socket, key techniques of implementing raw socket, such as socket creation, socket accessing via message passing, and socket closing, etc. At the final, the paper provides a shell command named ping as an example to show the effect, which uses the raw socket to implement the functionalities of sending echo requirement and receiving echo reply of ICMP. Based on the foundation described in this paper, datagram socket and stream socket can be implemented further.

You might also be interested in these eBooks

Info:

Periodical:

Pages:

941-944

Citation:

Online since:

September 2013

Authors:

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2013 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

* - Corresponding Author

[1] W. R. Stevens, TCP/IP illustrated, Volume 1: the protocols, Addison-Wesley (1994).

Google Scholar

[2] G. R. Wright, W. R. Stevens, TCP/IP Illustrated, Volume 2: The Implementation, Addison-Wesley (1995).

Google Scholar

[3] A. S. Tanenbaum. Computer Networks, Fourth Edition, Prentice Hall, inc. (2008).

Google Scholar

[4] T. Noergaard, Embedded Systems Architecture: A Comprehensive Guide for Engineers and Programmers, Elsevier Inc. (2005).

Google Scholar

[5] A. S. Tanenbaum and A. S. Wookhull, Operating Systems: Design and Implementation, 3E, Prentice Hall, Inc. (2008).

Google Scholar

[6] A. N. Sloss, D. Symes and C. Wright, ARM System Developer's Guide: Designing and Optimizing System Software, Elsevier Inc. (2004).

Google Scholar

[7] B. Qu and Z. Z. Wu, Design of Mini Multi-Process Micro-Kernel Embedded OS on ARM, Proceedings of the 2nd International Symposium on Computer, Communication, Control and Automation (2013) pp.295-298.

DOI: 10.2991/isccca.2013.72

Google Scholar

[8] R. M. Stallman and the GCC Developer Community, Using the GNU Compiler Collection (2002) (http: /gcc. gnu. org/onlinedocs/gcc. pdf).

DOI: 10.1016/b978-0-12-803277-0.00016-3

Google Scholar