OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:s_ip_len
(Results
1 - 2
of
2
) sorted by null
/external/qemu/slirp/
ip_icmp.c
207
unsigned hlen, shlen,
s_ip_len
;
local
231
s_ip_len
=ip->ip_len;
260
if(minsize)
s_ip_len
=shlen+ICMP_MINLEN; /* return header+8b only */
261
else if(
s_ip_len
>ICMP_MAXDATALEN) /* maximum size */
262
s_ip_len
=ICMP_MAXDATALEN;
264
m->m_len=ICMP_MINLEN+
s_ip_len
; /* 8 bytes ICMP header */
273
memcpy(&icp->icmp_ip, msrc->m_data,
s_ip_len
); /* report the ip packet */
/external/qemu/slirp-android/
ip_icmp.c
209
unsigned hlen, shlen,
s_ip_len
;
local
233
s_ip_len
=ip->ip_len;
262
if(minsize)
s_ip_len
=shlen+ICMP_MINLEN; /* return header+8b only */
263
else if(
s_ip_len
>ICMP_MAXDATALEN) /* maximum size */
264
s_ip_len
=ICMP_MAXDATALEN;
266
m->m_len=ICMP_MINLEN+
s_ip_len
; /* 8 bytes ICMP header */
275
memcpy(&icp->icmp_ip, msrc->m_data,
s_ip_len
); /* report the ip packet */
Completed in 272 milliseconds