1 2345678910...
|
pl = (u32_t *)ps;
while (len > 7) {
tmp = sum + *pl++; /* ping */
if (tmp < sum)
tmp++; /* add back carry */
Language: C (c) 2001-2004 Swedish Institute of Computer Science. LOC: 319 Savannah NonGNU : lwIP - A Lightweight TCP/IP stack (project search) : .../lwip/lwip/src/core/inet.c
|
/* broadcast or multicast destination address? */
if (ip_addr_isbroadcast(&iphdr->dest, inp) || ip_addr_ismulticast(&iphdr->dest)) {
LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: Not echoing to multicast or broadcast pings\n"));
ICMP_STATS_INC(icmp.err);
pbuf_free(p);
Language: C (c) 2001-2004 Swedish Institute of Computer Science. LOC: 185 Savannah NonGNU : lwIP - A Lightweight TCP/IP stack (project search) : .../lwip/src/core/ipv4/icmp.c
|
switch (type) {
case ICMP6_ECHO:
LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: ping\n"));
if (p->tot_len < sizeof(struct icmp_echo_hdr)) {
LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: bad ICMP echo received\n"));
Language: C (c) 2001-2004 Swedish Institute of Computer Science. LOC: 119 Savannah NonGNU : lwIP - A Lightweight TCP/IP stack (project search) : .../lwip/src/core/ipv6/icmp6.c
|
/* RCD - Support Reciever variable distresses */
#define RCD
/* PING - Ping statistics */
#define PING
/* SHORT_PACKETS - Reduce Network load */
Language: C LOC: 180 SourceForge : Netrek (project search) : .../netrek/client/netrekxp/win32/config.h
|
/* Mailutils Abstract Mail Directory Layer
First draft by Sergey Poznyakoff.
Thanks Tang Yong Ping <yongping.tang@radixs.com> for initial
patch (although not used here).
This module provides basic support for "MH" and "Maildir" formats. */
Language: C License: LGPL (C) 1999, 2000, 2001, 2002, 2003, LOC: 1182 Savannah GNU : GNU Mail Utilities (project search) : .../mailutils/mailutils/mailutils/mailbox/amd.c
|
/* pingstats.c (mostly taken from stats.c) */
#include "config.h"
#include "copyright.h"
Language: C LOC: 211 SourceForge : Netrek (project search) : .../netrek/client/netrekxp/src/pingstats.c
|
void metaaction (W_Event * data);
void metainput (void);
#ifdef METAPING
void metapinginit(void);
DWORD WINAPI metaPing_thread(void);
Language: C LOC: 1013 SourceForge : Netrek (project search) : .../netrek/client/netrekxp/include/proto.h
|
{0, dummy}, /* 45 */
#endif
{sizeof (struct ping_spacket), handlePing}, /* SP_PING */
#ifdef SHORT_PACKETS
{-1, /* variable */ handleVTorp}, /* SP_S_TORP */
Language: C LOC: 4487 SourceForge : Netrek (project search) : .../netrek/client/netrekxp/src/socket.c
|
#ifndef MY_PING_H_200202022
#endif
Language: C LOC: 2 Google : infoping - same ping utility (project search) : .../infoping/trunk/src/inc/myping.h
|
#ifdef DEBUG
//#define nPING
#endif
#ifdef nPING
Language: C LOC: 8 SourceForge : Armagetron - Multiplayer Lightcycle Game (project search) : .../armagetron/armagetron/src/network/nSimulatePing.h
|
#ifdef DEBUG
//#define nPING
#endif
#ifdef nPING
Language: C LOC: 8 Spider_20090121_inc : Armagetron Advanced - armagetronad-src (project search) : .../armagetronad-0.2.8.2.1.src.tar.bz2/armagetronad-0.2.8.2.1/src/network/nSimulatePing.h
|
#ifndef _PING_H_
#define _PING_H_
void ping_init();
Language: C LOC: 9 Spider_20090108_inc : LanMon - an active local network segment monitor (project search) : .../LanMon_-_an_active_local_network_segment_monitor/lanmon_0.1.zip/lanmon_source.zip.---/lanmon/ping.h
|
#include <string.h>
#include <icmp.h>
#include "ping.h"
static void _ping_freebuf (PING *p);
static int _ping_setbuf (PING *p);
Language: C License: GPL (C) 1998, 2001 Free Software Foundation, Inc. LOC: 267 Spider_bigsf001 : Endian Firewall Community (project search) : .../EFW-2.2-rc2-200807241531-source.zip/SRPMS/inetutils-1.4.2/libicmp/libping.c
|
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
typedef struct ping_data PING;
typedef int (*ping_efp) __P ((int code,
void *closure,
Language: C License: GPL (C) 1998 Free Software Foundation, Inc. LOC: 51 Spider_20090228_inc : openRelax - Source (project search) : .../src/ping_checker/includes/linux/ping.h
|
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
typedef struct ping_data PING;
typedef int (*ping_efp) __P ((int code,
void *closure,
Language: C License: GPL (C) 1998 Free Software Foundation, Inc. LOC: 51 Spider_20090228_inc : openRelax - Source (project search) : .../src/ping_checker/includes/cygwin/ping.h
|
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
typedef struct ping_data PING;
typedef int (*ping_efp) __P ((int code,
void *closure,
Language: C License: GPL (C) 1998 Free Software Foundation, Inc. LOC: 50 Savannah GNU : GNU Shishi - A Kerberos 5 implementation (project search) : .../shishi/shishi/inetutils/libicmp/ping.h
|
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
typedef struct ping_data PING;
typedef int (*ping_efp) __P ((int code,
void *closure,
Language: C License: GPL (C) 1998 Free Software Foundation, Inc. LOC: 50 Spider_bigsf001 : Endian Firewall Community (project search) : .../EFW-2.2-rc2-200807241531-source.zip/SRPMS/inetutils-1.4.2/libicmp/ping.h
|
#ifndef __PING_H
#define __PING_H
/* prototypes */
Language: C LOC: 6 BULK : gnapster (project search) : .../package/gnapster/gnapster-1.5.0/src/ping.h
|
*All right reserved
*
*File Name:ping-mib.h
*File Description:Add DISMAN-PING-MIB.
*
Language: C (c)2004,Cisco URP imburses and Network Information Center in Beijing University of Posts and Telecommunications researches. LOC: 4 Spider_20081215_inc : net-snmp - net-snmp (project search) : .../net-snmp-5.3.2.3/agent/mibgroup/disman/ping-mib.h
|
*All right reserved
*
*File Name:ping-mib.h
*File Description:Add DISMAN-PING-MIB.
*
Language: C (c)2004,Cisco URP imburses and Network Information Center in Beijing University of Posts and Telecommunications researches. LOC: 4 Spider_20090228_inc : openRelax - Source (project search) : .../net-snmp-5.2.1.2/agent/mibgroup/disman/ping-mib.h
|
#include <string.h>
#include "icmp.h"
#include "ping.h"
#endif
#ifdef LINUX_S
Language: C License: GPL (C) 1998, 2001 Free Software Foundation, Inc. LOC: 294 Spider_20090228_inc : openRelax - Source (project search) : .../src/ping_checker/source/ping_checker_source.zip.---/libping.c
|
/*
* ping.h
*
* Function declarations for ping.c
Language: C (c) 2004 Todd MacDermid LOC: 6 BULK : cutlass (project search) : .../cutlass-0.2.0/libcutlass/include/cutlass/ping.h
|
#include <string.h>
#include <icmp.h>
#include "ping.h"
static void _ping_freebuf (PING *p);
static int _ping_setbuf (PING *p);
Language: C License: GPL (C) 1998, 2001 Free Software Foundation, Inc. LOC: 281 Savannah GNU : GNU Shishi - A Kerberos 5 implementation (project search) : .../shishi/shishi/inetutils/libicmp/libping.c
|
#if !defined(lint)
static char rcs_id[] = "$Id: ping.c,v 1.3 2002/01/15 16:27:15 stefanst Exp $";
#endif
/*
Language: C LOC: 102 Spider_20081217_inc : Spacetrek3D - An OpenGL 3D netrek client (project search) : .../batches/inc_003/spacetrek/spacetrek-0.0.6/ping.c
|
#ifndef S_PING_H
#define S_PING_H
/*=============================================================================
Language: C LOC: 10 Spider_20081215_inc : DarkU ircd (project search) : .../inc_002/darku2/DarkU/include/s_ping.h
|
1 2345678910...
|