Searched refs:vhdr (Results 1 - 7 of 7) sorted by relevance

/freebsd-13-stable/sys/geom/vinum/
H A Dgeom_vinum_drive.c268 struct gv_hdr *vhdr, *hdr; local
275 vhdr = g_malloc(GV_HDR_LEN, M_WAITOK | M_ZERO);
276 vhdr->magic = GV_MAGIC;
277 vhdr->config_length = GV_CFG_LEN;
304 g_free(vhdr);
309 bcopy(&hdr->label, &vhdr->label, sizeof(struct gv_label));
320 error = gv_write_header(cp, vhdr);
322 G_VINUM_DEBUG(0, "writing vhdr failed on drive %s, "
353 g_free(vhdr);
H A Dgeom_vinum.c588 struct gv_hdr vhdr; local
613 error = gv_read_header(cp, &vhdr);
/freebsd-13-stable/sys/net/
H A Dif_tuntap.c1713 struct virtio_net_hdr_mrg_rxbuf vhdr; local
1715 bzero(&vhdr, sizeof(vhdr));
1717 m = virtio_net_tx_offload(ifp, m, false, &vhdr.hdr);
1721 "gs %u, cs %u, co %u\n", vhdr.hdr.flags,
1722 vhdr.hdr.gso_type, vhdr.hdr.hdr_len,
1723 vhdr.hdr.gso_size, vhdr.hdr.csum_start,
1724 vhdr
1743 tunwrite_l2(struct tuntap_softc *tp, struct mbuf *m, struct virtio_net_hdr_mrg_rxbuf *vhdr) argument
1843 struct virtio_net_hdr_mrg_rxbuf vhdr; local
[all...]
/freebsd-13-stable/contrib/wpa/src/radius/
H A Dradius.c936 struct radius_attr_vendor *vhdr; local
955 while (left >= sizeof(*vhdr)) {
956 vhdr = (struct radius_attr_vendor *) pos;
957 if (vhdr->vendor_length > left ||
958 vhdr->vendor_length < sizeof(*vhdr)) {
961 if (vhdr->vendor_type != subtype) {
962 pos += vhdr->vendor_length;
963 left -= vhdr->vendor_length;
967 len = vhdr
1195 struct radius_attr_vendor *vhdr; local
[all...]
/freebsd-13-stable/tools/tools/netmap/
H A Dpkt_hash.c312 const struct vlanhdr *vhdr = (const struct vlanhdr *)(ethh + 1); local
314 switch (ntohs(vhdr->proto)) {
316 rc = decode_ip_n_hash((const struct ip *)(vhdr + 1),
320 rc = decode_ipv6_n_hash((const struct ip6_hdr *)(vhdr + 1),
/freebsd-13-stable/sys/dev/ocs_fc/
H A Docs_unsol.c888 fc_vm_header_t *vhdr; local
939 vhdr = (fc_vm_header_t *) ((char *)fchdr + sizeof(fc_header_t) + vmhdr_offset);
940 io->app_id = ocs_be32toh(vhdr->src_vmid);
/freebsd-13-stable/sys/ofed/drivers/infiniband/core/
H A Dib_cma.c1569 const void *vhdr)
1571 const struct cma_hdr *hdr = vhdr;
1580 return sdp_match_private_data(id_priv, vhdr, addr);
1568 cma_match_private_data(struct rdma_id_private *id_priv, const void *vhdr) argument

Completed in 265 milliseconds