[ main ]

Coverage details for /usr/src/linux/net/ipv4

Click on a test name to view its description.

af_inet.c 771 lines of code
  Distinct lines hit:  275
  Percent coverage:  35.67%
  Test Name Lines Hit  
  accept01 108  
  bind01 100  
  connect01 201  
  getpeername01 105  
  getsockname01 111  
  getsockopt01 101  
  listen01 75  
  recv01 198  
  recvfrom01 198  
  recvmsg01 207  
  send01 232  
  sendmsg01 228  
  sendto01 232  
  setsockopt01 101  
  socket01 85  
  socketpair01 85  
  sockioctl01 114  

arp.c 862 lines of code
  Distinct lines hit:  86
  Percent coverage:  9.98%
  Test Name Lines Hit  
  connect01 45  
  link02 49  
  recv01 45  
  send01 45  
  sendto01 21  

devinet.c 908 lines of code
  Distinct lines hit:  29
  Percent coverage:  3.19%
  Test Name Lines Hit  
  sockioctl01 29  

fib_frontend.c 499 lines of code
  Distinct lines hit:  28
  Percent coverage:  5.61%
  Test Name Lines Hit  
  accept01 5  
  bind01 14  
  connect01 19  
  getpeername01 5  
  getsockname01 5  
  getsockopt01 5  
  recv01 19  
  recvfrom01 5  
  recvmsg01 5  
  send01 19  
  sendmsg01 5  
  sendto01 19  
  setsockopt01 5  
  sockioctl01 5  

fib_hash.c 745 lines of code
  Distinct lines hit:  45
  Percent coverage:  6.04%
  Test Name Lines Hit  
  bind01 29  
  connect01 42  
  link02 45  
  recv01 42  
  recvfrom01 45  
  send01 42  
  sendto01 42  
  socket01 45  

fib_semantics.c 806 lines of code
  Distinct lines hit:  15
  Percent coverage:  1.86%
  Test Name Lines Hit  
  connect01 15  
  link02 15  
  recv01 15  
  recvfrom01 15  
  send01 15  
  sendto01 15  
  socket01 15  

icmp.c 549 lines of code
  Distinct lines hit:  0
  Percent coverage:  0.00%
  Test Name Lines Hit  

igmp.c 555 lines of code
  Distinct lines hit:  2
  Percent coverage:  0.36%
  Test Name Lines Hit  
  accept01 2  
  bind01 2  
  connect01 2  
  getpeername01 2  
  getsockname01 2  
  getsockopt01 2  
  listen01 2  
  recv01 2  
  recvfrom01 2  
  recvmsg01 2  
  send01 2  
  sendmsg01 2  
  sendto01 2  
  setsockopt01 2  
  socket01 2  
  socketpair01 2  
  sockioctl01 2  

inetpeer.c 297 lines of code
  Distinct lines hit:  0
  Percent coverage:  0.00%
  Test Name Lines Hit  

ip_forward.c 93 lines of code
  Distinct lines hit:  0
  Percent coverage:  0.00%
  Test Name Lines Hit  

ip_fragment.c 430 lines of code
  Distinct lines hit:  0
  Percent coverage:  0.00%
  Test Name Lines Hit  

ip_input.c 222 lines of code
  Distinct lines hit:  54
  Percent coverage:  24.32%
  Test Name Lines Hit  
  connect01 50  
  link05 51  
  recv01 50  
  recvfrom01 54  
  recvmsg01 50  
  send01 50  
  sendmsg01 50  
  sendto01 50  
  socket01 27  

ip_options.c 530 lines of code
  Distinct lines hit:  8
  Percent coverage:  1.51%
  Test Name Lines Hit  
  connect01 8  
  send01 8  

ip_output.c 607 lines of code
  Distinct lines hit:  160
  Percent coverage:  26.36%
  Test Name Lines Hit  
  connect01 156  
  recv01 81  
  recvfrom01 79  
  recvmsg01 79  
  send01 156  
  sendmsg01 123  
  sendto01 123  

ip_sockglue.c 665 lines of code
  Distinct lines hit:  24
  Percent coverage:  3.61%
  Test Name Lines Hit  
  getsockopt01 10  
  setsockopt01 14  

