Home
last modified time | relevance | path

Searched refs:in_hdr (Results 1 – 2 of 2) sorted by relevance

/net/ceph/
Dmessenger.c2371 size = sizeof (con->in_hdr); in read_partial_message()
2373 ret = read_partial(con, end, size, &con->in_hdr); in read_partial_message()
2377 crc = crc32c(0, &con->in_hdr, offsetof(struct ceph_msg_header, crc)); in read_partial_message()
2378 if (cpu_to_le32(crc) != con->in_hdr.crc) { in read_partial_message()
2380 crc, con->in_hdr.crc); in read_partial_message()
2384 front_len = le32_to_cpu(con->in_hdr.front_len); in read_partial_message()
2387 middle_len = le32_to_cpu(con->in_hdr.middle_len); in read_partial_message()
2390 data_len = le32_to_cpu(con->in_hdr.data_len); in read_partial_message()
2395 seq = le64_to_cpu(con->in_hdr.seq); in read_partial_message()
2416 dout("got hdr type %d front %d data %d\n", con->in_hdr.type, in read_partial_message()
[all …]
/net/bridge/
Dbr_mrp.c942 const struct br_mrp_in_test_hdr *in_hdr; in br_mrp_mim_process() local
955 in_hdr = skb_header_pointer(skb, sizeof(uint16_t) + sizeof(_hdr), in br_mrp_mim_process()
957 if (!in_hdr) in br_mrp_mim_process()
961 if (mrp->in_id != ntohs(in_hdr->id)) in br_mrp_mim_process()