projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update trunk documentation for new LUFA release.
[pub/USBasp.git]
/
Demos
/
Device
/
ClassDriver
/
RNDISEthernet
/
Lib
/
TCP.h
diff --git
a/Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.h
b/Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.h
index
4f2cdae
..
aad63a4
100644
(file)
--- a/
Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.h
+++ b/
Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.h
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
0
.
+ Copyright (C) Dean Camera, 201
1
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
0
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-218,8
+218,8
@@
uint32_t SequenceNumber; /**< Data sequence number of the packet */
uint32_t AcknowledgmentNumber; /**< Data acknowledgment number of the packet */
uint32_t SequenceNumber; /**< Data sequence number of the packet */
uint32_t AcknowledgmentNumber; /**< Data acknowledgment number of the packet */
- unsigned
char
Reserved : 4; /**< Reserved, must be all 0 */
- unsigned
char
DataOffset : 4; /**< Offset of the data from the start of the header, in 4 byte chunks */
+ unsigned
Reserved : 4; /**< Reserved, must be all 0 */
+ unsigned
DataOffset : 4; /**< Offset of the data from the start of the header, in 4 byte chunks */
uint8_t Flags; /**< TCP packet flags */
uint16_t WindowSize; /**< Current data window size (bytes remaining in reception buffer) */
uint8_t Flags; /**< TCP packet flags */
uint16_t WindowSize; /**< Current data window size (bytes remaining in reception buffer) */
@@
-228,7
+228,8
@@
} TCP_Header_t;
/* Function Prototypes: */
} TCP_Header_t;
/* Function Prototypes: */
- void TCP_TCPTask(USB_ClassInfo_RNDIS_Device_t* const RNDISInterfaceInfo);
+ void TCP_TCPTask(USB_ClassInfo_RNDIS_Device_t* const RNDISInterfaceInfo,
+ Ethernet_Frame_Info_t* const FrameOUT);
void TCP_Init(void);
bool TCP_SetPortState(const uint16_t Port,
const uint8_t State,
void TCP_Init(void);
bool TCP_SetPortState(const uint16_t Port,
const uint8_t State,