Lines Matching refs:ih
211 struct infiniband_header *ih; in infiniband_requestencap() local
222 ih = (struct infiniband_header *)req->buf; in infiniband_requestencap()
256 ih->ib_protocol = etype; in infiniband_requestencap()
257 ih->ib_reserved = 0; in infiniband_requestencap()
258 memcpy(ih->ib_hwaddr, lladdr, INFINIBAND_ADDR_LEN); in infiniband_requestencap()
270 struct infiniband_header *ih = (struct infiniband_header *)phdr; in infiniband_resolve_addr() local
285 memcpy(ih->ib_hwaddr, ifp->if_broadcastaddr, in infiniband_resolve_addr()
290 ifp->if_broadcastaddr, ih->ib_hwaddr); in infiniband_resolve_addr()
292 ih->ib_protocol = htons(ETHERTYPE_IP); in infiniband_resolve_addr()
293 ih->ib_reserved = 0; in infiniband_resolve_addr()
306 ifp->if_broadcastaddr, ih->ib_hwaddr); in infiniband_resolve_addr()
307 ih->ib_protocol = htons(ETHERTYPE_IPV6); in infiniband_resolve_addr()
308 ih->ib_reserved = 0; in infiniband_resolve_addr()
344 struct infiniband_header *ih; in infiniband_output() local
358 ih = (struct infiniband_header *)linkhdr; in infiniband_output()
360 error = infiniband_resolve_bpf(ifp, dst, m, ro, ih, &hlen); in infiniband_output()
442 ih = mtod(m, struct infiniband_header *); in infiniband_output()
443 memcpy(ih, phdr, hlen); in infiniband_output()