proc.c 148 lines of code
  Distinct lines hit:  0
  Percent coverage:  0.00%
  Test Name Lines Hit  

protocol.c 110 lines of code
  Distinct lines hit:  0
  Percent coverage:  0.00%
  Test Name Lines Hit  

raw.c 506 lines of code
  Distinct lines hit:  0
  Percent coverage:  0.00%
  Test Name Lines Hit  

route.c 1946 lines of code
  Distinct lines hit:  206
  Percent coverage:  10.59%
  Test Name Lines Hit  
  connect01 149  
  link02 54  
  link05 21  
  recv01 149  
  recvfrom01 67  
  recvmsg01 19  
  send01 149  
  sendmsg01 19  
  sendto01 130  
  socket01 54  

sysctl_net_ipv4.c 191 lines of code
  Distinct lines hit:  0
  Percent coverage:  0.00%
  Test Name Lines Hit  

tcp.c 1570 lines of code
  Distinct lines hit:  572
  Percent coverage:  36.43%
  Test Name Lines Hit  
  accept01 69  
  bind01 51  
  connect01 251  
  getpeername01 51  
  getsockname01 51  
  getsockopt01 60  
  link04 10  
  recv01 405  
  recvfrom01 369  
  recvmsg01 426  
  send01 320  
  sendmsg01 435  
  sendto01 385  
  setsockopt01 65  
  socket01 51  
  socketpair01 61  
  sockioctl01 68  

tcp_diag.c 515 lines of code
  Distinct lines hit:  0
  Percent coverage:  0.00%
  Test Name Lines Hit  

tcp_input.c 2353 lines of code
  Distinct lines hit:  766
  Percent coverage:  32.55%
  Test Name Lines Hit  
  connect01 573  
  recv01 684  
  recvfrom01 655  
  recvmsg01 693  
  send01 581  
  sendmsg01 704  
  sendto01 704  

tcp_ipv4.c 1558 lines of code
  Distinct lines hit:  608
  Percent coverage:  39.02%
  Test Name Lines Hit  
  accept01 118  
  bind01 118  
  connect01 568  
  getpeername01 118  
  getsockname01 118  
  getsockopt01 122  
  recv01 509  
  recvfrom01 513  
  recvmsg01 509  
  send01 552  
  sendmsg01 509  
  sendto01 532  
  setsockopt01 118  
  socket01 40  
  socketpair01 40  
  sockioctl01 118  

tcp_minisocks.c 579 lines of code
  Distinct lines hit:  283
  Percent coverage:  48.88%
  Test Name Lines Hit  
  connect01 233  
  recv01 233  
  recvfrom01 245  
  recvmsg01 245  
  send01 271  
  sendmsg01 234  
  sendto01 233  

tcp_output.c 820 lines of code
  Distinct lines hit:  302
  Percent coverage:  36.83%
  Test Name Lines Hit  
  connect01 269  
  recv01 299  
  recvfrom01 299  
  recvmsg01 299  
  send01 269  
  sendmsg01 302  
  sendto01 302  

tcp_timer.c 406 lines of code
  Distinct lines hit:  54
  Percent coverage:  13.30%
  Test Name Lines Hit  
  accept01 21  
  bind01 21  
  connect01 30  
  getpeername01 21  
  getsockname01 21  
  getsockopt01 21  
  recv01 30  
  recvfrom01 30  
  recvmsg01 30  
  send01 54  
  sendmsg01 30  
  sendto01 30  
  setsockopt01 21  
  socket01 21  
  socketpair01 21  
  sockioctl01 21  

udp.c 736 lines of code
  Distinct lines hit:  162
  Percent coverage:  22.01%
  Test Name Lines Hit  
  accept01 41  
  link05 36  
  listen01 6  
  send01 67  
  sendmsg01 101  
  sendto01 120  
  socket01 6  
  socketpair01 6  
  sockioctl01 47  

utils.c 53 lines of code
  Distinct lines hit:  0
  Percent coverage:  0.00%
  Test Name Lines Hit