在成功发送, 如果报文小于mss,跟新这个字段 主要用来判断是否启用 nagle 算法*/ u32 rcv_tstamp;/* timestamp of last received ACK (for keepalives) 最近一次收到ack的时间 用于 tcp 保活*/ u32 lsndtime;/* timestamp of last sent data packet (for restart window) 最近一次发送 数据包时间*/ u32 ...
DEFINE_PACKET_HEADER(CZ_REQ_ITEMCOMPOSITION, 0x17c);struct PACKET_CZ_LOCALBROADCAST{ int16 packetType; uint16 packetSize; char message[]; } __attribute__((packed)); DEFINE_PACKET_HEADER(CZ_LOCALBROADCAST, 0x19c);// NetBSD 5 and Solaris don't like pragma pack but accept the packed attri...
* * If we receive a SYN packet with these bits set, it means a network is playing bad games * with TOS bits. In order to avoid possible false congestion notifications, we disable * TCP ECN negociation. */ staticinlinevoidTCP_ECN_create_request(struct request_sock *req,conststruct sk_b...
在成功发送, 如果报文小于mss,跟新这个字段 主要用来判断是否启用 nagle 算法*/ u32 rcv_tstamp;/* timestamp of last received ACK (for keepalives) 最近一次收到ack的时间 用于 tcp 保活*/ u32 lsndtime;/* timestamp of last sent data packet (for restart window) 最近一次发送 数据包时间*/ u32 ...
26. return; /* don't parse partial options */ 27. switch(opcode) { 28. case TCPOPT_MSS: /* MSS选项 */ 29. if (opsize == TCPOLEN_MSS && th->syn && ! estab) { 30. u16 in_mss = get_unaligned_be16(ptr); 31. if (in_mss) { ...
struct PACKET_ZC_SKILLMSG { int16 packetType; int32 msgId; } __attribute__((packed)); DEFINE_PACKET_HEADER(ZC_SKILLMSG, 0x215); // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute #if !defined( sun ) && ( !defined( __NETBSD__ ) || __NetBSD_Version...
void STRUCT_INIT(handle, model_t umodel); void STRUCT_SET_HANDLE(handle, model_t umodel, void *addr); STRUCT_FGET(handle, field); STRUCT_FGETP(handle, field); STRUCT_FSET(handle, field, val); STRUCT_FSETP(handle, field, val); <typeof field> *STRUCT_FADDR(handle, field); struct...
void STRUCT_INIT(handle, model_t umodel); void STRUCT_SET_HANDLE(handle, model_t umodel, void *addr); STRUCT_FGET(handle, field); STRUCT_FGETP(handle, field); STRUCT_FSET(handle, field, val); STRUCT_FSETP(handle, field, val); <typeof field> *STRUCT_FADDR(handle, field); struct...
debug_log(DBG_SENSE, "Packet command completed, %d bytes" - " transferred\n", pc->actually_transferred); + " transferred\n", pc->xferred); clear_bit(PC_DMA_IN_PROGRESS, &pc->flags); local_irq_enable(); @@ -1256,9 +1257,9 @@ static ide_startstop_t idetape_pc_intr (ide_driv...
@@ -2541,7 +2522,7 @@ static void idetape_restart_speed_control (ide_drive_t *drive) tape->restart_speed_control_req = 0; tape->pipeline_head = 0; - tape->controlled_last_pipeline_head = tape->uncontrolled_last_pipeline_head = 0; ...