summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/drivers/net/rtl819x/common/mbuf.h
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2013-05-17 20:40:24 +0300
committerRoman Yeryomin <roman@advem.lv>2013-05-26 00:48:34 +0300
commit7e810011201bf926cba09ec07424893e4cd8ce67 (patch)
tree202fc7a42607e366848ca59c7a61a8f9fa2712ca /target/linux/realtek/files/drivers/net/rtl819x/common/mbuf.h
parenta45894b5a0f65585440d98bf71ef3e919c84cb5f (diff)
Move to rsdk 3.2.4. Compiles cleanly.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/files/drivers/net/rtl819x/common/mbuf.h')
-rw-r--r--target/linux/realtek/files/drivers/net/rtl819x/common/mbuf.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/realtek/files/drivers/net/rtl819x/common/mbuf.h b/target/linux/realtek/files/drivers/net/rtl819x/common/mbuf.h
index dfe886b71..7317a1cc0 100644
--- a/target/linux/realtek/files/drivers/net/rtl819x/common/mbuf.h
+++ b/target/linux/realtek/files/drivers/net/rtl819x/common/mbuf.h
@@ -174,7 +174,13 @@ struct rtl_pktHdr
(PKTHDR_VLAN_P3_AUTOADD)| \
(PKTHDR_VLAN_P4_AUTOADD)| \
(PKTHDR_VLAN_P5_AUTOADD) )
-
+#if defined(CONFIG_RTL_819XD) || defined(CONFIG_RTL_8196E)
+ uint8 ph_ptpResv:1;
+ uint8 ph_ptpMsgType:4; /* message type */
+ uint8 ph_ptpVer:2; /* PTP version, 0: 1588v1; 1: 1588v2 or 802.1as; others: reserved */
+ uint8 ph_ptpPkt:1; /* 1: PTP */
+ int8 ph_reserved[3]; /* padding */
+#endif
};
//property for ph_unnumber : cw_du