Searched refs:chain_buf (Results 1 – 1 of 1) sorted by relevance
1528 struct netbuf chain_buf; in lwip_sendmsg_internal() local1538 memset(&chain_buf, 0, sizeof(struct netbuf)); in lwip_sendmsg_internal()1541 SOCKADDR_TO_IPADDR_PORT((const struct sockaddr *)msg->msg_name, &chain_buf.addr, remote_port); in lwip_sendmsg_internal()1542 netbuf_fromport(&chain_buf) = remote_port; in lwip_sendmsg_internal()1557 if (netbuf_alloc(&chain_buf, (u16_t)size) == NULL) { in lwip_sendmsg_internal()1563 …MEMCPY(&((u8_t *)chain_buf.p->payload)[offset], msg->msg_iov[i].iov_base, msg->msg_iov[i].iov_len); in lwip_sendmsg_internal()1569 u16_t chksum = ~inet_chksum_pbuf(chain_buf.p); in lwip_sendmsg_internal()1570 netbuf_set_chksum(&chain_buf, chksum); in lwip_sendmsg_internal()1592 if (chain_buf.p == NULL) { in lwip_sendmsg_internal()1593 chain_buf.p = chain_buf.ptr = p; in lwip_sendmsg_internal()[all …]