IsNetworkUDP determines whether the event pertains to network UDP events.
()
| 159 | |
| 160 | // IsNetworkUDP determines whether the event pertains to network UDP events. |
| 161 | func (e *Event) IsNetworkUDP() bool { |
| 162 | return e.Type == RecvUDPv4 || e.Type == RecvUDPv6 || e.Type == SendUDPv4 || e.Type == SendUDPv6 |
| 163 | } |
| 164 | |
| 165 | // IsDNS determines whether the event is a DNS question/answer. |
| 166 | func (e *Event) IsDNS() bool { |
no outgoing calls