The above describes the NetFilter mechanism, how to re-build and send a SKB, involving kernel protocol stack programming, rather than what we usually call the user layer socket network programming.
Let's begin by introducing several functions that
Problem:
The source code that compiles the application or LIB in the Linux environment often appears with the following error message:
/usr/bin/ld:cannot find-lxxx
These messages have different results as they compile different types of source code:
Linux driver development must look at the secret core http://tech.chinaunix.net/a2010/0312/860/000000860010_2.shtml
IT168 Technical documentation "before starting
Using SMB protocol mounts is difficult to solve the garbled problem, the use of CIFS is not garbled problem
Linux access to Windows shared folders or shared directories using Samba with other Linux machines1. Windows shares a folder share, opening
1. Basic Concepts
1.1 Address
(1) Logical address: the part of the offset address that is generated by the program in relation to the segment. In the C language pointer, read the value of the pointer variable itself (& operation), which is actually
This is a screenshot of the environment variables that have been configured to complete
Operating Environment: Linux
one. Java Configuration Environment Variables
Why do you want to set environment variables? The reason is simple: First, the Java
At present, most of the downloads on the Web are RAR package, in the window, of course, you can use the mouse to decompress, for some Linux systems, the system is usually brought by the RAR, but some systems, such as my bar, there is no belt, or I
1. Xargs Usage Detailed
because many commands do not support | Piping to pass parameters, and there is a need in daily work, there is a xargs command, such as:
find/sbin-perm +700 |ls-l This command is wrong.
find/sbin-perm +700 |xargs ls-l This
Porting Environment ( red Bold font for modified content, blue bold text for special attention)
1, Host Environment: Vmare under linux5.7, 384 memory.
2, compiling the compilation environment: ARM-LINUX-GCC v4.4.3
3, Development Board: FL2440,4M
Recently, I'm looking at the problem of time programming in Linux:1. Time-related structures under Linuxstruct Timeval{int tv_sec;int tv_usec;};The tv_sec is the number of seconds from the beginning of the morning, and the Tv_usec is microsecond
1. VMware Tools installation and display settings
Command:
Cp/cdrom/vmwaretools/vmware-solaris-tools.tar.gz/export/home/xxxx
Gunzip vmware-solaris-tools.tar.gz
Tar xvf *.tar
A folder that generates a "Vmware-tool-distrib"
Enter this folder,
1. The i386 applies to all 32-bit CPUs of Intel and AMD, as well as via a 32 Cpu.intel platform using the X86 architecture including 8086,80286,80386,80486, Pentium Series (1.2.3.4), Celeron series, Pentium D series and Centrino P-m,core duo and so
Transferred from: http://www.cnblogs.com/lanyuliuyun/p/5011526.htmlRecently a simple look at a handful of linux-3.10.25 kernel in Select/poll/epoll this several IO event detection API implementation. Make some records here.The basic principle is the
When I first started doing performance tests, I didn't know anything, just the pressure test. When will the system be paralyzed when it ends. But the system because of what paralysis is not very clear, and then began to study server performance
Https://www.cnblogs.com/kex1n/p/5193826.htmlThis is a very important command in Linux, please be familiar with it. Its function is to create a link to a file in another location, the most common parameter of this command is-s,The specific usage is:
The read command is a very important bash command for entering text from the keyboard or table and interacting with the user, which can read the values of multiple variables at once, and the variables and input values need to be separated by spaces.
OverviewMost Linux servers do not recommend that users log on directly to the root user. On the one hand can greatly reduce the damage caused by misoperation, on the other hand, it also reduces the risk of privileged passwords being compromised in
1, CHGRP (change the file belongs to the user group)CHGRP (transform file to user group) change GroupCHGRP user Group filename # # #便是这个格了. If the entire contents are changed, the plus-r parameter is used for recursion.Example: Chgrp-r user smb.conf2
1. Check if the server port is occupied>lsof-i:80812. View all ports on the server>netstat-ntlp3. Check if the server is open for a portTCP port: >NETSTAT-NTPLUDP port: >NETSTAT-NUPLCommon parameters:-A (All) displays all options and does not show
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