Lines Matching refs:ip4
545 hdr->ip4.frag_off = cpu_to_be16(0x4000); /* don't fragment */
546 hdr->ip4.ttl = grh->hop_limit;
547 hdr->ip4.tot_len = cpu_to_be16(0xffff);
548 hdr->ip4.saddr =
550 hdr->ip4.daddr = *(const __be32 *)(grh->dgid.raw + 12);
553 hdr->ip4.tos = ionic_set_ecn(grh->traffic_class);
555 hdr->ip4.tos = ionic_clear_ecn(grh->traffic_class);
598 ttl = hdr->ip4.ttl;
599 tos = hdr->ip4.tos;
601 *(__be32 *)(hdr->grh.destination_gid.raw + 12) = hdr->ip4.daddr;