  We develop a general procedure to study the combinatorial structure of Arthur
packets for $p$-adic quasisplit $Sp(N)$ and $O(N)$ following the works of
M{\oe}glin. This allows us to answer many delicate questions concerning the
Arthur packets of these groups, for example the size of the packets.
