 6697dabe27
			
		
	
	
	6697dabe27
	
	
	
		
			
			This patch drops the userspace accessable sysfs entry for the maximum datagram size of a 6LoWPAN fragment packet. A fragment should not have a datagram size value greater than 1280 byte. Instead of make this value configurable, we accept 1280 datagram size fragment packets only. Signed-off-by: Martin Townsend <martin.townsend@xsilon.com> Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			360 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			360 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * ieee802154 6lowpan in net namespaces
 | |
|  */
 | |
| 
 | |
| #include <net/inet_frag.h>
 | |
| 
 | |
| #ifndef __NETNS_IEEE802154_6LOWPAN_H__
 | |
| #define __NETNS_IEEE802154_6LOWPAN_H__
 | |
| 
 | |
| struct netns_sysctl_lowpan {
 | |
| #ifdef CONFIG_SYSCTL
 | |
| 	struct ctl_table_header *frags_hdr;
 | |
| #endif
 | |
| };
 | |
| 
 | |
| struct netns_ieee802154_lowpan {
 | |
| 	struct netns_sysctl_lowpan sysctl;
 | |
| 	struct netns_frags	frags;
 | |
| };
 | |
| 
 | |
| #endif
 |