Let's take a look at how traffic control is implemented in the kernel first, when the kernel sends the data, it eventually calls to Dev_queue_xmit,
struct Qdisc *q
if (q->enqueue) {rc = __DEV_XMIT_SKB (SKB, Q, Dev, txq);Goto out;}
If the Q->enqueue
Turn from: http://blog.csdn.net/adcxf/article/details/6386901
Everyone has a different approach to determining whether a file exists. I usually take two approaches: open and access;There are similarities and differences between the two methods, and
This paper mainly introduces the kernel configuration system of Linxu2.6.
If you browse the source directory, you can see that there are a lot of kconfig files and makefile files in the source directory and its subdirectories. What's the effect of
One of the main features of the Linux system is that his network is very powerful. With the increasing popularity of the network, web-based applications will be more and more. In this network era, mastered the Linux network programming technology,
The completion of the process to achieve the data to save, but encountered a large number of problems, originally intended to use SQLite, but due to storage speed and complexity, or with file implementation.
1. Linux open, read, write these are used
In Linux systems, TCP/IP networks are configured with several text files that need to be edited to complete the networking effort. The important network configuration files in the system are:/etc/sysconfig/network/etc/hostname/etc/hosts/etc/services/
Iptables implementation of Port forwarding, port mapping and two-way access is not difficult to configure, see below:
Allow packet forwarding:
#echo 1 >/proc/sys/net/ipv4/ip_forward
Forwarding TCP 8081 to xx.xx.xx.xx:
#iptables-T nat-i
Installed method Reference http://blog.csdn.net/Netown_Ethereal/article/details/22653125
Do MQTT development, record some learning process.
Installation includes:
1. RPM Installation
2, the source code installation
(i) the use of RPM
Two articles on the role of Linux kernel compiler config_modversions.
In general, if you do not select Config_modversions, these symbols are normal strings, and if you select Config_modversions, the symbols are followed by a check string. This is
At present, most Android manufacturers use kernel+ramdisk.img+dt.img to pack into boot.img.
The basic grammar of Device tree
DTS files are mainly composed of: Root-node, Child-node, property, include.
Root-node: Represented by '/', DT's
1, install Apache
First download the latest version of Apache HTTP server to Apache's home page, address http://httpd.apache.org/
This article is written in 2006.4.29,apache version for 2.2.0. If you want to use this version, please click:
Under Linux, you will often need information about which ports the process has opened, and which process the port is open, and here's how to get that information.
Note: "Which ports the process has opened" is similar to the process/thread-gathering
The PIM-DM protocol only needs to receive CACHE-MISS messages from the kernel.
Second, the SPT creation process
1. The Linux kernel protocol stack receives a multicast source S group broadcast and checks for the presence of the multicast item in
Unlike our usual writing program, if it is just a global variable, it can be successfully connected while compiling the kernel, but there is no way to use the variable after the connection.
And the module loading is run-time, it refers to a variable,
Linux Decompression Command Encyclopedia decompression tar bz2 zip tar.gz gz May 25, 2008 Sunday 04:57
Roughly summed up the Linux under the various formats of compression package compression, decompression methods. But some of the
The CP command is used to copy one or more source files or directories to a specified destination file or directory. It can copy a single source file into a specific file with a specified file name or a directory that already exists. The CP command
1 command function (brief description):Used to copy one or more source files or directories to a specified destination file or directory. It can copy a single source file into a specific file with a specified file name or a directory that already
I. Introduction of LVMLVM is shorthand for Logical Volume Manager (Logical Volume management), which is implemented by Heinz Mauelshagen on the Linux 2.4 kernel. LVM sets the partition of one or more hard disks logically, equivalent to a large hard
Lab Environment: Install the Configuration FTP service in redhat6.5 and use a win7 system to access authentication.Theory:FTP connection modeTwo connection modes are supported: Active mode (Port) and passive mode (PASV), both of which are for the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service