github.com/Asutorufa/yuhaiin@v0.3.6-0.20240502055049-7984da7023a0/pkg/net/netlink/netlink_test.go (about) 1 package netlink 2 3 import ( 4 "net" 5 "testing" 6 ) 7 8 func TestFindProcess(t *testing.T) { 9 // 172.19.0.1:55168 10 // 10.0.0.103:443 11 t.Log(FindProcessName("udp", net.ParseIP("172.19.0.1"), 40498, net.IPv6zero, 0)) 12 }