mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
6loWPAN: Use information in struct ieee802154_data_ind_s when reassembling a packet
This commit is contained in:
@@ -436,12 +436,12 @@ int ipv6_input(FAR struct net_driver_s *dev);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NET_6LOWPAN
|
||||
struct ieee802154_driver_s; /* See sixlowpan.h */
|
||||
struct eee802154_data_ind_s; /* See sixlowpan.h */
|
||||
struct iob_s; /* See iob.h */
|
||||
struct ieee802154_driver_s; /* See sixlowpan.h */
|
||||
struct ieee802154_data_ind_s; /* See ieee8021454_mac.h */
|
||||
struct iob_s; /* See iob.h */
|
||||
int sixlowpan_input(FAR struct ieee802154_driver_s *ieee,
|
||||
FAR struct iob_s *framelist,
|
||||
FAR const struct eee802154_data_ind_s *ind);
|
||||
FAR const struct ieee802154_data_ind_s *ind);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
@@ -342,7 +342,7 @@
|
||||
*/
|
||||
|
||||
struct ieee802154_frame_meta_s; /* Forward reference */
|
||||
struct eee802154_data_ind_s; /* Forward reference */
|
||||
struct ieee802154_data_ind_s; /* Forward reference */
|
||||
struct iob_s; /* Forward reference */
|
||||
|
||||
struct ieee802154_driver_s
|
||||
@@ -421,7 +421,7 @@ struct ieee802154_driver_s
|
||||
|
||||
/* The source MAC address of the fragments being merged */
|
||||
|
||||
union sixlowpan_anyaddr_u i_fragsrc;
|
||||
struct sixlowpan_tagaddr_s i_fragsrc;
|
||||
|
||||
/* That time at which reassembly was started. If the elapsed time
|
||||
* exceeds CONFIG_NET_6LOWPAN_MAXAGE, then the reassembly will
|
||||
@@ -540,7 +540,7 @@ struct ieee802154_driver_s
|
||||
|
||||
int sixlowpan_input(FAR struct ieee802154_driver_s *ieee,
|
||||
FAR struct iob_s *framelist,
|
||||
FAR const struct eee802154_data_ind_s *ind);
|
||||
FAR const struct ieee802154_data_ind_s *ind);
|
||||
|
||||
#endif /* CONFIG_NET_6LOWPAN */
|
||||
#endif /* __INCLUDE_NUTTX_NET_SIXLOWPAN_H */
|
||||
|
||||
Reference in New Issue
Block a user