These are two different things:
Stateful packet inspection is a firewalling technology where a record is kept of each session permitted through the firewall and then data is permitted back through...
Search for SPI and Firewall in Google. You don't find static packet firewalls anymore. A Cisco router does this kind of filtering in an Access List, the Cisco firewalls are SPI type.
Incoming packets must be legitimate responses to requests from internal hosts. Unsolicited packets are blocked unless permitted specifically. SPI can also include the capability to recognize and...