Searched refs:chksum_offset (Results 1 – 5 of 5) sorted by relevance
97 u16_t chksum_offset; member
513 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()
1048 unsigned int chksum_offset = get_cp(checksum_offset); in verify_checksum_chksum() local1051 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()
3254 *(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()
632 msg->conn->pcb.raw->chksum_offset = 2;