Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | IPV6HeaderFormatTag |
struct | IPV6RoutingHeaderFormatTag |
struct | IPV6FragmentHeaderFormatTag |
struct | IPV6DestOptionsHeaderFormatTag |
struct | IPV6HopByHopOptionsHeaderFormatTag |
struct | IPV6AuthenticationHeaderFormatTag |
struct | IPV6IcmpHeaderFormatTag |
Macros | |
#define | IPV6HDR_TYPE_HOPBYHOP 0x0 |
#define | IPV6HDR_TYPE_ROUTING 0x2B |
#define | IPV6HDR_TYPE_FRAGMENTATION 0x2C |
#define | IPV6HDR_TYPE_DESTOPTS 0x3c |
#define | IPV6HDR_TYPE_AUTHENTICATION 0x33 |
#define | IPV6HDR_TYPE_ENCRYPTEDSECURITYPAYLOAD 0x34 |
#define | MASK_IPV6_CS_SPEC 0x2 |
#define | TCP_HEADER_TYPE 0x6 |
#define | UDP_HEADER_TYPE 0x11 |
#define | IPV6_ICMP_HDR_TYPE 0x2 |
#define | IPV6_FLOWLABEL_BITOFFSET 9 |
#define | IPV6_MAX_CHAINEDHDR_BUFFBYTES 0x64 |
#define | IPV6_DESTOPTS_HDR_OPTIONSIZE 0x8 |
Typedefs | |
typedef struct IPV6HeaderFormatTag | IPV6Header |
typedef struct IPV6RoutingHeaderFormatTag | IPV6RoutingHeader |
typedef struct IPV6FragmentHeaderFormatTag | IPV6FragmentHeader |
typedef struct IPV6DestOptionsHeaderFormatTag | IPV6DestOptionsHeader |
typedef struct IPV6HopByHopOptionsHeaderFormatTag | IPV6HopByHopOptionsHeader |
typedef struct IPV6AuthenticationHeaderFormatTag | IPV6AuthenticationHeader |
typedef struct IPV6IcmpHeaderFormatTag | IPV6IcmpHeader |
typedef enum _E_IPADDR_CONTEXT | E_IPADDR_CONTEXT |
Enumerations | |
enum | _E_IPADDR_CONTEXT { eSrcIpAddress, eDestIpAddress } |
Functions | |
USHORT | IpVersion6 (struct bcm_mini_adapter *Adapter, PVOID pcIpHeader, struct bcm_classifier_rule *pstClassifierRule) |
VOID | DumpIpv6Address (ULONG *puIpv6Address) |
BOOLEAN | MatchSrcPort (struct bcm_classifier_rule *pstClassifierRule, USHORT ushSrcPort) |
BOOLEAN | MatchDestPort (struct bcm_classifier_rule *pstClassifierRule, USHORT ushSrcPort) |
BOOLEAN | MatchProtocol (struct bcm_classifier_rule *pstClassifierRule, UCHAR ucProtocol) |
#define IPV6_DESTOPTS_HDR_OPTIONSIZE 0x8 |
Definition at line 24 of file IPv6ProtocolHdr.h.
#define IPV6_FLOWLABEL_BITOFFSET 9 |
Definition at line 17 of file IPv6ProtocolHdr.h.
#define IPV6_ICMP_HDR_TYPE 0x2 |
Definition at line 16 of file IPv6ProtocolHdr.h.
#define IPV6_MAX_CHAINEDHDR_BUFFBYTES 0x64 |
Definition at line 19 of file IPv6ProtocolHdr.h.
#define IPV6HDR_TYPE_AUTHENTICATION 0x33 |
Definition at line 9 of file IPv6ProtocolHdr.h.
#define IPV6HDR_TYPE_DESTOPTS 0x3c |
Definition at line 8 of file IPv6ProtocolHdr.h.
#define IPV6HDR_TYPE_ENCRYPTEDSECURITYPAYLOAD 0x34 |
Definition at line 10 of file IPv6ProtocolHdr.h.
#define IPV6HDR_TYPE_FRAGMENTATION 0x2C |
Definition at line 7 of file IPv6ProtocolHdr.h.
#define IPV6HDR_TYPE_HOPBYHOP 0x0 |
Definition at line 5 of file IPv6ProtocolHdr.h.
#define IPV6HDR_TYPE_ROUTING 0x2B |
Definition at line 6 of file IPv6ProtocolHdr.h.
#define MASK_IPV6_CS_SPEC 0x2 |
Definition at line 11 of file IPv6ProtocolHdr.h.
#define TCP_HEADER_TYPE 0x6 |
Definition at line 14 of file IPv6ProtocolHdr.h.
#define UDP_HEADER_TYPE 0x11 |
Definition at line 15 of file IPv6ProtocolHdr.h.
typedef enum _E_IPADDR_CONTEXT E_IPADDR_CONTEXT |
typedef struct IPV6HeaderFormatTag IPV6Header |
enum _E_IPADDR_CONTEXT |
Definition at line 94 of file IPv6ProtocolHdr.h.
Definition at line 405 of file IPv6Protocol.c.
USHORT IpVersion6 | ( | struct bcm_mini_adapter * | Adapter, |
PVOID | pcIpHeader, | ||
struct bcm_classifier_rule * | pstClassifierRule | ||
) |
Adapter | Pointer to the driver control structure |
pcIpHeader | Pointer to the IP Hdr of the packet |
Definition at line 183 of file IPv6Protocol.c.
BOOLEAN MatchDestPort | ( | struct bcm_classifier_rule * | pstClassifierRule, |
USHORT | ushSrcPort | ||
) |
BOOLEAN MatchProtocol | ( | struct bcm_classifier_rule * | pstClassifierRule, |
UCHAR | ucProtocol | ||
) |