Searched refs:rh (Results 1 - 25 of 52) sorted by last modified time

123

/freebsd-11-stable/sbin/ipfw/
H A Dipfw2.c2340 ipfw_range_header rh; local
2343 memset(&rh, 0, sizeof(rh));
2344 memcpy(&rh.range, rt, sizeof(*rt));
2345 rh.range.head.length = sizeof(*rt);
2346 rh.range.head.type = IPFW_TLV_RANGE;
2347 sz = sizeof(rh);
2349 if (do_get3(cmd, &rh.opheader, &sz) != 0)
2352 rt->new_set = rh.range.new_set;
/freebsd-11-stable/sys/netinet/
H A Dsctp_pcb.c4652 sctp_clean_up_stream(struct sctp_tcb *stcb, struct sctp_readhead *rh) argument
4657 TAILQ_FOREACH_SAFE(control, rh, next_instrm, ncontrol) {
4658 TAILQ_REMOVE(rh, control, next_instrm);
H A Dsctp_pcb.h630 void sctp_clean_up_stream(struct sctp_tcb *stcb, struct sctp_readhead *rh);
/freebsd-11-stable/sys/kern/
H A Dvfs_export.c210 rn = (*rnh->rnh_addaddr)(saddr, smask, &rnh->rh, np->netc_rnodes);
242 (*rnh->rnh_deladdr) (rn->rn_key, rn->rn_mask, &rnh->rh);
267 (*rnh->rnh_walktree)(&rnh->rh, vfs_free_netcred, rnh);
489 (*rnh->rnh_matchaddr)(saddr, &rnh->rh);
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_fw_table_algo.c413 ent = (struct radix_addr_entry *)(rnh->rnh_matchaddr(&sa, &rnh->rh));
424 xent = (struct radix_addr_xentry *)(rnh->rnh_matchaddr(&sa6, &rnh->rh));
465 rnh->rnh_deladdr(rn->rn_key, rn->rn_mask, &rnh->rh);
480 rnh->rnh_walktree(&rnh->rh, flush_radix_entry, rnh);
484 rnh->rnh_walktree(&rnh->rh, flush_radix_entry, rnh);
553 e = rnh->rnh_matchaddr(&sa, &rnh->rh);
559 e = rnh->rnh_matchaddr(&sa6, &rnh->rh);
577 rnh->rnh_walktree(&rnh->rh, (walktree_f_t *)f, arg);
580 rnh->rnh_walktree(&rnh->rh, (walktree_f_t *)f, arg);
728 rn = rnh->rnh_lookup(tb->addr_ptr, tb->mask_ptr, &rnh->rh);
4052 struct rib_head *rh; local
[all...]
H A Dip_fw_sockopt.c1323 ipfw_range_header *rh; local
1326 if (sd->valsize != sizeof(*rh))
1329 rh = (ipfw_range_header *)ipfw_get_sopt_space(sd, sd->valsize);
1331 if (check_range_tlv(&rh->range) != 0)
1335 if ((error = delete_range(chain, &rh->range, &ndel)) != 0)
1339 rh->range.new_set = ndel;
1354 ipfw_range_header *rh; local
1356 if (sd->valsize != sizeof(*rh))
1359 rh = (ipfw_range_header *)ipfw_get_sopt_space(sd, sd->valsize);
1361 if (check_range_tlv(&rh
1381 ipfw_range_header *rh; local
1483 ipfw_range_header *rh; local
[all...]
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_x/
H A Dcached_data.c561 svn_fs_x__rep_header_t *rh;
616 SVN_ERR(svn_cache__get((void **) &rh, &is_cached,
697 SVN_ERR(svn_fs_x__read_rep_header(&rh, stream,
706 SVN_ERR(svn_cache__set(ffd->rep_header_cache, &key, rh,
712 SVN_ERR(dbg__log_access(fs, &rs->rep_id, rh, SVN_FS_X__ITEM_TYPE_ANY_REP,
715 rs->header_size = rh->header_size;
717 *rep_header = rh;
2175 svn_fs_x__rep_header_t *rh;
2200 SVN_ERR(svn_fs_x__read_rep_header(&rh, stream, pool, pool));
2202 rs->header_size = rh
560 svn_fs_x__rep_header_t *rh; local
2174 svn_fs_x__rep_header_t *rh; local
[all...]
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_fs/
H A Dcached_data.c842 svn_fs_fs__rep_header_t *rh;
895 SVN_ERR(svn_cache__get((void **) &rh, &is_cached,
943 SVN_ERR(svn_fs_fs__read_rep_header(&rh, rs->sfile->rfile->stream,
955 SVN_ERR(svn_cache__set(ffd->rep_header_cache, &key, rh,
961 SVN_ERR(dbg_log_access(fs, rep->revision, rep->item_index, rh,
964 rs->header_size = rh->header_size;
966 *rep_header = rh;
968 if (rh->type == svn_fs_fs__rep_plain)
2274 svn_fs_fs__rep_header_t *rh;
2301 SVN_ERR(svn_fs_fs__read_rep_header(&rh, r
841 svn_fs_fs__rep_header_t *rh; local
2273 svn_fs_fs__rep_header_t *rh; local
[all...]
/freebsd-11-stable/sys/netpfil/pf/
H A Dpf_table.c566 rv = kt->pfrkt_ip4->rnh_walktree(&kt->pfrkt_ip4->rh, pfr_walktree, &w);
568 rv = kt->pfrkt_ip6->rnh_walktree(&kt->pfrkt_ip6->rh,
615 rv = kt->pfrkt_ip4->rnh_walktree(&kt->pfrkt_ip4->rh, pfr_walktree, &w);
617 rv = kt->pfrkt_ip6->rnh_walktree(&kt->pfrkt_ip6->rh,
724 if (kt->pfrkt_ip4->rnh_walktree(&kt->pfrkt_ip4->rh,
728 if (kt->pfrkt_ip6->rnh_walktree(&kt->pfrkt_ip6->rh,
742 if (kt->pfrkt_ip4->rnh_walktree(&kt->pfrkt_ip4->rh, pfr_walktree, &w))
744 if (kt->pfrkt_ip6->rnh_walktree(&kt->pfrkt_ip6->rh, pfr_walktree, &w))
761 head = &kt->pfrkt_ip4->rh;
764 head = &kt->pfrkt_ip6->rh;
[all...]
/freebsd-11-stable/sys/net/
H A Droute.c344 struct rib_head *rh; local
346 rh = malloc(sizeof(struct rib_head), M_RTABLE, M_WAITOK | M_ZERO);
350 rn_inithead_internal(&rh->head, rh->rnh_nodes, offset);
351 rn_inithead_internal(&rh->rmhead.head, rh->rmhead.mask_nodes, 0);
352 rh->head.rnh_masks = &rh->rmhead;
355 rw_init(&rh->rib_lock, "rib head lock");
358 rh
381 rt_table_destroy(struct rib_head *rh) argument
442 struct rib_head *rh; local
926 struct rib_head *rh; local
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_set_format_warc.c232 warc_essential_hdr_t rh = {
242 rh.tgturi = archive_entry_pathname(entry);
243 rh.rtime = w->now;
244 rh.mtime = archive_entry_mtime(entry);
245 rh.cntlen = (size_t)archive_entry_size(entry);
248 r = _popul_ehdr(&hdr, MAX_HDR_SIZE, rh);
260 w->populz = rh.cntlen;
230 warc_essential_hdr_t rh = { local
/freebsd-11-stable/sys/netinet6/
H A Droute6.c64 struct ip6_rthdr *rh; local
81 IP6_EXTHDR_CHECK(m, off, sizeof(*rh), IPPROTO_DONE);
83 rh = (struct ip6_rthdr *)((caddr_t)ip6 + off);
86 IP6_EXTHDR_GET(rh, struct ip6_rthdr *, m, off, sizeof(*rh));
87 if (rh == NULL) {
97 switch (rh->ip6r_type) {
100 if (rh->ip6r_segleft == 0) {
101 rhlen = (rh->ip6r_len + 1) << 3;
106 (caddr_t)&rh
[all...]
/freebsd-11-stable/sys/net80211/
H A Dieee80211_var.h764 struct ieee80211_radiotap_header *rh, int rlen,
769 struct ieee80211_radiotap_header *rh,
/freebsd-11-stable/usr.sbin/ndiscvt/
H A Dinf.c52 static struct reg_head rh; variable in typeref:struct:reg_head
79 TAILQ_INIT(&rh);
572 TAILQ_FOREACH(reg, &rh, link) {
604 TAILQ_FOREACH(reg, &rh, link) {
620 TAILQ_FOREACH(reg, &rh, link) {
642 TAILQ_FOREACH(reg, &rh, link) {
661 TAILQ_FOREACH(reg, &rh, link) {
681 TAILQ_FOREACH(reg, &rh, link) {
698 TAILQ_FOREACH(reg, &rh, link) {
882 TAILQ_INSERT_TAIL(&rh, re
[all...]
/freebsd-11-stable/sys/sys/
H A Dsocket.h607 #define SF_FLAGS(rh, flags) (((rh) << 16) | (flags))
/freebsd-11-stable/sys/dev/liquidio/
H A Dlio_main.c180 uint64_t rh; member in struct:lio_if_cfg_resp
1505 recv_pkt->rh.r_nic_info.gmxport);
1508 gmxport = recv_pkt->rh.r_nic_info.gmxport;
H A Dlio_sysctl.c102 uint64_t rh; member in struct:lio_intrmod_resp
H A Dlio_network.h51 uint64_t rh; member in struct:lio_fw_stats_resp
H A Dlio_core.c262 lio_push_packet(void *m_buff, uint32_t len, union octeon_rh *rh, void *rxq, argument
279 if (rh->r_dh.has_hash) {
282 if (rh->r_dh.has_hwtstamp) {
285 ((rh->r_dh.len - 2) *
290 ((rh->r_dh.len - 2) *
295 ((rh->r_dh.len - 1) *
300 ((rh->r_dh.len - 1) *
333 * in rh.
339 m_adj(mbuf, rh->r_dh.len * 8);
340 len -= rh
[all...]
/freebsd-11-stable/sys/rpc/
H A Dclnt.h204 #define CLNT_ACQUIRE(rh) \
205 refcount_acquire(&(rh)->cl_refs)
206 #define CLNT_RELEASE(rh) \
207 if (refcount_release(&(rh)->cl_refs)) \
208 CLNT_DESTROY(rh)
212 * CLNT_CLOSE(rh);
213 * CLIENT *rh;
215 #define CLNT_CLOSE(rh) ((*(rh)->cl_ops->cl_close)(rh))
[all...]
/freebsd-11-stable/crypto/openssl/crypto/ec/
H A Decp_smpl.c1003 BIGNUM *rh, *tmp, *Z4, *Z6; local
1020 rh = BN_CTX_get(ctx);
1034 * To test this, we add up the right-hand side in 'rh'.
1037 /* rh := X^2 */
1038 if (!field_sqr(group, rh, &point->X, ctx))
1049 /* rh := (rh + a*Z^4)*X */
1055 if (!BN_mod_sub_quick(rh, rh, tmp, p))
1057 if (!field_mul(group, rh, r
[all...]
/freebsd-11-stable/contrib/binutils/bfd/
H A Delflink.c8797 struct elf_link_hash_entry *rh;
8808 rh = elf_sym_hashes (input_bfd)[indx];
8809 while (rh->root.type == bfd_link_hash_indirect
8810 || rh->root.type == bfd_link_hash_warning)
8811 rh = (struct elf_link_hash_entry *) rh->root.u.i.link;
8816 BFD_ASSERT (rh->indx < 0);
8817 rh->indx = -2;
8819 *rel_hash = rh;
8787 struct elf_link_hash_entry *rh; local
/freebsd-11-stable/sys/dev/liquidio/base/
H A Dlio_droq.h74 union octeon_rh rh; member in struct:lio_droq_info
154 union octeon_rh rh; member in struct:lio_recv_pkt
H A Dlio_droq.c385 recv_pkt->rh = info->rh;
526 union octeon_rh *rh, struct lio_droq_info *info)
534 disp_fn = lio_get_dispatch(oct, (uint16_t)rh->r.opcode,
535 (uint16_t)rh->r.subcode);
543 rinfo->recv_pkt->rh = *rh;
551 (unsigned int)rh->r.opcode,
552 (unsigned int)rh->r.subcode);
593 union octeon_rh *rh; local
525 lio_droq_dispatch_pkt(struct octeon_device *oct, struct lio_droq *droq, union octeon_rh *rh, struct lio_droq_info *info) argument
[all...]
H A Dlio_device.c789 recv_pkt->rh.r_core_drv_init.app_mode),
791 oct->app_mode = (uint32_t)recv_pkt->rh.r_core_drv_init.app_mode;
792 if (recv_pkt->rh.r_core_drv_init.app_mode == LIO_DRV_NIC_APP) {
794 (uint32_t)recv_pkt->rh.r_core_drv_init.max_nic_ports;
796 (uint32_t)recv_pkt->rh.r_core_drv_init.num_gmx_ports;
805 oct->fw_info.app_cap_flags = recv_pkt->rh.r_core_drv_init.app_cap_flags;
806 oct->fw_info.app_mode = (uint32_t)recv_pkt->rh.r_core_drv_init.app_mode;
808 (uint32_t)recv_pkt->rh.r_core_drv_init.app_mode;
810 oct->pfvf_hsword.pkind = recv_pkt->rh.r_core_drv_init.pkind;

Completed in 1243 milliseconds

123