inet6.c (bd2327cd5eccc1066100581dda31650fd6b7e987) | inet6.c (c0c660131181409a2a72d2c466ff8dd1367707eb) |
---|---|
1/* BSDI inet.c,v 2.3 1995/10/24 02:19:29 prb Exp */ 2/*- 3 * Copyright (c) 1983, 1988, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 1044 unchanged lines hidden (view full) --- 1053 } else 1054 kread(off, &rip6stat, len); 1055 1056 printf("%s:\n", name); 1057 1058#define p(f, m) if (rip6stat.f || sflag <= 1) \ 1059 printf(m, (uintmax_t)rip6stat.f, plural(rip6stat.f)) 1060 p(rip6s_ipackets, "\t%ju message%s received\n"); | 1/* BSDI inet.c,v 2.3 1995/10/24 02:19:29 prb Exp */ 2/*- 3 * Copyright (c) 1983, 1988, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 1044 unchanged lines hidden (view full) --- 1053 } else 1054 kread(off, &rip6stat, len); 1055 1056 printf("%s:\n", name); 1057 1058#define p(f, m) if (rip6stat.f || sflag <= 1) \ 1059 printf(m, (uintmax_t)rip6stat.f, plural(rip6stat.f)) 1060 p(rip6s_ipackets, "\t%ju message%s received\n"); |
1061 p(rip6s_isum, "\t%ju checksum calcuration%s on inbound\n"); | 1061 p(rip6s_isum, "\t%ju checksum calculation%s on inbound\n"); |
1062 p(rip6s_badsum, "\t%ju message%s with bad checksum\n"); 1063 p(rip6s_nosock, "\t%ju message%s dropped due to no socket\n"); 1064 p(rip6s_nosockmcast, 1065 "\t%ju multicast message%s dropped due to no socket\n"); 1066 p(rip6s_fullsock, 1067 "\t%ju message%s dropped due to full socket buffers\n"); 1068 delivered = rip6stat.rip6s_ipackets - 1069 rip6stat.rip6s_badsum - --- 87 unchanged lines hidden --- | 1062 p(rip6s_badsum, "\t%ju message%s with bad checksum\n"); 1063 p(rip6s_nosock, "\t%ju message%s dropped due to no socket\n"); 1064 p(rip6s_nosockmcast, 1065 "\t%ju multicast message%s dropped due to no socket\n"); 1066 p(rip6s_fullsock, 1067 "\t%ju message%s dropped due to full socket buffers\n"); 1068 delivered = rip6stat.rip6s_ipackets - 1069 rip6stat.rip6s_badsum - --- 87 unchanged lines hidden --- |