OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:netbuf
(Results
1 - 3
of
3
) sorted by null
/external/syslinux/core/lwip/src/include/lwip/
netbuf.h
43
/** This
netbuf
has dest-addr/port set */
45
/** This
netbuf
includes a checksum */
48
struct
netbuf
{
struct
64
struct
netbuf
* netbuf_new (void);
65
void netbuf_delete (struct
netbuf
*buf);
66
void * netbuf_alloc (struct
netbuf
*buf, u16_t size);
67
void netbuf_free (struct
netbuf
*buf);
68
err_t netbuf_ref (struct
netbuf
*buf,
70
void netbuf_chain (struct
netbuf
*head,
71
struct
netbuf
*tail)
[
all
...]
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
getnetbydns.c
130
static char *net_aliases[MAXALIASES],
netbuf
[PACKETSZ];
local
150
bp =
netbuf
;
151
buflen = sizeof(
netbuf
);
/external/libpcap/
pcap-rpcap.c
209
char
netbuf
[RPCAP_NETBUF_SIZE]; /* size of the network buffer in which the packet is copied, just for UDP */
local
258
header = (struct rpcap_header *)
netbuf
;
259
net_pkt_header = (struct rpcap_pkthdr *) (
netbuf
+ sizeof(struct rpcap_header));
264
if (sock_recv(md->rmt_sockdata,
netbuf
, RPCAP_NETBUF_SIZE, SOCK_RECEIVEALL_NO, p->errbuf, PCAP_ERRBUF_SIZE) == -1)
269
if (sock_recv(md->rmt_sockdata,
netbuf
, sizeof(struct rpcap_header), SOCK_RECEIVEALL_YES, p->errbuf, PCAP_ERRBUF_SIZE) == -1)
329
* Another option should be to declare '
netbuf
' as 'static'. However this prevents
333
memcpy(*pkt_data,
netbuf
+ sizeof(struct rpcap_header) + sizeof(struct rpcap_pkthdr), (*pkt_header)->caplen);
[
all
...]
Completed in 406 milliseconds