Home
last modified time | relevance | path

Searched refs:chksum_offset (Results 1 – 5 of 5) sorted by relevance

/third_party/lwip/src/include/lwip/
Draw.h97 u16_t chksum_offset; member
/third_party/lwip/src/core/
Draw.c513 LWIP_ASSERT("Checksum must fit into first pbuf", p->len >= (pcb->chksum_offset + 2)); in raw_sendto_if_src()
514 SMEMCPY(((u8_t *)p->payload) + pcb->chksum_offset, &chksum, sizeof(u16_t)); in raw_sendto_if_src()
/third_party/f2fs-tools/fsck/
Dmount.c1048 unsigned int chksum_offset = get_cp(checksum_offset); in verify_checksum_chksum() local
1051 if (chksum_offset < CP_MIN_CHKSUM_OFFSET || in verify_checksum_chksum()
1052 chksum_offset > CP_CHKSUM_OFFSET) { in verify_checksum_chksum()
1053 MSG(0, "\tInvalid CP CRC offset: %u\n", chksum_offset); in verify_checksum_chksum()
1057 crc = le32_to_cpu(*(__le32 *)((unsigned char *)cp + chksum_offset)); in verify_checksum_chksum()
1061 chksum_offset, crc, cal_crc); in verify_checksum_chksum()
/third_party/lwip/src/api/
Dsockets.c3254 *(int *)optval = sock->conn->pcb.raw->chksum_offset; in lwip_getsockopt_impl()
3792 sock->conn->pcb.raw->chksum_offset = (u16_t) * (const int *)optval; in lwip_setsockopt_impl()
Dapi_msg.c632 msg->conn->pcb.raw->chksum_offset = 2;