IsNetworkTCP determines whether the event pertains to network TCP events.
()
| 154 | |
| 155 | // IsNetworkTCP determines whether the event pertains to network TCP events. |
| 156 | func (e *Event) IsNetworkTCP() bool { |
| 157 | return e.Category == Net && !e.IsNetworkUDP() |
| 158 | } |
| 159 | |
| 160 | // IsNetworkUDP determines whether the event pertains to network UDP events. |
| 161 | func (e *Event) IsNetworkUDP() bool { |