net_input.h
来自「AMLOGIC DPF source code」· C头文件 代码 · 共 45 行
H
45 行
/*******************************************************************
*
* Copyright C 2005 by Amlogic, Inc. All Rights Reserved.
*
* Description: Network input processing.
*
* Author: EK
* Created: Mon Feb 27 13:54:51 2006
*
*******************************************************************/
#ifndef NET_INPUT_H
#define NET_INPUT_H
/*;emacs generated header for file net_input.c. Global function declarations only. */
/**
* Start processing packets from network and sending them up the IP stack.
*/
extern void
net_input_start(void);
/**
* Tell the network input task to process its queue.
*/
extern void
net_input_run(void);
/**
* Add a \a pbuf to the input queue. If this is not called from
* interrupt context, interrupts must be disabled before calling.
* Each packet is expected to be in one contiguous \a pbuf.
*
* @return >0, the pbuf is added to the input queue
* @return =0, the pbuf is skipped
*/
extern unsigned int
net_input_add(struct pbuf *p);
/*;end emacs generated header for file net_input.c. Global function declarations only. */
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?