IPv4 (Internel protocol) head
#include
iphdr->version: Version (4-bit), the current protocol version number is 4, so IP is sometimes referred to as IPv4.IPHDR->IHL: Header Length (4 bits): The header length refers to the number of digits in the IP layer header (that is, how many 4-byte-32 bits the IP layer header contains), including any options. Since it is a 4-bit field, the header is a maximum of 60 bytes. The value of the normal IP datagram (no selections) field is 5 Iphdr->
tried SimultaneousLy (default is)-n do not resolve IP addresses to their domain names-p port--port=port Set the destination port to use. It is either initial UDP port value for "Default" method (Increm Ented by each probe, default was 33434), or initial seq for "ICMP" (incremented as well, Default from 1), or some constant destination port for other methods (with default of $ for "TCP", + + for "UDP", etc.) -T tos--
(Ndefmessage), To determine how to interpret the entire NDEF message (a NDEF message can have multiple Ndef records)? In a well-formed NDEF message, the first Ndefrecord contains the following field information:1) 3-bit TNF (type name format) indicates how variable length type fields are interpreted, and the valid values are described in table 1 below?2) Variable length type describes the type of record, and if you use Tnf_well_known, then use this field to specify the type definition (
function is actually the direction of the data flow in the configuration Audmux.The default Port-to-port connections is as follows:? Port 1 to Port 6? Port 6 provides the clock and frame sync.? Port 2 to Port 5? Port 5 provides the clock and frame sync.? Port 3 to Port 4? Port 4 provides the clock and frame sync.? Port 7 to Port 7 (in data loopback mode)? Clock and frame syncs are inputs.From the documentation we see that the signals such as BCLK and frame sync are provided by PORT5, which mean
programs are currently being used by a file (or file system)!lsofIn contrast to the fuser is a file or device to find the use of the file or device program, on the other hand, how to find out a program to open or use the files and devices? Whirring That is to use lsof Luo ~[[emailprotected] ~]# lsof [-auu] [+d] options and Parameters:-A: Multiple data needs to "set up at the same time" to show the results! -U: Lists only the socket file types of the Unix like system;-u: followed by username, wh
snd_pcm_substream * substream = dev_id;Struct s3c24xx_runtime_data * prtd;
Dbg ("entered % s/n", _ FUNC __);
If (result = s3c2410_res_abort | result = s3c2410_res_err)Return;
Prtd = substream-> runtime-> private_data;
If (substream)Snd_pcm_period_elapsed (substream );
Spin_lock ( prtd-> lock );If (prtd-> State st_running ){Prtd-> dma_loaded --; // when a cache is used up, insert the cache to the end of the DMA alternate linked list. The entire cache area is a circular cache area.S3c24xx_pcm_en
configured according to your actual situation. For example, we use the following mode:
The hw_params of aif1 is written as follows:
/* Set codec DAI configuration */ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_CBS_CFS | SND_SOC_DAIFMT_I2S);if (ret
3. Voice Dai
It is time-consuming to debug voice Dai.
The basic design of our call module is the typical design of wm8994:
Use aif2 to connect to the PCM Interface of modem. This has a good example in the Linux-3.0.8 for reference, see soun
2409 TCP localhost.localdomain:32769 (LISTEN)CUPSD 2160 root 0u IPv4 2537 TCP Localhost.localdomain:ipp (LISTEN)Fam 2401 Root 0u IPv4 2409 TCP localhost.localdomain:32769 (LISTEN)Fam 2401 Root 1u IPv4 2409 TCP localhost.localdomain:32769 (LISTEN)Fam 2401 Root 2u IPv4 2409 TCP localhost.localdomain:32769 (LISTEN)4 Search All files opened by the programTo know which files are opened by a particular program, you can perform the Lsof-p PID, which is commonly used with PS#ps-aux.......Root 2324 0.1
, through the lsof command to find the log output locationAs follows:Impersonate someone to open an app and output a log[emailprotected] ~]# nohup sh testlsof.sh > 111.log [1] 14170[[emailprotected] ~]# nohup: Ignoring input redirection error to the target Quasi-output Get process name, view file opened by this process [[emailprotected] ~]# ps-ef|grep testlsofroot 14170 13132 0 10:21 pts/5 00:00:00 sh Te Stlsof.shroot 14183 13132 0 10:21 pts/5 00:00:00 grep testlsof[[emailprotected] ~]# lsof-p 1
. conntrack records
4.3. Status of data packets in user space
4.4. TCP Connection
4.5. UDP connection
4.6. ICMP Connection
4.7. Default connection operations
4.8. Complex protocols and Connection Tracking
5. Save and restore Data Management Rules
5.1. Speed
5.2. Limitations of restore
5.3. iptables-save
5.4. iptables-restore
6. How rules are developed
6.1. Basics
6.2. Tables
6.3. Commands
6.4. Matches
6.4.1. General match
6.4.2. Implicit match
6.4.3. Explicit match
6.4.4. Abnormal package m
address 172.16.1.4 255.255.255.0 ip policy route-map sense! Ip local policy route-map sense! Access-list 120 permit ip any 172.16.1.0 0.0.255access-list 120 permit ospf any! Route-map sense permit 10 match ip address 120! Route-map sense permit 20 match length 1000 1600 set ip next-hop 172.16.2.1! Route-map sense permit 30 match length 0 400 set ip next-hop 172.16.3.1
NOTE: If there is no first route-map entry, the Packets of the router itself and the Packets of OSPF will be forwarded to the wr
port, such as The-to-ports8080. Specify the port range, for example,-to-ports 8080-8090.
-J RETURN
If RETURN target is encountered in the sub-chain, the next row of the parent chain is returned for comparison of the condition.
-J TOS
TOS is used to set the Type ofService field in the IP header. This target can only be used in the mangle table.-Set-
As we all know, the call to other programs in Android for related processing, almost all of the use of intent, so, email is no exception.In Android, there are three types of intent called email:Intent.action_sendto Send without attachmentsIntent.action_send Send with AttachmentIntent.action_send_multiple Send with multiple attachmentsOf course, the so-called call email, just say that email can receive intent and do these things, there may be other applications to implement the relevant functions
because of external factors resulting in wasted space. The author uses terramaster (terramaster) F4-nas, this can be connected to four hard drives, the author will be two of them 4TB hard disk Raid1 backup, the remaining one 2TB hard disk using the release mechanism of not to do backup, it as a NAS in the download of the dedicated hard disk, Does not affect the main data backup, simply said that the remaining 2TB this hard disk for a long time to download read and write, even if it is broken,
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.