Which of the following is a use of a protocol analyzer or sniffer?

a. Determining the type of traffic in the network and sorting the results based on port numbers and protocols
b. Sending packets to the network
c. Capturing only packets sent by the DHCP server to the DHCP client
d. Capturing only packets sourced from or destined to the computer on which the tool is running