Searched refs:vhdr (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/wpa/src/radius/ |
| H A D | radius.c | 1093 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/sys/net/ |
| H A D | if_tuntap.c | 1881 struct virtio_net_hdr_mrg_rxbuf vhdr; in tunread() local 1883 bzero(&vhdr, sizeof(vhdr)); in tunread() 1885 m = virtio_net_tx_offload(ifp, m, false, &vhdr.hdr); in tunread() 1889 "gs %u, cs %u, co %u\n", vhdr.hdr.flags, in tunread() 1890 vhdr.hdr.gso_type, vhdr.hdr.hdr_len, in tunread() 1891 vhdr.hdr.gso_size, vhdr.hdr.csum_start, in tunread() 1892 vhdr.hdr.csum_offset); in tunread() 1893 error = uiomove(&vhdr, len, uio); in tunread() 1903 struct virtio_net_hdr_mrg_rxbuf *vhdr) in tunwrite_l2() argument 1929 if (vhdr != NULL) { in tunwrite_l2() [all …]
|
| /freebsd/tools/tools/netmap/ |
| H A D | pkt_hash.c | 313 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 D | ocs_unsol.c | 886 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/usr.sbin/virtual_oss/virtual_oss/ |
| H A D | httpd.c | 167 voss_udp_csum(uint32_t sum, const void *vhdr, size_t count, in voss_udp_csum() argument 170 const uint16_t *hdr = vhdr; in voss_udp_csum()
|
| /freebsd/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_cma.c | 1615 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()
|