arpqsend.c,v

来自「关于ARP协议方面的。比较难的。。不过是源码」· C,V 代码 · 共 50 行

C,V
50
字号
head	1.1;access;symbols;locks	dls:1.1; strict;comment	@ * @;1.1date	97.09.21.19.22.42;	author dls;	state Dist;branches;next	;desc@@1.1log@Initial revision@text@/* arpqsend.c - arpqsend */#include <conf.h>#include <kernel.h>#include <network.h>/*------------------------------------------------------------------------ * arpqsend - write packets queued waiting for an ARP resolution *------------------------------------------------------------------------ */void arpqsend(pae)struct	arpentry	*pae;{	struct	ep	*pep;	struct	netif	*pni;	if (pae->ae_queue == EMPTY)		return;	pni = pae->ae_pni;	while (pep = (struct ep *)deq(pae->ae_queue))		netwrite(pni, pep, pep->ep_len);	freeq(pae->ae_queue);	pae->ae_queue = EMPTY;}@

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?