sachinites / tcpip_stack

Implement your own TCP IP Stack
https://www.csepracticals.com/
GNU General Public License v3.0
183 stars 133 forks source link

Implement a Generic pkt Trapping infrastructure #8

Closed sachinites closed 3 years ago

sachinites commented 3 years ago

Implement a Generic pkt Trapping infrastructure.

Currently, pkt trap by application is supported based on protocol value in L2 and L3 hdr. Protocol may wish to trap pkts based on other criteria, not necessary a protocol value. For ex, trapping all multicast pkts, or trapping pkts recvd on particular vlan. Re-implement pkt trap infrastructure to meet this need.

sachinites commented 3 years ago

Committed.