Home
last modified time | relevance | path

Searched refs:so_urgc (Results 1 – 10 of 10) sorted by relevance

/external/qemu/slirp-android/
Dsocket.c311 if (so->so_urgc > 2048) in sosendoob()
312 so->so_urgc = 2048; /* XXXX */ in sosendoob()
316 n = socket_send_oob(so->s, sb->sb_rptr, so->so_urgc); /* |MSG_DONTWAIT)); */ in sosendoob()
317 so->so_urgc -= n; in sosendoob()
319 DEBUG_MISC((dfd, " --- sent %d bytes urgent data, %d urgent bytes left\n", n, so->so_urgc)); in sosendoob()
327 if (len > so->so_urgc) len = so->so_urgc; in sosendoob()
329 so->so_urgc -= len; in sosendoob()
330 if (so->so_urgc) { in sosendoob()
332 if (n > so->so_urgc) n = so->so_urgc; in sosendoob()
334 so->so_urgc -= n; in sosendoob()
[all …]
Dsocket.h31 int so_urgc; member
Dsbuf.c92 if (so->so_urgc) { in sbappend()
Dslirp.c1331 qemu_put_be32(f, so->so_urgc); in slirp_socket_save()
1438 so->so_urgc = qemu_get_be32(f); in slirp_socket_load()
Dtcp_input.c1338 so->so_urgc = so->so_rcv.sb_cc + in tcp_input()
/external/qemu/slirp/
Dsocket.c303 if (so->so_urgc > 2048) in sosendoob()
304 so->so_urgc = 2048; /* XXXX */ in sosendoob()
308 n = slirp_send(so, sb->sb_rptr, so->so_urgc, (MSG_OOB)); /* |MSG_DONTWAIT)); */ in sosendoob()
309 so->so_urgc -= n; in sosendoob()
311 DEBUG_MISC((dfd, " --- sent %d bytes urgent data, %d urgent bytes left\n", n, so->so_urgc)); in sosendoob()
319 if (len > so->so_urgc) len = so->so_urgc; in sosendoob()
321 so->so_urgc -= len; in sosendoob()
322 if (so->so_urgc) { in sosendoob()
324 if (n > so->so_urgc) n = so->so_urgc; in sosendoob()
326 so->so_urgc -= n; in sosendoob()
[all …]
Dsocket.h31 int so_urgc; member
Dsbuf.c92 if (so->so_urgc) { in sbappend()
Dslirp.c928 qemu_put_be32(f, so->so_urgc); in slirp_socket_save()
1035 so->so_urgc = qemu_get_be32(f); in slirp_socket_load()
Dtcp_input.c1332 so->so_urgc = so->so_rcv.sb_cc + in tcp_input()