Home
last modified time | relevance | path

Searched refs:ng_parse_type (Results 1 – 25 of 37) sorted by relevance

12

/freebsd/sys/netgraph/
H A Dng_parse.h200 struct ng_parse_type;
224 typedef int ng_parse_t(const struct ng_parse_type *type, const char *string,
239 typedef int ng_unparse_t(const struct ng_parse_type *type,
253 typedef int ng_getDefault_t(const struct ng_parse_type *type,
259 typedef int ng_getAlign_t(const struct ng_parse_type *type);
278 struct ng_parse_type { struct
279 const struct ng_parse_type *supertype; /* super-type, if any */ argument
302 extern const struct ng_parse_type ng_parse_struct_type; argument
310 const struct ng_parse_type *type; /* field type */
322 extern const struct ng_parse_type ng_parse_fixedarray_type;
[all …]
H A Dng_parse.c103 static int ng_parse_composite(const struct ng_parse_type *type,
106 static int ng_unparse_composite(const struct ng_parse_type *type,
109 static int ng_get_composite_elem_default(const struct ng_parse_type *type,
112 static int ng_get_composite_len(const struct ng_parse_type *type,
115 static const struct ng_parse_type *ng_get_composite_etype(const struct
116 ng_parse_type *type, int index, enum comptype ctype);
117 static int ng_parse_get_elem_pad(const struct ng_parse_type *type,
129 static ng_parse_t *ng_get_parse_method(const struct ng_parse_type *t);
130 static ng_unparse_t *ng_get_unparse_method(const struct ng_parse_type *t);
132 struct ng_parse_type *t);
[all …]
H A Dng_macfilter.c90 static const struct ng_parse_type ng_macfilter_direct_type = {
101 static const struct ng_parse_type ng_macfilter_direct_hookid_type = {
110 macfilter_get_macs_count(const struct ng_parse_type *type, in macfilter_get_macs_count()
120 static const struct ng_parse_type ng_macfilter_mac_type = {
128 static const struct ng_parse_type ng_macfilter_macs_array_type = {
134 static const struct ng_parse_type ng_macfilter_macs_type = {
143 macfilter_get_upper_hook_count(const struct ng_parse_type *type, in macfilter_get_upper_hook_count()
156 static const struct ng_parse_type ng_macfilter_hook_type = {
164 static const struct ng_parse_type ng_macfilter_hooks_array_type = {
170 static const struct ng_parse_type ng_macfilter_hooks_type = {
H A Dng_nat.c74 static const struct ng_parse_type ng_nat_mode_type = {
82 static const struct ng_parse_type ng_nat_description_type = {
90 static const struct ng_parse_type ng_nat_redirect_port_type = {
98 static const struct ng_parse_type ng_nat_redirect_addr_type = {
106 static const struct ng_parse_type ng_nat_redirect_proto_type = {
114 static const struct ng_parse_type ng_nat_add_server_type = {
122 static const struct ng_parse_type ng_nat_listrdrs_entry_type = {
129 ng_nat_listrdrs_ary_getLength(const struct ng_parse_type *type, in ng_nat_listrdrs_ary_getLength()
144 static const struct ng_parse_type ng_nat_listrdrs_ary_type = {
152 static const struct ng_parse_type ng_nat_list_redirects_type = {
[all …]
H A Dng_tag.c128 ng_tag_hookinary_getLength(const struct ng_parse_type *type, in ng_tag_hookinary_getLength()
139 ng_tag_hookoutary_getLength(const struct ng_parse_type *type, in ng_tag_hookoutary_getLength()
149 static const struct ng_parse_type ng_tag_hookinary_type = {
154 static const struct ng_parse_type ng_tag_hookoutary_type = {
162 static const struct ng_parse_type ng_tag_hookin_type = {
170 static const struct ng_parse_type ng_tag_hookout_type = {
179 static const struct ng_parse_type ng_tag_hookstat_type = {
H A Dng_bpf.c119 static const struct ng_parse_type ng_bpf_insn_type = {
126 ng_bpf_hookprogary_getLength(const struct ng_parse_type *type, in ng_bpf_hookprogary_getLength()
141 static const struct ng_parse_type ng_bpf_hookprogary_type = {
149 static const struct ng_parse_type ng_bpf_hookprog_type = {
157 static const struct ng_parse_type ng_bpf_hookstat_type = {
H A Dng_ksocket.c191 ng_parse_generic_sockdata_getLength(const struct ng_parse_type *type, in ng_parse_generic_sockdata_getLength()
201 static const struct ng_parse_type ng_ksocket_generic_sockdata_type = {
214 static const struct ng_parse_type ng_ksocket_generic_sockaddr_type = {
223 ng_ksocket_sockaddr_parse(const struct ng_parse_type *type, in ng_ksocket_sockaddr_parse()
383 ng_ksocket_sockaddr_unparse(const struct ng_parse_type *type, in ng_ksocket_sockaddr_unparse()
457 static const struct ng_parse_type ng_ksocket_sockaddr_type = {
474 ng_parse_sockoptval_getLength(const struct ng_parse_type *type, in ng_parse_sockoptval_getLength()
490 static const struct ng_parse_type ng_ksocket_sockoptval_type = {
498 static const struct ng_parse_type ng_ksocket_sockopt_type = {
506 static const struct ng_parse_type ng_ksocket_accept_type = {
H A Dng_vjc.c103 static const struct ng_parse_type ng_vjc_config_type = {
122 static const struct ng_parse_type ng_vjc_cs_hdr_type = {
136 static const struct ng_parse_type ng_vjc_cstate_type = {
146 static const struct ng_parse_type ng_vjc_cstatearray_type = {
172 static const struct ng_parse_type ng_vjc_slcompress_type = {
H A Dng_patch.c68 ng_patch_config_getlen(const struct ng_parse_type *type, in ng_patch_config_getlen()
81 static const struct ng_parse_type ng_patch_op_type = {
90 static const struct ng_parse_type ng_patch_ops_array_type = {
97 static const struct ng_parse_type ng_patch_config_type = {
104 static const struct ng_parse_type ng_patch_stats_type = {
H A Dng_vlan.c76 static const struct ng_parse_type ng_vlan_filter_type = {
82 ng_vlan_getTableLength(const struct ng_parse_type *type, in ng_vlan_getTableLength()
96 static const struct ng_parse_type ng_vlan_table_array_type = {
102 static const struct ng_parse_type ng_vlan_table_type = {
H A Dng_vlan_rotate.c67 static const struct ng_parse_type ng_vlanrotate_conf_type = {
77 static struct ng_parse_type ng_vlanrotate_stat_hist = {
88 static struct ng_parse_type ng_vlanrotate_stat_type = {
H A Dng_bridge.c205 ng_bridge_getTableLength(const struct ng_parse_type *type, in ng_bridge_getTableLength()
217 static const struct ng_parse_type ng_bridge_host_type = {
225 static const struct ng_parse_type ng_bridge_hary_type = {
231 static const struct ng_parse_type ng_bridge_host_ary_type = {
239 static const struct ng_parse_type ng_bridge_config_type = {
247 static const struct ng_parse_type ng_bridge_stats_type = {
254 static const struct ng_parse_type ng_bridge_move_host_type = {
H A Dng_pipe.c149 static const struct ng_parse_type ng_pipe_hookstat_type = {
157 static const struct ng_parse_type ng_pipe_stats_type = {
165 static const struct ng_parse_type ng_pipe_hookrun_type = {
173 static const struct ng_parse_type ng_pipe_run_type = {
181 static const struct ng_parse_type ng_pipe_hookcfg_type = {
189 static const struct ng_parse_type ng_pipe_cfg_type = {
H A Dng_one2many.c102 static const struct ng_parse_type ng_one2many_enableLinks_array_type = {
108 static const struct ng_parse_type ng_one2many_config_type = {
116 static const struct ng_parse_type ng_one2many_link_stats_type = {
H A Dng_source.h64 extern const struct ng_parse_type ng_source_timeval_type;
H A Dng_source.c139 const struct ng_parse_type ng_source_timeval_type = {
147 static const struct ng_parse_type ng_source_stats_type = {
155 static const struct ng_parse_type ng_source_embed_type = {
163 static const struct ng_parse_type ng_source_embed_cnt_type = {
H A Dng_car.c105 static const struct ng_parse_type ng_car_hookstats_type = {
113 static const struct ng_parse_type ng_car_bulkstats_type = {
121 static const struct ng_parse_type ng_car_hookconf_type = {
129 static const struct ng_parse_type ng_car_bulkconf_type = {
H A Dng_etf.c76 static const struct ng_parse_type ng_etf_stat_type = {
83 static const struct ng_parse_type ng_etf_filter_type = {
H A Dng_tcpmss.c90 static const struct ng_parse_type ng_tcpmss_hookstat_type = {
98 static const struct ng_parse_type ng_tcpmss_config_type = {
H A Dng_tee.c98 static const struct ng_parse_type ng_tee_hookstat_type = {
106 static const struct ng_parse_type ng_tee_stats_type = {
H A Dng_hole.c65 static const struct ng_parse_type ng_hole_hookstat_type = {
H A Dng_ppp.c338 static const struct ng_parse_type ng_ppp_rseq_array_type = {
344 static const struct ng_parse_type ng_ppp_mp_state_type = {
352 static const struct ng_parse_type ng_ppp_link_type = {
360 static const struct ng_parse_type ng_ppp_bund_type = {
370 static const struct ng_parse_type ng_ppp_link_array_type = {
376 static const struct ng_parse_type ng_ppp_conf_type = {
384 static const struct ng_parse_type ng_ppp_stats_type = {
392 static const struct ng_parse_type ng_ppp_stats64_type = {
H A Dng_l2tp.c193 static const struct ng_parse_type ng_l2tp_seq_config_type = {
201 static const struct ng_parse_type ng_l2tp_config_type = {
209 static const struct ng_parse_type ng_l2tp_sess_config_type = {
217 static const struct ng_parse_type ng_l2tp_stats_type = {
225 static const struct ng_parse_type ng_l2tp_session_stats_type = {
/freebsd/sys/netgraph/bluetooth/hci/
H A Dng_hci_prse.h49 static const struct ng_parse_type ng_hci_bdaddr_type = {
59 static const struct ng_parse_type ng_hci_features_type = {
76 static const struct ng_parse_type ng_hci_buffer_type = {
94 static const struct ng_parse_type ng_hci_stat_type = {
/freebsd/sys/netgraph/netflow/
H A Dng_netflow.c86 static const struct ng_parse_type ng_netflow_info_type = {
94 static const struct ng_parse_type ng_netflow_ifinfo_type = {
102 static const struct ng_parse_type ng_netflow_setdlt_type = {
110 static const struct ng_parse_type ng_netflow_setifindex_type = {
118 static const struct ng_parse_type ng_netflow_settimeouts_type = {
126 static const struct ng_parse_type ng_netflow_setconfig_type = {
134 static const struct ng_parse_type ng_netflow_settemplate_type = {
142 static const struct ng_parse_type ng_netflow_setmtu_type = {
150 static const struct ng_parse_type ng_netflow_v9info_type = {

12