Home
last modified time | relevance | path

Searched refs:oh (Results 1 – 25 of 26) sorted by relevance

12

/f-stack/tools/ipfw/
H A Dtables.c170 memset(&oh, 0, sizeof(oh)); in ipfw_table_handler()
183 oh.idx = 1; in ipfw_table_handler()
523 memcpy(tbuf, oh, sizeof(*oh)); in table_do_create()
578 memcpy(tbuf, oh, sizeof(*oh)); in table_do_modify()
655 memcpy(tbuf, oh, sizeof(*oh)); in table_do_swap()
701 memcpy(tbuf, oh, sizeof(*oh)); in table_get_info()
873 free(oh); in table_show_one()
909 memcpy(pbuf, oh, sizeof(*oh)); in table_do_modify_record()
1122 memcpy(xbuf, oh, sizeof(*oh)); in table_do_lookup()
1734 oh = NULL; in table_do_get_list()
[all …]
H A Dnat64clat.c277 ipfw_obj_header *oh; in nat64clat_config() local
359 ipfw_obj_header oh; in nat64clat_destroy() local
361 memset(&oh, 0, sizeof(oh)); in nat64clat_destroy()
363 if (do_set3(IP_FW_NAT64CLAT_DESTROY, &oh.opheader, sizeof(oh)) != 0) in nat64clat_destroy()
376 ipfw_obj_header *oh; in nat64clat_get_stats() local
381 oh = calloc(1, sz); in nat64clat_get_stats()
386 free(oh); in nat64clat_get_stats()
389 free(oh); in nat64clat_get_stats()
434 ipfw_obj_header oh; in nat64clat_reset_stats() local
436 memset(&oh, 0, sizeof(oh)); in nat64clat_reset_stats()
[all …]
H A Dnat64stl.c313 ipfw_obj_header *oh; in nat64stl_config() local
375 ipfw_obj_header oh; in nat64stl_destroy() local
377 memset(&oh, 0, sizeof(oh)); in nat64stl_destroy()
379 if (do_set3(IP_FW_NAT64STL_DESTROY, &oh.opheader, sizeof(oh)) != 0) in nat64stl_destroy()
392 ipfw_obj_header *oh; in nat64stl_get_stats() local
397 oh = calloc(1, sz); in nat64stl_get_stats()
402 free(oh); in nat64stl_get_stats()
405 free(oh); in nat64stl_get_stats()
450 ipfw_obj_header oh; in nat64stl_reset_stats() local
452 memset(&oh, 0, sizeof(oh)); in nat64stl_reset_stats()
[all …]
H A Dnptv6.c293 ipfw_obj_header oh; in nptv6_destroy() local
295 memset(&oh, 0, sizeof(oh)); in nptv6_destroy()
297 if (do_set3(IP_FW_NPTV6_DESTROY, &oh.opheader, sizeof(oh)) != 0) in nptv6_destroy()
309 ipfw_obj_header *oh; in nptv6_get_stats() local
314 oh = calloc(1, sz); in nptv6_get_stats()
317 oc = (ipfw_obj_ctlv *)(oh + 1); in nptv6_get_stats()
319 free(oh); in nptv6_get_stats()
322 free(oh); in nptv6_get_stats()
352 ipfw_obj_header oh; in nptv6_reset_stats() local
354 memset(&oh, 0, sizeof(oh)); in nptv6_reset_stats()
[all …]
H A Dnat.c866 oh->ntlv.head.length = sizeof(oh->ntlv); in ipfw_config_nat()
867 snprintf(oh->ntlv.name, sizeof(oh->ntlv.name), "%d", i); in ipfw_config_nat()
971 memset(&oh, 0, sizeof(oh)); in ipfw_delete_nat()
973 ret = do_set3(IP_FW_NAT44_DESTROY, &oh.opheader, sizeof(oh)); in ipfw_delete_nat()
1002 free(oh); in nat_show_data()
1007 free(oh); in nat_show_data()
1096 oh->ntlv.head.length = sizeof(oh->ntlv); in nat_get_cmd()
1097 strlcpy(oh->ntlv.name, name, sizeof(oh->ntlv.name)); in nat_get_cmd()
1102 free(oh); in nat_get_cmd()
1108 *ooh = oh; in nat_get_cmd()
[all …]
H A Dnat64lsn.c95 ipfw_obj_header *oh; in nat64lsn_print_states() local
170 ipfw_obj_header *oh; in nat64lsn_states_cb() local
551 ipfw_obj_header *oh; in nat64lsn_config() local
659 ipfw_obj_header oh; in nat64lsn_reset_stats() local
661 memset(&oh, 0, sizeof(oh)); in nat64lsn_reset_stats()
674 ipfw_obj_header oh; in nat64lsn_destroy() local
676 memset(&oh, 0, sizeof(oh)); in nat64lsn_destroy()
678 if (do_set3(IP_FW_NAT64LSN_DESTROY, &oh.opheader, sizeof(oh)) != 0) in nat64lsn_destroy()
696 oh = calloc(1, sz); in nat64lsn_get_stats()
701 free(oh); in nat64lsn_get_stats()
[all …]
/f-stack/dpdk/lib/librte_ring/
H A Drte_ring_rts_c11_mem.h75 union __rte_ring_rts_poscnt nh, oh; in __rte_ring_rts_move_prod_head() local
108 nh.val.pos = oh.val.pos + n; in __rte_ring_rts_move_prod_head()
109 nh.val.cnt = oh.val.cnt + 1; in __rte_ring_rts_move_prod_head()
117 &oh.raw, nh.raw, in __rte_ring_rts_move_prod_head()
120 *old_head = oh.val.pos; in __rte_ring_rts_move_prod_head()
133 union __rte_ring_rts_poscnt nh, oh; in __rte_ring_rts_move_cons_head() local
154 *entries = r->prod.tail - oh.val.pos; in __rte_ring_rts_move_cons_head()
163 nh.val.pos = oh.val.pos + n; in __rte_ring_rts_move_cons_head()
164 nh.val.cnt = oh.val.cnt + 1; in __rte_ring_rts_move_cons_head()
172 &oh.raw, nh.raw, in __rte_ring_rts_move_cons_head()
[all …]
/f-stack/freebsd/netpfil/ipfw/nat64/
H A Dnat64stl_control.c254 ipfw_obj_header *oh; in nat64stl_config() local
263 sizeof(*oh) + sizeof(*uc)); in nat64stl_config()
273 cfg = nat64stl_find(ni, oh->ntlv.name, oh->ntlv.set); in nat64stl_config()
284 cfg = nat64stl_find(ni, oh->ntlv.name, oh->ntlv.set); in nat64stl_config()
324 ipfw_obj_header *oh; in nat64stl_destroy() local
335 cfg = nat64stl_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set); in nat64stl_destroy()
428 ipfw_obj_header *oh; in nat64stl_stats() local
438 if (oh == NULL) in nat64stl_stats()
443 cfg = nat64stl_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set); in nat64stl_stats()
474 ipfw_obj_header *oh; in nat64stl_reset_stats() local
[all …]
H A Dnat64clat_control.c218 ipfw_obj_header *oh; in nat64clat_config() local
228 sizeof(*oh) + sizeof(*uc)); in nat64clat_config()
238 cfg = nat64clat_find(ni, oh->ntlv.name, oh->ntlv.set); in nat64clat_config()
249 cfg = nat64clat_find(ni, oh->ntlv.name, oh->ntlv.set); in nat64clat_config()
319 ipfw_obj_header *oh; in nat64clat_destroy() local
330 cfg = nat64clat_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set); in nat64clat_destroy()
423 ipfw_obj_header *oh; in nat64clat_stats() local
433 if (oh == NULL) in nat64clat_stats()
438 cfg = nat64clat_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set); in nat64clat_stats()
469 ipfw_obj_header *oh; in nat64clat_reset_stats() local
[all …]
H A Dnat64lsn_control.c234 ipfw_obj_header *oh; in nat64lsn_destroy() local
242 cfg = nat64lsn_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set); in nat64lsn_destroy()
404 ipfw_obj_header *oh; in nat64lsn_config() local
423 cfg = nat64lsn_find(ni, oh->ntlv.name, oh->ntlv.set); in nat64lsn_config()
436 cfg = nat64lsn_find(ni, oh->ntlv.name, oh->ntlv.set); in nat64lsn_config()
479 ipfw_obj_header *oh; in nat64lsn_stats() local
489 if (oh == NULL) in nat64lsn_stats()
494 cfg = nat64lsn_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set); in nat64lsn_stats()
526 ipfw_obj_header *oh; in nat64lsn_reset_stats() local
536 cfg = nat64lsn_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set); in nat64lsn_reset_stats()
[all …]
/f-stack/freebsd/contrib/device-tree/src/arm64/freescale/
H A Dqoriq-fman3-0.dtsi30 compatible = "fsl,fman-v3-port-oh";
36 compatible = "fsl,fman-v3-port-oh";
42 compatible = "fsl,fman-v3-port-oh";
48 compatible = "fsl,fman-v3-port-oh";
54 compatible = "fsl,fman-v3-port-oh";
60 compatible = "fsl,fman-v3-port-oh";
/f-stack/app/redis-5.0.5/deps/jemalloc/test/src/
H A DSFMT.c164 uint64_t th, tl, oh, ol; in rshift128() local
169 oh = th >> (shift * 8); in rshift128()
175 out->u[3] = (uint32_t)oh; in rshift128()
179 uint64_t th, tl, oh, ol; in rshift128() local
184 oh = th >> (shift * 8); in rshift128()
190 out->u[2] = (uint32_t)oh; in rshift128()
203 uint64_t th, tl, oh, ol; in lshift128() local
208 oh = th << (shift * 8); in lshift128()
214 out->u[3] = (uint32_t)oh; in lshift128()
218 uint64_t th, tl, oh, ol; in lshift128() local
[all …]
/f-stack/freebsd/netpfil/ipfw/
H A Dip_fw_nat.c572 ipfw_obj_header *oh; in nat44_cfg() local
582 oh = (ipfw_obj_header *)sd->kbuf; in nat44_cfg()
585 if (oh->ntlv.head.length != sizeof(oh->ntlv)) in nat44_cfg()
617 ipfw_obj_header *oh; in nat44_destroy() local
622 if (sd->valsize < sizeof(*oh)) in nat44_destroy()
628 if (oh->ntlv.head.length != sizeof(oh->ntlv)) in nat44_destroy()
631 ntlv = &oh->ntlv; in nat44_destroy()
675 ipfw_obj_header *oh; in nat44_get_cfg() local
692 if (oh->ntlv.head.length != sizeof(oh->ntlv)) in nat44_get_cfg()
819 ipfw_obj_header *oh; in nat44_get_log() local
[all …]
H A Dip_fw_table.c970 ipfw_obj_header *oh; in manage_table_ent_v1() local
986 if (oh->ntlv.head.length != sizeof(oh->ntlv)) in manage_table_ent_v1()
989 read = sizeof(*oh); in manage_table_ent_v1()
1022 ti.type = oh->ntlv.type; in manage_table_ent_v1()
1090 ipfw_obj_header *oh; in find_table_entry() local
1109 if (oh->ntlv.head.length != sizeof(oh->ntlv)) in find_table_entry()
1113 ti.type = oh->ntlv.type; in find_table_entry()
1736 if (oh == NULL) in describe_table()
1781 tname = oh->ntlv.name; in modify_table()
1837 tname = oh->ntlv.name; in create_table()
[all …]
/f-stack/freebsd/contrib/device-tree/src/powerpc/fsl/
H A Dqoriq-fman-0.dtsi55 compatible = "fsl,fman-v2-port-oh";
61 compatible = "fsl,fman-v2-port-oh";
67 compatible = "fsl,fman-v2-port-oh";
73 compatible = "fsl,fman-v2-port-oh";
79 compatible = "fsl,fman-v2-port-oh";
86 compatible = "fsl,fman-v2-port-oh";
93 compatible = "fsl,fman-v2-port-oh";
H A Dqoriq-fman-1.dtsi55 compatible = "fsl,fman-v2-port-oh";
61 compatible = "fsl,fman-v2-port-oh";
67 compatible = "fsl,fman-v2-port-oh";
73 compatible = "fsl,fman-v2-port-oh";
79 compatible = "fsl,fman-v2-port-oh";
86 compatible = "fsl,fman-v2-port-oh";
93 compatible = "fsl,fman-v2-port-oh";
H A Dqoriq-fman3-1.dtsi55 compatible = "fsl,fman-v3-port-oh";
61 compatible = "fsl,fman-v3-port-oh";
67 compatible = "fsl,fman-v3-port-oh";
73 compatible = "fsl,fman-v3-port-oh";
79 compatible = "fsl,fman-v3-port-oh";
85 compatible = "fsl,fman-v3-port-oh";
H A Dqoriq-fman3-0.dtsi55 compatible = "fsl,fman-v3-port-oh";
61 compatible = "fsl,fman-v3-port-oh";
67 compatible = "fsl,fman-v3-port-oh";
73 compatible = "fsl,fman-v3-port-oh";
79 compatible = "fsl,fman-v3-port-oh";
85 compatible = "fsl,fman-v3-port-oh";
H A Dqoriq-fman3l-0.dtsi55 compatible = "fsl,fman-v3-port-oh";
61 compatible = "fsl,fman-v3-port-oh";
67 compatible = "fsl,fman-v3-port-oh";
73 compatible = "fsl,fman-v3-port-oh";
/f-stack/freebsd/netpfil/ipfw/nptv6/
H A Dnptv6.c729 ipfw_obj_header *oh; in nptv6_destroy() local
732 if (sd->valsize != sizeof(*oh)) in nptv6_destroy()
735 oh = (ipfw_obj_header *)sd->kbuf; in nptv6_destroy()
740 cfg = nptv6_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set); in nptv6_destroy()
839 ipfw_obj_header *oh; in nptv6_stats() local
849 if (oh == NULL) in nptv6_stats()
857 cfg = nptv6_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set); in nptv6_stats()
865 ctlv = (ipfw_obj_ctlv *)(oh + 1); in nptv6_stats()
888 ipfw_obj_header *oh; in nptv6_reset_stats() local
890 if (sd->valsize != sizeof(*oh)) in nptv6_reset_stats()
[all …]
/f-stack/freebsd/contrib/ncsw/Peripherals/FM/Port/
H A Dfman_port.c795 bmi_cfg_reg = &port->bmi_regs->oh.fmbm_ocfg; in fman_port_enable()
836 bmi_cfg_reg = &port->bmi_regs->oh.fmbm_ocfg; in fman_port_disable()
837 bmi_status_reg = &port->bmi_regs->oh.fmbm_ost; in fman_port_disable()
906 bp_reg = port->bmi_regs->oh.fmbm_oebmpi; in fman_port_set_bpools()
907 bp_depl_reg = &port->bmi_regs->oh.fmbm_ompd; in fman_port_set_bpools()
1076 err_mask_reg = &port->bmi_regs->oh.fmbm_ofsem; in fman_port_set_err_mask()
1155 pcp_reg = &port->bmi_regs->oh.fmbm_opcp; in fman_port_set_perf_cnt_params()
1211 stats_reg = &port->bmi_regs->oh.fmbm_ostc; in fman_port_set_stats_cnt_mode()
1243 stats_reg = &port->bmi_regs->oh.fmbm_opc; in fman_port_set_perf_cnt_mode()
1517 grp_map_reg = port->bmi_regs->oh.fmbm_ocgm; in fman_port_add_congestion_grps()
[all …]
H A Dfm_port.c870 p_Reg = &p_FmPort->port.bmi_regs->oh.fmbm_ostc; in BmiPortCheckAndGetCounterType()
1244 p_BmiNia = &p_FmPort->port.bmi_regs->oh.fmbm_ofne; in SetPcd()
1701 p_BmiNia = &p_FmPort->port.bmi_regs->oh.fmbm_ofne; in DeletePcd()
1768 p_BmiNia = &p_FmPort->port.bmi_regs->oh.fmbm_ofne; in AttachPCD()
1786 WRITE_UINT32(p_FmPort->port.bmi_regs->oh.fmbm_ocmne, in AttachPCD()
1800 WRITE_UINT32(p_FmPort->port.bmi_regs->oh.fmbm_ofene, in AttachPCD()
1810 WRITE_UINT32(p_FmPort->port.bmi_regs->oh.fmbm_ofpne, in AttachPCD()
1821 WRITE_UINT32(p_FmPort->port.bmi_regs->oh.fmbm_ofp, in AttachPCD()
1850 p_BmiNia = &p_FmPort->port.bmi_regs->oh.fmbm_ofne; in DetachPCD()
4676 p_BmiNia = &p_FmPort->port.bmi_regs->oh.fmbm_ofne; in FM_PORT_PcdPlcrModifyInitialProfile()
[all …]
/f-stack/dpdk/lib/librte_net/
H A Drte_ether.h349 struct rte_ether_hdr *oh, *nh; in rte_vlan_insert() local
360 oh = rte_pktmbuf_mtod(*m, struct rte_ether_hdr *); in rte_vlan_insert()
366 memmove(nh, oh, 2 * RTE_ETHER_ADDR_LEN); in rte_vlan_insert()
/f-stack/freebsd/contrib/device-tree/Bindings/net/
H A Dfsl-fman.txt170 - "fsl,fman-v2-port-oh" for FManV2 OH ports
173 - "fsl,fman-v3-port-oh" for FManV3 OH ports
228 compatible = "fsl,fman-v2-port-oh";
492 compatible = "fsl,fman-v2-port-oh";
498 compatible = "fsl,fman-v2-port-oh";
504 compatible = "fsl,fman-v2-port-oh";
510 compatible = "fsl,fman-v2-port-oh";
516 compatible = "fsl,fman-v2-port-oh";
522 compatible = "fsl,fman-v2-port-oh";
/f-stack/freebsd/contrib/ncsw/inc/flib/
H A Dfsl_fman_port.h302 struct fman_port_oh_bmi_regs oh; member

12