Function report | 
Source Code:include\uapi\linux\dccp.h | 
Create Date:2022-07-28 18:47:07 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:dccp_packet_hdr_len
Proto:static inline unsigned int dccp_packet_hdr_len(const __u8 type)
Type:unsigned int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const __u8 | type | 
| 120 | If type == DCCP_PKT_DATA Then Return 0 | 
| 122 | If type == DCCP_PKT_DATAACK || type == DCCP_PKT_ACK || type == DCCP_PKT_SYNC || type == DCCP_PKT_SYNCACK || type == DCCP_PKT_CLOSE || type == DCCP_PKT_CLOSEREQ Then Return sizeof(structdccp_hdr_ack_bits) | 
| 129 | If type == DCCP_PKT_REQUEST Then Return sizeof(structdccp_hdr_request) | 
| 131 | If type == DCCP_PKT_RESPONSE Then Return sizeof(structdccp_hdr_response) | 
| 133 | Return sizeof(structdccp_hdr_reset) | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |