代码搜索:IP
找到约 10,000 项符合「IP」的源代码
代码结果 10,000
www.eeworm.com/read/429132/8817202
h ip.h
#ifndef __IP_H
#define __IP_H
#define UDP 0x11
#define ICMP 0x01
/*
* This structure defines an ip header.
*/
__packed struct iphdr {
unsigned ihl:4,
version:4;
unsigned char tos;
unsig
www.eeworm.com/read/285609/8828195
gif ip.gif
www.eeworm.com/read/187359/8830618
h ip.h
/* Ensure network structures aren't padded (DJGPP and VC) */
#pragma pack(1)
#define MAXDATA 1500 /* Maximum Ethernet data size */
#define MAXPACK (MAXDATA+14) /* Maximum packet siz
www.eeworm.com/read/187359/8830651
c ip.c
/* Debug option to send IP datagrams with a dummy 'options' field */
#define BIGHEAD 0 /* Set non-zero to send datagrams with larger IP hdrs */
#include
#include
#incl
www.eeworm.com/read/187213/8843137
h ip.h
#ifdef IP_GLOBALS
#define IP_EXT
#else
#define IP_EXT extern
#endif
#ifdef Big_End
union w { uint32 dwords;
struct {uint16 high ;uint16 low;}words;
struct {ui
www.eeworm.com/read/187213/8843160
c ip.c
#define IP_GLOBALS
#include "Config.h"
#include "../include/cfg_net.h"
OS_EVENT *RecIcmpQFlag;
OS_EVENT *RecTcpQFlag;
OS_EVENT *RecUdpQFlag;
OS_EVENT *SendFlag;
Rec_Ptr RECQ
www.eeworm.com/read/384729/8847960
h ip.h
#ifndef __PKT_IP_HEADER_INCLUDED__
#define __PKT_IP_HEADER_INCLUDED__
#define FLAG_IP_REASM 0x01 /* This packet is a reassemblygram */
#define FLAG_IP_CSUM 0x02 /* Checksum is OK */
#define FLAG_IP_D
www.eeworm.com/read/384729/8848101
c ip.c
#include "tcpip.h"
/* Decode Stuff */
struct proto ipv4_p=init_proto2("ip", ipv4_decode, ipv4_dprint, ip_match, ip_commit);
struct proto_req ipv4_r[]={
proto_request("ethernet", __constant_htons(0x0
www.eeworm.com/read/285353/8848459
gif ip.gif
www.eeworm.com/read/384268/8884383