What is checksum offloading
From http://www.wireshark.org/docs/wsug_html_chunked/ChAdvChecksums.html
The Checksum calculation might be done by the Network Driver, protocol driver or even in hardware.
For example: the Ethernet transmitting
Reprinted from: http://blog.csdn.net/ritterliu/article/details/6686616
My machine is Windows XP + ubuntu10.10. I used to install Ubuntu for fun. I didn't plan to use it for a long time. I only allocated 10 Gb of space for it. After some time, I
In Linux Command Line Mode, RM completely deletes the file, which is risky.
Solution 1:
Installing the trash-cli tool is actually the command line mode of the recycle bin:
Sudo apt-Get install trash-cli
Solution 2:
Add the alias "RM" to the
Linux hard disk partition Basics
What are hard disk partitions and what are used for partitioning?
Partition is the "section" of the hard disk ". Windows partitions have their own drive letters (C:, D:, and so on), which look like an independent
Linux has always been impressed by the server level. Although some people use it as a desktop or a mobile phone, it is a minority, almost no one has ever put it on the backbone network as a router, even if it is the access layer, almost no one uses
Document directory
When Sam looked at 2.4kernel, he often looked at list. But now he hasn't looked at kernel for a long time, didn't write programs, and he has forgotten a lot. Today, let's take a look and record it.
Author: gzshun. Original Works. Reprinted, please indicate the source!
In Embedded Linux, hard disk formatting is often involved. fdisk is a commonly used tool, which is powerful and implements fdisk in busybox. When the fdisk implemented by busybox
Linux programming-MAKEFILE file
Today I want to talk about this MAKEFILE file. makefile? I did not get this stuff on the Windows platform. In fact, there are also some, but we are not in touch with it.
Makefile. What is it? What is the purpose?
/**************************************** Author: Li Yannan* Time: 2006-02 2* Function: detects the local network.****************************************/
# Include # Include # Include # Include # Include # Include # Include # Include # Include #
My system is Hongqi desktop 5.0Bluetooth adapter: ISSC chip, USB interface (there are other brands on the market, most of which are OK)Bluetooth mobile phone: suo ait628 (my mobile phone is from Moto a732)1. Load the Bluetooth adapterAfter the USB
In addition to the ability to read and write devices, most drivers also need the ability to control hardware.
1. In user space, useIOCTL system calls to control devicesThe prototype is as follows:
Int IOCTL (int fd, unsigned long cmd ,...); /* FD:
In the previous article, we implemented a readn function to read fixed bytes of data to avoid the problem of sticking packets. If the length of each field in the application layer protocol is fixed, it is very convenient to use readn for reading.
As we have said before, the sender can send data in one K and one K, while the application at the receiver can extract data in two K and two K, of course, it is also possible to extract 3 K or 6 K data at a time, or extract only a few bytes of data
1. open the file kernel data structure
1. A process opens two files
File status flag: read, write, append, sync, non-blocking, etc.
2. A process opens the same file twice
3. Two processes open the same file
Example program:
C ++ code
1. Exec replacement process image
On Process Creation, Unix adopts a unique method, which separates Process Creation from loading a new process image. The advantage is that there is more room to manage the two operations. After we create a process,
If you are free these days, simply sort out the PCI items. For PCI, the "PCI things" of fudan_abc hero is the best. Here we will make some preparations based on some work notes and take a look at the general framework for memo.
0, Background
1. PCI
[*] Enable loadable module support --->DozenTo enable the support for the loadable module, If you enable it, you must use "makeModules_install "Install the kernel module in/lib/modules/to enable your kernel support module. What is the module? The
Linux has a set of rules to name every shared library in the system. It specifies that the file naming rules of the shared library must be as follows:
Libname. So. x. y. Z
The prefix "lib" is used at the beginning, the Library name is in the
1. Check that DHCP is selected when the Linux kernel compilation is generated.Networking --->Networking SupportNetworking options --->PACKET socket // Add. Configure config_packet[*] IP: DHCP support // Add[*] Network packet filtering (replaces
Read () function
The READ function reads data from open devices or files.
#include
ssize_t read(int fd, void *buf, size_t count);
Returned value: the number of bytes read successfully. If an error occurs,-1 is returned and errno is set. If
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