• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

KarpelesLab / slirp / 23944633769
71%

Build:
DEFAULT BRANCH: master
Ran 03 Apr 2026 11:27AM UTC
Jobs 1
Files 27
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Apr 2026 11:27AM UTC coverage: 69.141% (-8.1%) from 77.274%
23944633769

push

github

MagicalTux
Replace VirtualConn/VirtualConn6 with vtcp.Conn

Phase 3.1: Virtual listener connections now use the shared vtcp.Conn
TCP engine instead of the ad-hoc VirtualConn/VirtualConn6 types.

Changes:
- Stack.virtTCP/virtTCP6 maps now hold *vtcp.Conn
- Listener/Listener6 acceptCh changed to chan net.Conn
- SYN handling in handleIPv4/handleIPv6TCP creates vtcp.Conn via
  AcceptSYN(), delegates all TCP to the vtcp engine
- Subsequent packets dispatched via vtcp.Conn.HandleSegment()
- Added frame.go with buildFrame4/buildFrame6 helpers that wrap raw
  TCP segments in IP+Ethernet frames with correct checksums
- Maintenance cleanup uses vtcp.Conn.State() instead of internal fields
- Stack.Close() uses vtcp.Conn.Abort() for cleanup
- Fixed data race: recvBuf now accessed under recvMu consistently
- Tests updated: VirtualConn-specific unit tests removed (covered by
  vtcp/conn_test.go), integration tests retained and adapted

The old VirtualConn/VirtualConn6 types remain in listener.go/listener6.go
as dead code — they will be removed after all migrations complete.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

116 of 167 new or added lines in 5 files covered. (69.46%)

396 existing lines in 4 files now uncovered.

3307 of 4783 relevant lines covered (69.14%)

9.47 hits per line

Uncovered Changes

Lines Coverage ∆ File
19
65.69
2.05% usernat.go
15
76.74
-5.01% ipv6.go
14
80.82
frame.go
3
57.14
-0.02% vtcp/conn.go

Coverage Regressions

Lines Coverage ∆ File
205
0.0
-96.7% listener6.go
189
31.97
-59.25% listener.go
1
76.74
-5.01% ipv6.go
1
65.69
2.05% usernat.go
Jobs
ID Job ID Ran Files Coverage
1 23944633769.1 03 Apr 2026 11:27AM UTC 27
69.14
GitHub Action Run
Source Files on build 23944633769
  • Tree
  • List 27
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23944633769
  • febcb8cb on github
  • Prev Build on master (#23944089928)
  • Next Build on master (#23944797218)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc