SG_LEN
if (nwrote < SG_LEN(sgp)) {
nwrote -= SG_LEN(sgp);
((conn->x.out.sg_count == 2 ? SG_LEN(&conn->x.out.sgp[1]) : 0)
+ SG_LEN(&conn->x.out.sgp[0])),
if (nwritten < SG_LEN(sgp)) {
nwritten -= SG_LEN(conn->x.out.sgp);
dprint("sending %d bytes on fd %d\n", SG_LEN(sg), state->fd);
ret = send(state->fd, SG_BUF(sg), SG_LEN(sg), 0);
if (ret != SG_LEN(sg)) {
dprint("sending %d bytes on fd %d\n", SG_LEN(sg), conn->fd);
if (send(conn->fd, SG_BUF(sg), SG_LEN(sg), 0) != SG_LEN(sg)) {