Home
last modified time | relevance | path

Searched full:mesh (Results 1 – 25 of 239) sorted by relevance

12345678910

/freebsd/contrib/unbound/services/
H A Dmesh.c2 * services/mesh.c - deal with mesh of query states and handle events for that.
39 * This file contains functions to assist in dealing with a mesh of
40 * query states. This mesh is supposed to be thread-specific.
46 #include "services/mesh.h"
81 * Compare two response-ip client info entries for the purpose of mesh state
85 * We cannot share the mesh state for two queries if different response-ip
193 struct mesh_area* mesh = calloc(1, sizeof(struct mesh_area)); in mesh_create() local
194 if(!mesh) { in mesh_create()
195 log_err("mesh area alloc: out of memory"); in mesh_create()
198 mesh->histogram = timehist_setup(); in mesh_create()
[all …]
H A Dmesh.h2 * services/mesh.h - deal with mesh of query states and handle events for that.
39 * This file contains functions to assist in dealing with a mesh of
40 * query states. This mesh is supposed to be thread-specific.
67 * Maximum number of mesh state activations. Any more is likely an
80 * Mesh of query states
161 * A mesh query state
187 /** number of activations for the mesh state */
211 /** the mesh state */
231 /** qname from this query. len same as mesh qinfo. */
240 * Mesh result callback func.
[all …]
/freebsd/usr.sbin/bsdinstall/partedit/
H A Dscripted.c40 provider_for_name(struct gmesh *mesh, const char *name) in provider_for_name() argument
46 LIST_FOREACH(classp, &mesh->lg_class, lg_class) { in provider_for_name()
69 struct gmesh mesh; in part_config() local
76 error = geom_gettree(&mesh); in part_config()
79 if (provider_for_name(&mesh, disk) == NULL) { in part_config()
81 geom_deletetree(&mesh); in part_config()
86 LIST_FOREACH(classp, &mesh.lg_class, lg_class) in part_config()
110 geom_deletetree(&mesh); in part_config()
111 error = geom_gettree(&mesh); in part_config()
119 wizard_makeparts(&mesh, disk, "ufs", 0); in part_config()
[all …]
H A Dpart_wizard.c46 static char *wizard_partition(struct gmesh *mesh, const char *disk);
53 struct gmesh mesh; in part_wizard() local
65 error = geom_gettree(&mesh); in part_wizard()
70 disk = boot_disk_select(&mesh); in part_wizard()
72 geom_deletetree(&mesh); in part_wizard()
78 schemeroot = wizard_partition(&mesh, disk); in part_wizard()
80 geom_deletetree(&mesh); in part_wizard()
86 error = geom_gettree(&mesh); in part_wizard()
92 error = wizard_makeparts(&mesh, schemeroot, fstype, 1); in part_wizard()
94 geom_deletetree(&mesh); in part_wizard()
[all …]
H A Dpartedit.c49 static int apply_changes(struct gmesh *mesh);
50 static void apply_workaround(struct gmesh *mesh);
51 static struct partedit_item *read_geom_mesh(struct gmesh *mesh, int *nitems);
61 struct gmesh mesh; in sigint_handler() local
64 if (geom_gettree(&mesh) == 0) { in sigint_handler()
65 gpart_revert_all(&mesh); in sigint_handler()
66 geom_deletetree(&mesh); in sigint_handler()
80 struct gmesh mesh; in main() local
130 error = geom_gettree(&mesh); in main()
132 items = read_geom_mesh(&mesh, &nitems); in main()
[all …]
H A Dpartedit.h61 char *boot_disk_select(struct gmesh *mesh);
62 int wizard_makeparts(struct gmesh *mesh, const char *disk, const char *fstype,
74 void gpart_revert_all(struct gmesh *mesh);
75 void gpart_commit(struct gmesh *mesh);
/freebsd/sys/net80211/
H A Dieee80211_mesh.h43 /* Mesh Configuration */
57 /* Hybrid Wireless Mesh Protocol */
99 /* Mesh Formation Info */
104 /* Mesh Capability */
114 /* Mesh Identifier */
154 /* Mesh Peering Protocol Identifier field value */
156 IEEE80211_MPPID_MPM = 0, /* Mesh peering management */
157 IEEE80211_MPPID_AUTH_MPM = 1, /* Auth. mesh peering exchange */
162 /* Mesh Channel Switch Annoucement */
173 /* Mesh TIM */
[all …]
H A Dieee80211_mesh.c32 * IEEE 802.11s Mesh Point (MBSS) support.
105 static SYSCTL_NODE(_net_wlan, OID_AUTO, mesh, CTLFLAG_RD | CTLFLAG_MPSAFE, 0,
111 "mesh gate interval (ms)");
168 MALLOC_DEFINE(M_80211_MESH_PREQ, "80211preq", "802.11 MESH Path Request frame");
169 MALLOC_DEFINE(M_80211_MESH_PREP, "80211prep", "802.11 MESH Path Reply frame");
170 MALLOC_DEFINE(M_80211_MESH_PERR, "80211perr", "802.11 MESH Path Error frame");
179 * Helper functions to manipulate the Mesh routing table.
515 * NB: When a mesh gate is running as a ROOT it shall in mesh_gatemode_setup()
517 * mesh gate flag for the corresponding proactive PREQ in mesh_gatemode_setup()
559 * Setup mesh parameters that depends on the clock frequency. in ieee80211_mesh_init()
[all …]
H A Dieee80211_ioctl.h231 uint32_t is_mesh_wrongmesh; /* dropped 'cuz not mesh sta*/
233 uint32_t is_mesh_fwd_ttl; /* mesh not fwd'd 'cuz ttl 0 */
234 uint32_t is_mesh_fwd_nobuf; /* mesh not fwd'd 'cuz no mbuf*/
235 uint32_t is_mesh_fwd_tooshort; /* mesh not fwd'd 'cuz no hdr */
236 uint32_t is_mesh_fwd_disabled; /* mesh not fwd'd 'cuz disabled */
237 uint32_t is_mesh_fwd_nopath; /* mesh not fwd'd 'cuz path unknown */
338 * Mesh Routing Table Operations.
716 #define IEEE80211_IOC_MESH_ID 170 /* mesh identifier */
719 #define IEEE80211_IOC_MESH_PROTO 173 /* mesh protocols */
720 #define IEEE80211_IOC_MESH_TTL 174 /* mesh TTL */
[all …]
/freebsd/lib/libefivar/
H A Defivar-dp-xlate.c59 geom_pp_attr(struct gmesh *mesh, struct gprovider *pp, const char *attr) in geom_pp_attr() argument
72 find_provider_by_efimedia(struct gmesh *mesh, const char *efimedia) in find_provider_by_efimedia() argument
82 LIST_FOREACH(classp, &mesh->lg_class, lg_class) { in find_provider_by_efimedia()
96 val = geom_pp_attr(mesh, pp, "efimedia"); in find_provider_by_efimedia()
108 find_provider_by_name(struct gmesh *mesh, const char *name) in find_provider_by_name() argument
114 LIST_FOREACH(classp, &mesh->lg_class, lg_class) { in find_provider_by_name()
128 efi_hd_to_unix(struct gmesh *mesh, const_efidp dp, char **dev, char **relpath, char **abspath) in efi_hd_to_unix() argument
171 pp = find_provider_by_efimedia(mesh, buf); in efi_hd_to_unix()
219 LIST_FOREACH(glabel, &mesh->lg_class, lg_class) { in efi_hd_to_unix()
315 * If we find a media descriptor, we search through the geom mesh to see if we
[all …]
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dsnmp_wlan.3110 The subtree contains system configuration related to Wireless Mesh Routing.
113 mesh points.
116 operating in mesh mode.
118 The mesh routing table for interfaces operating as mesh points, used for
119 forwarding packets on a mesh network.
121 column is used to add or delete entries in the mesh routing table for an
126 Summary statistics for each virtual wireless interface operating as mesh point.
128 The subtree contains system configuration related to Hybrid Wireless Mesh
131 The table contains HWMP information for wireless interfaces operating in mesh
134 Summary statistics for HWMP operation on interfaces operating as mesh points.
H A DBEGEMOT-WIRELESS-MIB.txt110 mesh routing management frames to indicate why an
1491 "The SSID/MESH ID for this scan result entry."
3184 -- The Mesh Routing Database for interfaces operating in mesh mode
3202 "Maximum retries during peer link establishment for wireless mesh
3213 "Confirm state timeout for wireless mesh routing operation."
3223 "Holding state timeout for wireless mesh routing operation."
3233 "Retry timeout for wireless mesh routing operation."
3243 as wireless mesh points."
3251 "Wireless Mesh Routing information for an interface operating as
3252 mesh point."
[all …]
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_mesh.c177 * mesh errors
185 * per fabric mesh info
191 int dimension; /* mesh dimension */
192 int *size; /* an array to hold size of mesh */
198 mesh_t *mesh; member
674 static void classify_switch(lash_t *p_lash, mesh_t *mesh, int sw) in classify_switch() argument
686 for (i = 0; i < mesh->num_class; i++) { in classify_switch()
687 s1 = p_lash->switches[mesh->class_type[i]]; in classify_switch()
692 mesh->class_count[i]++; in classify_switch()
696 mesh->class_type[mesh->num_class] = sw; in classify_switch()
[all …]
/freebsd/contrib/wpa/wpa_supplicant/
H A Dmesh_rsn.c2 * WPA Supplicant - Mesh RSN routines
213 wpa_hexdump_key(MSG_DEBUG, "mesh: Own TX IGTK", in __mesh_rsn_auth_init()
224 wpa_hexdump_key(MSG_DEBUG, "mesh: Own TX MGTK", in __mesh_rsn_auth_init()
398 "mesh: Failed to initialize RSN state machine"); in mesh_rsn_auth_sae_sta()
403 "AUTH: Mesh PMKSA cache entry found for " MACSTR in mesh_rsn_auth_sae_sta()
472 /* derive mesh temporal key from pmk */
538 wpa_printf(MSG_INFO, "mesh: Failed to derive random nonce"); in mesh_rsn_init_ampe_sta()
547 * @mesh_rsn: mesh RSN context
595 * Mesh Group Key Inform/Acknowledge frames */ in mesh_rsn_protect_frame()
623 wpa_hexdump_key(MSG_DEBUG, "mesh: Plaintext AMPE element", in mesh_rsn_protect_frame()
[all …]
H A Dmesh.c2 * WPA Supplicant - Basic mesh mode routines
28 #include "mesh.h"
113 wpa_msg(wpa_s, MSG_INFO, "mesh: Invalid pairwise cipher"); in mesh_config_create()
122 wpa_msg(wpa_s, MSG_INFO, "mesh: Invalid group cipher"); in mesh_config_create()
185 "mesh: Passphrase for SAE not configured"); in wpas_mesh_init_rsn()
235 wpa_printf(MSG_ERROR, "Error updating mesh frequency params"); in wpas_mesh_update_freq_params()
252 wpa_printf(MSG_ERROR, "mesh: %s called without active mesh", in wpas_mesh_complete()
271 "mesh: RSN initialization failed - deinit mesh"); in wpas_mesh_complete()
288 wpa_msg(wpa_s, MSG_INFO, "joining mesh %s", in wpas_mesh_complete()
292 wpa_msg(wpa_s, MSG_ERROR, "mesh join error=%d", ret); in wpas_mesh_complete()
[all …]
H A Dmesh_mpm.c2 * WPA Supplicant - Basic mesh peer management
28 const u8 *proto_id; /* Mesh Peering Protocol Identifier (2 octets) */
232 2 + 32 + /* mesh ID */ in mesh_mpm_send_plink_action()
233 2 + 7 + /* mesh config */ in mesh_mpm_send_plink_action()
301 /* IE: Mesh ID */ in mesh_mpm_send_plink_action()
306 /* IE: mesh conf */ in mesh_mpm_send_plink_action()
315 /* TODO: Add Connected to Mesh Gate/AS subfields */ in mesh_mpm_send_plink_action()
322 /* IE: Mesh ID */ in mesh_mpm_send_plink_action()
328 /* IE: Mesh Peering Management element */ in mesh_mpm_send_plink_action()
360 wpa_msg(wpa_s, MSG_INFO, "Mesh MPM: no SAE session"); in mesh_mpm_send_plink_action()
[all …]
/freebsd/contrib/unbound/daemon/
H A Dstats.c51 #include "services/mesh.h"
99 stats->sum_query_list_size += worker->env.mesh->all.count; in server_stats_querymiss()
100 if((long long)worker->env.mesh->all.count > stats->max_query_list_size) in server_stats_querymiss()
101 stats->max_query_list_size = (long long)worker->env.mesh->all.count; in server_stats_querymiss()
108 stats->sum_query_list_size += worker->env.mesh->all.count; in server_stats_prefetch()
109 if((long long)worker->env.mesh->all.count > stats->max_query_list_size) in server_stats_prefetch()
110 stats->max_query_list_size = (long long)worker->env.mesh->all.count; in server_stats_prefetch()
132 (unsigned)worker->env.mesh->stats_dropped, in server_stats_log()
133 (unsigned)worker->env.mesh->stats_jostled); in server_stats_log()
143 int m = modstack_find(&worker->env.mesh->mods, "subnetcache"); in set_subnet_stats()
[all …]
H A Dworker.c62 #include "services/mesh.h"
124 size_t total, front, back, mesh, msg, rrset, infra, ac, superac; in worker_mem_report() local
137 mesh = mesh_get_mem(worker->env.mesh); in worker_mem_report()
143 for(i=0; i<worker->env.mesh->mods.num; i++) { in worker_mem_report()
144 fptr_ok(fptr_whitelist_mod_get_mem(worker->env.mesh-> in worker_mem_report()
146 if(strcmp(worker->env.mesh->mods.mod[i]->name, "validator")==0) in worker_mem_report()
147 val += (*worker->env.mesh->mods.mod[i]->get_mem) in worker_mem_report()
150 else if(strcmp(worker->env.mesh->mods.mod[i]->name, in worker_mem_report()
152 subnet += (*worker->env.mesh->mods.mod[i]->get_mem) in worker_mem_report()
155 else iter += (*worker->env.mesh->mods.mod[i]->get_mem) in worker_mem_report()
[all …]
/freebsd/sbin/geom/core/
H A Dgeom.c670 find_geom_by_provider(struct gmesh *mesh, const char *name) in find_geom_by_provider() argument
676 LIST_FOREACH(classp, &mesh->lg_class, lg_class) { in find_geom_by_provider()
689 compute_tree_width_geom(struct gmesh *mesh, struct ggeom *gp, int indent) in compute_tree_width_geom() argument
700 LIST_FOREACH(classp2, &mesh->lg_class, lg_class) { in compute_tree_width_geom()
706 width = compute_tree_width_geom(mesh, in compute_tree_width_geom()
719 compute_tree_width(struct gmesh *mesh) in compute_tree_width() argument
727 LIST_FOREACH(classp, &mesh->lg_class, lg_class) { in compute_tree_width()
731 width = compute_tree_width_geom(mesh, gp, 0); in compute_tree_width()
741 show_tree_geom(struct gmesh *mesh, struct ggeom *gp, int indent, int width) in show_tree_geom() argument
761 LIST_FOREACH(classp2, &mesh->lg_class, lg_class) { in show_tree_geom()
[all …]
/freebsd/lib/geom/part/
H A Dgeom_part.c197 find_class(struct gmesh *mesh, const char *name) in find_class() argument
201 LIST_FOREACH(classp, &mesh->lg_class, lg_class) { in find_class()
322 struct gmesh mesh; in gpart_autofill_resize() local
341 error = geom_gettree_geom(&mesh, s, g, 1); in gpart_autofill_resize()
344 cp = find_class(&mesh, s); in gpart_autofill_resize()
431 geom_deletetree(&mesh); in gpart_autofill_resize()
438 geom_deletetree(&mesh); in gpart_autofill_resize()
445 struct gmesh mesh; in gpart_autofill() local
468 error = geom_gettree_geom(&mesh, s, g, 1); in gpart_autofill()
471 cp = find_class(&mesh, s); in gpart_autofill()
[all …]
/freebsd/contrib/unbound/util/
H A Dmodule.h43 * they are done, the reply is passed back. In the usual setup the mesh
69 * A query comes in, and a mesh entry is created for it. The mesh
94 * There is no previous module from the validator module, and the mesh
95 * takes this to mean that the query is finally done. The mesh invokes
99 * query, then the mesh will tell them about it. It calls the inform_super
119 * The mesh meanwhile will have the newly created query (or queries) on
123 * done. When they are done the mesh calls inform_super on the module that
124 * wanted the recursion. After that the mesh calls operate() on the module
230 /** whether the option needs mesh aggregation */
254 * mesh states.
[all …]
/freebsd/tools/tools/net80211/scripts/mesh/
H A Dcommon8 . config.mesh
10 WLAN=`ifconfig wlan create wlanmode mesh wlandev $WIRELESS`
12 wlandebug -i $WLAN mesh+hwmp+state+scan+assoc
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_mesh.h37 * Declarations for mesh analysis
58 * per switch node mesh info
62 int *coord; /* mesh coordinates of switch */
66 int dimension; /* apparent dimension of mesh around node */
/freebsd/contrib/wpa/src/drivers/
H A Dnl80211_copy.h443 * @NL80211_CMD_GET_MPATH: Get mesh path attributes for mesh path to
446 * @NL80211_CMD_SET_MPATH: Set mesh path attributes for mesh path to
449 * @NL80211_CMD_NEW_MPATH: Create a new mesh path for the destination given by
451 * @NL80211_CMD_DEL_MPATH: Delete a mesh path to the destination given by
453 * @NL80211_CMD_NEW_PATH: Add a mesh path with given attributes to the
455 * @NL80211_CMD_DEL_PATH: Remove a mesh path identified by %NL80211_ATTR_MAC
456 * or, if no MAC address given, all mesh paths, on the interface identified
488 * @NL80211_CMD_GET_MESH_CONFIG: Get mesh networking properties for the
491 * @NL80211_CMD_SET_MESH_CONFIG: Set mesh networking properties for the
844 * @NL80211_CMD_JOIN_MESH: Join a mesh. The mesh ID must be given, and initial
[all …]
/freebsd/sbin/ggate/shared/
H A Dggate.c311 find_class(struct gmesh *mesh, const char *name) in find_class() argument
315 LIST_FOREACH(class, &mesh->lg_class, lg_class) { in find_class()
365 struct gmesh mesh; in g_gate_list() local
371 error = geom_gettree(&mesh); in g_gate_list()
374 class = find_class(&mesh, G_GATE_CLASS_NAME); in g_gate_list()
376 geom_deletetree(&mesh); in g_gate_list()
388 geom_deletetree(&mesh); in g_gate_list()

12345678910