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

schweikert / fping / 15510562670
88%
master: 80%

Build:
Build:
LAST BUILD BRANCH: issue/62-dev
DEFAULT BRANCH: master
Ran 07 Jun 2025 06:30PM UTC
Jobs 3
Files 4
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

07 Jun 2025 06:29PM UTC coverage: 87.756% (-0.01%) from 87.768%
15510562670

push

github

auerswal
print TOS & TTL also for IPv6 and w/o privileges

When using IPv4 raw sockets, fping has access to the received
IP packet data including the IP header.  This allows to simply
read the TOS byte and/or TTL value from the IP header.

But, using IPv4 raw sockets requires privileges.  Additionally,
IPv6 raw sockets do not provide access to the IPv6 header.

For IPv6, or when using IPv4 datagram sockets, i.e., when fping
runs without privileges, a different method needs to be used to
access TOS / TC and TTL / Hop Count of received packets.  The
so called "control messages", also called "ancillary data", can
be used for this.  This requires several actions:

* set the respective socket options to request additional data,
* ensure the buffer used to receive additional data is sized
  large enough,
* read and process the requested additional data.

18 of 22 new or added lines in 1 file covered. (81.82%)

2 existing lines in 1 file now uncovered.

1412 of 1609 relevant lines covered (87.76%)

331.64 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
87.95
-0.02% src/fping.c

Uncovered Existing Lines

Lines Coverage ∆ File
2
87.95
-0.02% src/fping.c
Jobs
ID Job ID Ran Files Coverage
1 ubuntu-24.04 - 15510562670.1 07 Jun 2025 06:32PM UTC 4
85.06
GitHub Action Run
2 macos - 15510562670.2 07 Jun 2025 06:30PM UTC 4
74.6
GitHub Action Run
3 ubuntu-22.04 - 15510562670.3 07 Jun 2025 06:31PM UTC 4
84.99
GitHub Action Run
Source Files on build 15510562670
  • Tree
  • List 4
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fb6f8b56 on github
  • Prev Build on develop (#15234850580)
  • Next Build on develop (#15759699028)
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

© 2025 Coveralls, Inc