udpStackResponder writes UDP packets back to a known sender
| 102 | |
| 103 | // udpStackResponder writes UDP packets back to a known sender |
| 104 | type udpStackResponder struct { |
| 105 | stack *udpStack |
| 106 | udpheader *layers.UDP |
| 107 | ipv4header *layers.IPv4 |
| 108 | } |
| 109 | |
| 110 | func (r *udpStackResponder) SetSourceIP(ip net.IP) { |
| 111 | r.ipv4header.SrcIP = ip |
nothing calls this directly
no outgoing calls
no test coverage detected