Definitions for IPv6 fragmentation extension.  
More...
Definitions for IPv6 fragmentation extension. 
- See also
 - RFC 8200, section 4.5 
 
 | 
| file   | frag.h | 
|   | Fragmentation extension definitions. 
  | 
|   | 
◆ IPV6_EXT_FRAG_M
      
        
          | #define IPV6_EXT_FRAG_M   (0x0001) | 
        
      
 
M flag. 
Definition at line 34 of file frag.h.
 
 
◆ IPV6_EXT_FRAG_OFFSET_MASK
      
        
          | #define IPV6_EXT_FRAG_OFFSET_MASK   (0xFFF8) | 
        
      
 
Mask for the offset. 
Definition at line 33 of file frag.h.
 
 
◆ ipv6_ext_frag_get_offset()
Get offset of fragment in bytes. 
- Parameters
 - 
  
    | [in] | frag | A fragment header | 
  
   
- Returns
 - Offset of fragment in bytes. 
 
Definition at line 62 of file frag.h.
 
 
◆ ipv6_ext_frag_more()
Checks if more fragments are coming after the given fragment. 
- Parameters
 - 
  
    | [in] | frag | A fragment header | 
  
   
- Returns
 - true, when more fragments are coming after the given fragment. 
 
- 
false, when the given fragment is the last. 
 
Definition at line 78 of file frag.h.
 
 
◆ ipv6_ext_frag_set_more()
◆ ipv6_ext_frag_set_offset()
  
  
      
        
          | static void ipv6_ext_frag_set_offset  | 
          ( | 
          ipv6_ext_frag_t * |           frag,  | 
         
        
           | 
           | 
          unsigned |           offset ) | 
         
       
   | 
  
inlinestatic   | 
  
 
Sets the offset field of a fragment header. 
- Note
 - Must be called before ipv6_ext_frag_set_more()
 
- Parameters
 - 
  
    | [in,out] | frag | A fragment header  | 
    | [in] | offset | The offset of the fragment in bytes. Is assumed to be a multiple of 8. Is assumed to be lesser or equal to 65528.  | 
  
   
Definition at line 93 of file frag.h.