/freebsd-current/sys/dev/cxgbe/tom/ |
H A D | t4_tls.c | 994 struct tls_hdr *hdr; local 1015 if (len < sizeof(*hdr)) { 1021 hdr = mtod(m, struct tls_hdr *); 1024 if (be16toh(hdr->version) != tls_ofld->rx_version) { 1026 __func__, toep->tid, be16toh(hdr->version)); 1030 if (be16toh(hdr->length) < sizeof(*hdr)) { 1032 __func__, toep->tid, be16toh(hdr->length)); 1038 if (len < be16toh(hdr->length)) { 1040 __func__, toep->tid, len, be16toh(hdr [all...] |
/freebsd-current/sys/dev/cxgbe/ |
H A D | t4_sched.c | 808 MPASS(params->hdr.type == IF_SND_TAG_TYPE_RATE_LIMIT);
|
/freebsd-current/sys/dev/cxgbe/common/ |
H A D | common.h | 647 int t4_get_fw_hdr(struct adapter *adapter, struct fw_hdr *hdr);
|
/freebsd-current/libexec/rtld-elf/ |
H A D | rtld.h | 400 bool check_elf_headers(const Elf_Ehdr *hdr, const char *path);
|
H A D | rtld.c | 2063 static struct elfhints_hdr hdr; local 2092 * Check of hdr.dirlistlen value against type limit 2097 if (read(fd, &hdr, sizeof hdr) != sizeof hdr) { 2099 (u_long)sizeof hdr, ld_elf_hints_path); 2102 hdr.dirlistlen = 0; 2107 hdr.magic == htole32(ELFHINTS_MAGIC) ? "little" : "big"); 2108 is_le = /*htole32(1) == 1 || */ hdr.magic == htole32(ELFHINTS_MAGIC); 2109 magic = COND_SWAP(hdr [all...] |
/freebsd-current/sys/modules/linux/ |
H A D | Makefile | 114 ${LD} -m elf_i386 --shared --eh-frame-hdr -soname=linux-gate.so.1 \
|
/freebsd-current/sys/netinet/ |
H A D | sctp_output.c | 8960 struct sctp_chunkhdr *hdr; local 9009 hdr = mtod(op_err, struct sctp_chunkhdr *); 9010 hdr->chunk_type = SCTP_OPERATION_ERROR; 9011 hdr->chunk_flags = 0; 9012 hdr->chunk_length = htons(chk->send_size); 9030 struct sctp_chunkhdr *hdr; local 9079 hdr = mtod(cookie, struct sctp_chunkhdr *); 9080 hdr->chunk_type = SCTP_COOKIE_ECHO; 9081 hdr->chunk_flags = 0; 9165 struct sctp_chunkhdr *hdr; local [all...] |
H A D | ip_carp.c | 2736 struct nlmsghdr *hdr; member in struct:carp_nl_send_args 2744 struct nlmsghdr *hdr = nlsa->hdr; local 2749 if (!nlmsg_reply(nw, hdr, sizeof(struct genlmsghdr))) { 2836 carp_nl_get(struct nlmsghdr *hdr, struct nl_pstate *npt) argument 2845 error = nl_parse_nlmsg(hdr, &carp_parser, npt, &attrs); 2859 hdr->nlmsg_flags |= NLM_F_MULTI; 2860 args.hdr = hdr; 2871 if (! nlmsg_end_dump(npt->nw, error, hdr)) 2882 carp_nl_set(struct nlmsghdr *hdr, struct nl_pstate *npt) argument [all...] |
H A D | in_pcb.c | 248 in_pcblbgroup_alloc(struct inpcblbgrouphead *hdr, struct ucred *cred, argument 265 CK_LIST_INSERT_HEAD(hdr, grp, il_list); 288 in_pcblbgroup_resize(struct inpcblbgrouphead *hdr, argument 294 grp = in_pcblbgroup_alloc(hdr, old_grp->il_cred, old_grp->il_vflag, 316 in_pcblbgroup_reorder(struct inpcblbgrouphead *hdr, struct inpcblbgroup **grpp, argument 329 new_grp = in_pcblbgroup_resize(hdr, grp, grp->il_inpsiz / 2); 344 struct inpcblbgrouphead *hdr; local 365 hdr = &pcbinfo->ipi_lbgrouphashbase[idx]; 366 CK_LIST_FOREACH(grp, hdr, il_list) { 379 grp = in_pcblbgroup_alloc(hdr, in 415 struct inpcblbgrouphead *hdr; local 450 struct inpcblbgrouphead *hdr; local 2042 const struct inpcblbgrouphead *hdr; local [all...] |
/freebsd-current/sys/kern/ |
H A D | subr_intr.c | 1420 KASSERT(msi->hdr.type == INTR_MAP_DATA_MSI, 1495 KASSERT(msi->hdr.type == INTR_MAP_DATA_MSI,
|
/freebsd-current/libexec/tftpd/tests/ |
H A D | functional.c | 60 * @param hdr The reply's expected header, as a char array 64 #define RECV(hdr, contents, contents_len) do { \ 71 require_bufeq((hdr), sizeof(hdr), buffer, \ 72 MIN((size_t)r, sizeof(hdr))); \ 74 &buffer[sizeof(hdr)], r - sizeof(hdr)); \ 87 char hdr[] = {0, 4, blocknum >> 8, blocknum & 0xFF}; local 88 RECV(hdr, NULL, 0); 94 char hdr[] local 107 char hdr[] = {0, 3, blocknum >> 8, blocknum & 0xFF}; local [all...] |
/freebsd-current/contrib/unbound/util/ |
H A D | netevent.c | 604 struct cmsghdr hdr; member in union:__anon3 967 struct cmsghdr hdr; member in union:__anon4
|
/freebsd-current/sys/netpfil/pf/ |
H A D | pf.c | 565 struct tcphdr *th = &pd->hdr.tcp; 579 struct udphdr *uh = &pd->hdr.udp; 593 struct sctphdr *sh = &pd->hdr.sctp; 610 struct icmp *ih = &pd->hdr.icmp; 613 pd->hdr.icmp.icmp_cksum = pf_cksum_fixup( 2979 pf_mtag->hdr = mtod(m, struct ip *); 3076 struct sctphdr *hdr; local 3097 bzero(m->m_data, sizeof(struct ip) + sizeof(*hdr) + sizeof(*chunk)); 3104 h->ip_len = htons(sizeof(*h) + sizeof(*hdr) + sizeof(*chunk)); 3114 bzero(m->m_data, sizeof(struct ip6_hdr) + sizeof(*hdr) 3950 u_int8_t hdr[60]; local 3990 u_int8_t hdr[60]; local [all...] |
/freebsd-current/lib/libpfctl/ |
H A D | libpfctl.c | 234 struct nlmsghdr *hdr; local 243 hdr = snl_create_genl_msg_request(&nw, family_id, 246 hdr = snl_finalize_msg(&nw); 247 if (hdr == NULL) 249 seq_id = hdr->nlmsg_seq; 251 snl_send_message(&h->ss, hdr); 253 while ((hdr = snl_read_reply_multi(&h->ss, seq_id, &e)) != NULL) { 399 struct nlmsghdr *hdr; local 409 hdr = snl_create_genl_msg_request(&nw, family_id, PFNL_CMD_GET_STATUS); 410 hdr 1294 struct nlmsghdr *hdr; local 1343 struct nlmsghdr *hdr; local 1640 struct nlmsghdr *hdr; local 1755 struct nlmsghdr *hdr; local 1895 struct nlmsghdr *hdr; local 2020 struct nlmsghdr *hdr; local 2394 struct nlmsghdr *hdr; local [all...] |
/freebsd-current/lib/libifconfig/ |
H A D | libifconfig_carp.c | 74 struct nlmsghdr *hdr; local 96 hdr = snl_create_genl_msg_request(&nw, family_id, CARP_NL_CMD_GET); 97 hdr->nlmsg_flags |= NLM_F_DUMP; 104 hdr = snl_finalize_msg(&nw); 105 if (hdr == NULL) { 109 seq_id = hdr->nlmsg_seq; 110 if (! snl_send_message(&ss, hdr)) { 115 while ((hdr = snl_read_reply_multi(&ss, seq_id, &e)) != NULL) { 127 if (! snl_parse_nlmsg(&ss, hdr, &carp_get_parser, &carp[i])) 151 struct nlmsghdr *hdr; local [all...] |
/freebsd-current/sys/net/ |
H A D | if_lagg.c | 1874 switch (params->hdr.type) { 1902 lp = lookup_snd_tag_port(ifp, params->hdr.flowid, 1903 params->hdr.flowtype, params->hdr.numa_domain);
|
/freebsd-current/sys/dev/sound/usb/ |
H A D | uaudio.c | 212 struct usb_proc_msg hdr; member in struct:uaudio_configure_msg 979 sc->sc_config_msg[0].hdr.pm_callback = &uaudio_configure_msg; 981 sc->sc_config_msg[1].hdr.pm_callback = &uaudio_configure_msg;
|
/freebsd-current/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_main.c | 4320 if (unlikely(priv->gone || params->hdr.flowtype == M_HASHTYPE_NONE)) { 4328 if (rss_hash2bucket(params->hdr.flowid, 4329 params->hdr.flowtype, &temp) == 0) 4333 ch = (params->hdr.flowid % 128) % ch; 4378 switch (params->hdr.type) { 4536 if_sethwtsomaxsegcount(ifp, MLX5E_MAX_TX_MBUF_FRAGS - 1 /* hdr */);
|
/freebsd-current/lib/libnvmf/ |
H A D | nvmf_tcp.c | 48 struct nvme_tcp_common_pdu_hdr *hdr; member in struct:nvmf_tcp_rxpdu 195 struct nvme_tcp_term_req_hdr hdr; local 205 memset(&hdr, 0, sizeof(hdr)); 206 hdr.common.pdu_type = na->na_controller ? 208 hdr.common.hlen = sizeof(hdr); 209 hdr.common.plen = sizeof(hdr) + hlen; 210 hdr 356 struct nvme_tcp_term_req_hdr *hdr; local 423 nvmf_tcp_construct_pdu(struct nvmf_tcp_qpair *qp, void *hdr, size_t hlen, void *data, uint32_t data_len) argument [all...] |
/freebsd-current/usr.sbin/arp/ |
H A D | arp_netlink.c | 62 struct nlmsghdr *hdr = snl_create_msg_request(&nw, RTM_GETLINK); local 66 if (! (hdr = snl_finalize_msg(&nw)) || !snl_send_message(ss, hdr)) 69 hdr = snl_read_reply(ss, hdr->nlmsg_seq); 71 if (hdr == NULL || hdr->nlmsg_type != RTM_NEWLINK) 74 if (!snl_parse_nlmsg(ss, hdr, &snl_rtm_link_parser_simple, link)) 111 struct nlmsghdr *hdr = snl_create_msg_request(&nw, RTM_GETROUTE); local 119 if (! (hdr 280 struct nlmsghdr *hdr = snl_create_msg_request(&nw, RTM_GETNEIGH); local 350 struct nlmsghdr *hdr = snl_create_msg_request(&nw, RTM_DELNEIGH); local 394 struct nlmsghdr *hdr = snl_create_msg_request(&nw, RTM_NEWNEIGH); local [all...] |
/freebsd-current/contrib/bmake/ |
H A D | arch.c | 437 struct ar_hdr *hdr; local 440 hdr = HashTable_FindValue(&ar->members, member); 441 if (hdr != NULL) 442 return hdr; 451 hdr = HashTable_FindValue(&ar->members, copy); 453 return hdr; 654 ArchiveMember_HasName(const struct ar_hdr *hdr, argument 657 const size_t ar_name_len = sizeof hdr->AR_NAME; 658 const char *ar_name = hdr->AR_NAME; 666 /* hdr [all...] |
/freebsd-current/sys/dev/nvmf/ |
H A D | nvmf_tcp.c | 111 const struct nvme_tcp_common_pdu_hdr *hdr; member in struct:nvmf_tcp_rxpdu 280 struct nvme_tcp_term_req_hdr *hdr; local 288 m = m_get2(sizeof(*hdr) + hlen, M_WAITOK, MT_DATA, 0); 289 m->m_len = sizeof(*hdr) + hlen; 290 hdr = mtod(m, void *); 291 memset(hdr, 0, sizeof(*hdr)); 292 hdr->common.pdu_type = qp->qp.nq_controller ? 294 hdr->common.hlen = sizeof(*hdr); 371 const struct nvme_tcp_term_req_hdr *hdr; local 433 nvmf_tcp_construct_pdu(struct nvmf_tcp_qpair *qp, void *hdr, size_t hlen, struct mbuf *data, uint32_t data_len) argument [all...] |
/freebsd-current/sys/contrib/openzfs/cmd/ |
H A D | arcstat.in | 47 # @hdr is the array of fields that needs to be printed, so we 173 hdr = ["time", "read", "ddread", "ddh%", "dmread", "dmh%", "pread", "ph%", 326 global hdr 336 sys.stdout.write(sep.join(fmt(col) for col in hdr)) 342 global hdr 351 sys.stdout.write(sep.join(fmt(col) for col in hdr)) 382 global hdr 455 hdr = xhdr 458 hdr = zhdr 469 hdr [all...] |
/freebsd-current/sys/cam/scsi/ |
H A D | scsi_da.c | 4402 struct scsi_report_zones_hdr *hdr; local 4422 hdr = (struct scsi_report_zones_hdr *)ccb->csio.data_ptr; 4423 if (avail_len < sizeof(*hdr)) { 4440 hdr_len = ata ? le32dec(hdr->length) : 4441 scsi_4btoul(hdr->length); 4452 rep->header.same = hdr->byte4 & SRZ_SAME_MASK; 4453 rep->header.maximum_lba = ata ? le64dec(hdr->maximum_lba) : 4454 scsi_8btou64(hdr->maximum_lba); 4464 num_avail = min((avail_len - sizeof(*hdr)) / sizeof(*desc), 4484 for (i = 0, desc = &hdr [all...] |
/freebsd-current/sys/cam/ctl/ |
H A D | scsi_ctl.c | 610 struct ccb_hdr *hdr; local 617 LIST_FOREACH(hdr, &softc->atio_list, periph_links.le) { 618 ccb.cab.abort_ccb = (union ccb *)hdr; 621 LIST_FOREACH(hdr, &softc->inot_list, periph_links.le) { 622 ccb.cab.abort_ccb = (union ccb *)hdr; 1850 struct ccb_hdr *hdr; local 1867 STAILQ_FOREACH(hdr, &softc->work_queue, periph_links.stqe) { 1868 union ctl_io *io = hdr->io_ptr;
|