Home
last modified time | relevance | path

Searched refs:vhdr (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/net/
H A Dif_tuntap.c1717 struct virtio_net_hdr_mrg_rxbuf vhdr; in tunread() local
1719 bzero(&vhdr, sizeof(vhdr)); in tunread()
1721 m = virtio_net_tx_offload(ifp, m, false, &vhdr.hdr); in tunread()
1725 "gs %u, cs %u, co %u\n", vhdr.hdr.flags, in tunread()
1726 vhdr.hdr.gso_type, vhdr.hdr.hdr_len, in tunread()
1727 vhdr.hdr.gso_size, vhdr.hdr.csum_start, in tunread()
1728 vhdr.hdr.csum_offset); in tunread()
1729 error = uiomove(&vhdr, len, uio); in tunread()
1739 struct virtio_net_hdr_mrg_rxbuf *vhdr) in tunwrite_l2() argument
1765 if (vhdr != NULL) { in tunwrite_l2()
[all …]
/freebsd/contrib/wpa/src/radius/
H A Dradius.c1093 struct radius_attr_vendor *vhdr; in radius_msg_get_vendor_attr() local
1112 while (left >= sizeof(*vhdr)) { in radius_msg_get_vendor_attr()
1113 vhdr = (struct radius_attr_vendor *) pos; in radius_msg_get_vendor_attr()
1114 if (vhdr->vendor_length > left || in radius_msg_get_vendor_attr()
1115 vhdr->vendor_length < sizeof(*vhdr)) { in radius_msg_get_vendor_attr()
1118 if (vhdr->vendor_type != subtype) { in radius_msg_get_vendor_attr()
1119 pos += vhdr->vendor_length; in radius_msg_get_vendor_attr()
1120 left -= vhdr->vendor_length; in radius_msg_get_vendor_attr()
1124 len = vhdr->vendor_length - sizeof(*vhdr); in radius_msg_get_vendor_attr()
1125 data = os_memdup(pos + sizeof(*vhdr), len); in radius_msg_get_vendor_attr()
[all …]
/freebsd/tools/tools/netmap/
H A Dpkt_hash.c313 const struct vlanhdr *vhdr = (const struct vlanhdr *)(ethh + 1); in decode_vlan_n_hash() local
315 switch (ntohs(vhdr->proto)) { in decode_vlan_n_hash()
317 rc = decode_ip_n_hash((const struct ip *)(vhdr + 1), in decode_vlan_n_hash()
321 rc = decode_ipv6_n_hash((const struct ip6_hdr *)(vhdr + 1), in decode_vlan_n_hash()
/freebsd/sys/dev/ocs_fc/
H A Docs_unsol.c886 fc_vm_header_t *vhdr; in ocs_dispatch_fcp_cmd() local
937 vhdr = (fc_vm_header_t *) ((char *)fchdr + sizeof(fc_header_t) + vmhdr_offset); in ocs_dispatch_fcp_cmd()
938 io->app_id = ocs_be32toh(vhdr->src_vmid); in ocs_dispatch_fcp_cmd()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_cma.c1615 const void *vhdr) in cma_match_private_data() argument
1617 const struct cma_hdr *hdr = vhdr; in cma_match_private_data()
1627 return sdp_match_private_data(id_priv, vhdr, addr); in cma_match_private_data()