Searched refs:ibh (Results 1 - 3 of 3) sorted by relevance

/freebsd-12-stable/sys/net/
H A Dif_infiniband.c127 struct infiniband_header *ibh; local
130 if (mb->m_len < sizeof(*ibh))
133 ibh = mtod(mb, struct infiniband_header *);
134 eh.ether_type = ibh->ib_protocol;
136 memcpy(eh.ether_dhost, ibh->ib_hwaddr + 4, ETHER_ADDR_LEN);
137 mb->m_data += sizeof(*ibh);
138 mb->m_len -= sizeof(*ibh);
139 mb->m_pkthdr.len -= sizeof(*ibh);
141 mb->m_data -= sizeof(*ibh);
142 mb->m_len += sizeof(*ibh);
405 struct infiniband_header *ibh; local
[all...]
/freebsd-12-stable/sys/kern/
H A Duipc_mbufhash.c198 const struct infiniband_header *ibh; local
202 off = sizeof(*ibh);
205 ibh = mtod(m, struct infiniband_header *);
206 etype = ntohs(ibh->ib_protocol);
208 p = fnv_32_buf(&ibh->ib_hwaddr, INFINIBAND_ADDR_LEN, p);
/freebsd-12-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_cm.c565 struct ipoib_header *ibh; local
571 ibh = mtod(mb, struct ipoib_header *);
572 memset(ibh->hwaddr, 0, 4);
573 memcpy(ibh->hwaddr + 4, priv->local_gid.raw, sizeof(union ib_gid));

Completed in 174 milliseconds