|
@@ -66,6 +66,8 @@
|
|
#define QDF_NBUF_TRAC_IPV6_PROTO_TYPE_OFFSET 20
|
|
#define QDF_NBUF_TRAC_IPV6_PROTO_TYPE_OFFSET 20
|
|
#define QDF_NBUF_TRAC_IPV4_ADDR_MCAST_MASK 0xE0000000
|
|
#define QDF_NBUF_TRAC_IPV4_ADDR_MCAST_MASK 0xE0000000
|
|
#define QDF_NBUF_TRAC_IPV4_ADDR_BCAST_MASK 0xF0000000
|
|
#define QDF_NBUF_TRAC_IPV4_ADDR_BCAST_MASK 0xF0000000
|
|
|
|
+#define QDF_NBUF_TRAC_IPV6_DEST_ADDR_OFFSET 38
|
|
|
|
+#define QDF_NBUF_TRAC_IPV6_DEST_ADDR 0xFF00
|
|
#define QDF_NBUF_TRAC_ICMP_TYPE 1
|
|
#define QDF_NBUF_TRAC_ICMP_TYPE 1
|
|
#define QDF_NBUF_TRAC_TCP_TYPE 6
|
|
#define QDF_NBUF_TRAC_TCP_TYPE 6
|
|
#define QDF_NBUF_TRAC_UDP_TYPE 17
|
|
#define QDF_NBUF_TRAC_UDP_TYPE 17
|
|
@@ -1554,6 +1556,21 @@ bool qdf_nbuf_data_is_ipv4_mcast_pkt(uint8_t *data)
|
|
return __qdf_nbuf_data_is_ipv4_mcast_pkt(data);
|
|
return __qdf_nbuf_data_is_ipv4_mcast_pkt(data);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * qdf_nbuf_data_is_ipv6_mcast_pkt() - check if it is IPV6 multicast packet.
|
|
|
|
+ * @data: Pointer to IPV6 packet data buffer
|
|
|
|
+ *
|
|
|
|
+ * This func. checks whether it is a IPV6 multicast packet or not.
|
|
|
|
+ *
|
|
|
|
+ * Return: TRUE if it is a IPV6 multicast packet
|
|
|
|
+ * FALSE if not
|
|
|
|
+ */
|
|
|
|
+static inline
|
|
|
|
+bool qdf_nbuf_data_is_ipv6_mcast_pkt(uint8_t *data)
|
|
|
|
+{
|
|
|
|
+ return __qdf_nbuf_data_is_ipv6_mcast_pkt(data);
|
|
|
|
+}
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* qdf_nbuf_is_icmp_pkt() - check if it is IPV4 ICMP packet.
|
|
* qdf_nbuf_is_icmp_pkt() - check if it is IPV4 ICMP packet.
|
|
* @buf: Pointer to IPV4 ICMP packet buffer
|
|
* @buf: Pointer to IPV4 ICMP packet buffer
|