detached
  *   ˆl–Ãa¾”Ši?u8 …pOÜmÅ1hßÁ814_†I|¥�+ÁÀ .    /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
/*
 *  IPv6 RPL-SR implementation
 *
 *  Author:
 *  (C) 2020 Alexander Aring <alex.aring@gmail.com>
 */

#ifndef _LINUX_RPL_H
#define _LINUX_RPL_H

#include <asm/byteorder.h>
#include <linux/types.h>
#include <linux/in6.h>

/*
 * RPL SR Header
 */
struct ipv6_rpl_sr_hdr {
	__u8	nexthdr;
	__u8	hdrlen;
	__u8	type;
	__u8	segments_left;
#if defined(__LITTLE_ENDIAN_BITFIELD)
	__u32	cmpre:4,
		cmpri:4,
		reserved:4,
		pad:4,
		reserved1:16;
#elif defined(__BIG_ENDIAN_BITFIELD)
	__u32	cmpri:4,
		cmpre:4,
		pad:4,
		reserved:20;
#else
#error  "Please fix <asm/byteorder.h>"
#endif

	union {
		struct in6_addr addr[0];
		__u8 data[0];
	} segments;
} __attribute__((packed));

#define rpl_segaddr	segments.addr
#define rpl_segdata	segments.data

#endif
  "   ˆl–Ãa¾”TÂXÔ% €À¸¦-ÿÃƒià¿ÂÁ Ó    a
    mIž[Ÿ  ã                   @   sˆ   d Z ddlZddlmZ G dd„ deƒZG dd„ deƒZG dd	„ d	eƒZG d
d„ deƒZ	erfdd„ Z
nedƒ de
_ dd„ Zdd„ ZdS )zt
Standardized versions of various cool and/or strange things that you can do
with Python's reflection capabilities.
é    N)ÚPY3c                   @   s   e Zd ZdZdS )Ú_NoModuleFoundz2
    No module was found because none exists.
    N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r	   r	   ú7/usr/lib/python3.9/site-packages/jsonschema/_reflect.pyr      s   r   c                   @   s   e Zd ZdZdS )ÚInvalidNamezG
    The given name is not a dot-separated list of Python objects.
    Nr   r	   r	   r	   r
   r      s   r   c                   @   s   e Zd ZdZdS )ÚModuleNotFoundz_
    The module associated with the given name doesn't exist and it can't be
    imported.
    Nr   r	   r	   r	   r
   r      s   r   c                   @   s   e Zd ZdZdS )ÚObjectNotFoundz_
    The object associated with the given name doesn't exist and it can't be
    imported.
    Nr   r	   r	   r	   r
   r   %   s   r   c                 C   s   |   |¡‚d S )N)Úwith_traceback)Ú	exceptionÚ	tracebackr	   r	   r
   Úreraise.   s    r   zZdef reraise(exception, traceback):
        raise exception.__class__, exception, tracebackaZ  
Re-raise an exception, with an optional traceback, in a way that is compatible
with both Python 2 and Python 3.

Note that on Python 3, re-raised exceptions will be mutated, with their
C{__traceback__} attribute being set.

@param exception: The exception instance.
@param traceback: The traceback to use, or C{None} indicating a new traceback.
c                 C   sh   z
t | ƒW S  tyb   t ¡ \}}}|rX|jjd }|du sF|| krPt||ƒ |j}q&tƒ ‚Y n0 dS )aò  
    Import the given name as a module, then walk the stack to determine whether
    the failure was the module not existing, or some code in the module (for
    example a dependent import) failing.  This can be helpful to determine
    whether any actual application code was run.  For example, to distiguish
    administrative error (entering the wrong module name), from programmer
    error (writing buggy code in a module that fails to import).

    @param importName: The name of the module to import.
    @type importName: C{str}
    @raise Exception: if something bad happens.  This can be any type of
        exception, since nobody knows what loading some arbitrary code might
        do.
    @raise _NoModuleFound: if no module was found.
    r   N)	Ú
__import__ÚImportErrorÚsysÚexc_infoÚtb_frameÚ	f_globalsr   Útb_nextr   )Z
importNameZexcTypeZexcValueZexcTracebackZexecNamer	   r	   r
   Ú_importAndCheckStack@   s    

r   c                 C   sÈ   | st dƒ‚|  d¡}d|v r,t d| f ƒ‚d}|dd… }|s¤|rxd |¡}zt|ƒ}W q¢ tyt   | ¡  Y q¢0 q<t|ƒdkr”td| f ƒ‚q<td| f ƒ‚q<|}|dd… D ]}t	||ƒ}q´|S )	a¯  
    Retrieve a Python object by its fully qualified name from the global P