Home
last modified time | relevance | path

Searched refs:hops (Results 1 – 25 of 41) sorted by relevance

12

/NextBSD/contrib/ofed/management/opensm/opensm/
HDosm_switch.c62 if (!p_sw->hops[lid_ho]) { in osm_switch_set_hops()
63 p_sw->hops[lid_ho] = malloc(p_sw->num_ports); in osm_switch_set_hops()
64 if (!p_sw->hops[lid_ho]) in osm_switch_set_hops()
66 memset(p_sw->hops[lid_ho], OSM_NO_PATH, p_sw->num_ports); in osm_switch_set_hops()
69 p_sw->hops[lid_ho][port_num] = num_hops; in osm_switch_set_hops()
70 if (p_sw->hops[lid_ho][0] > num_hops) in osm_switch_set_hops()
71 p_sw->hops[lid_ho][0] = num_hops; in osm_switch_set_hops()
151 if (p_sw->hops) { in osm_switch_delete()
153 if (p_sw->hops[i]) in osm_switch_delete()
154 free(p_sw->hops[i]); in osm_switch_delete()
[all …]
HDosm_sa_multipath_record.c71 int hops; member
81 int hops; member
185 int hops = 0; in __osm_mpr_rcv_get_path_parms() local
308 hops++; in __osm_mpr_rcv_get_path_parms()
732 p_parms->hops = hops; in __osm_mpr_rcv_get_path_parms()
737 pkt_life, cl_ntoh16(required_pkey), required_sl, hops); in __osm_mpr_rcv_get_path_parms()
863 p_pr_item->hops = path_parms.hops; in __osm_mpr_rcv_get_lid_pair_path()
1131 src_lid_ho, dest_lid_ho, p_pr_item->hops); in __osm_mpr_rcv_get_apm_port_pair_paths()
1339 matrix[0][0]->hops, matrix[0][1]->path_rec.slid, in __osm_mpr_rcv_get_apm_paths()
1340 matrix[0][1]->path_rec.dlid, matrix[0][1]->hops, in __osm_mpr_rcv_get_apm_paths()
[all …]
HDosm_ucast_file.c109 uint8_t hops[], unsigned len) in add_lid_hops() argument
119 osm_switch_set_hops(p_sw, lid, i, hops[i]); in add_lid_hops()
259 uint8_t hops[256]; in do_lid_matrix_file_load() local
328 memset(hops, 0xff, sizeof(hops)); in do_lid_matrix_file_load()
355 hops[len++] = (uint8_t) num; in do_lid_matrix_file_load()
382 add_lid_hops(p_osm, p_sw, lid, guid, hops, len); in do_lid_matrix_file_load()
HDosm_ucast_cache.c74 uint8_t **hops; member
136 if (p_sw->hops) in __cache_sw_destroy()
137 free(p_sw->hops); in __cache_sw_destroy()
345 p_cache_sw->num_hops && p_cache_sw->hops); in __cache_restore_ucast_info()
356 if (p_sw->hops) in __cache_restore_ucast_info()
357 free(p_sw->hops); in __cache_restore_ucast_info()
358 p_sw->hops = p_cache_sw->hops; in __cache_restore_ucast_info()
359 p_cache_sw->hops = NULL; in __cache_restore_ucast_info()
1005 if (!p_node->sw->num_hops || !p_node->sw->hops) { in osm_ucast_cache_add_node()
1017 p_cache_sw->hops = p_node->sw->hops; in osm_ucast_cache_add_node()
[all …]
HDosm_mcast_mgr.c139 uint32_t hops = 0; in osm_mcast_mgr_compute_avg_hops() local
173 hops += osm_switch_get_port_least_hops(p_sw, p_port); in osm_mcast_mgr_compute_avg_hops()
183 avg_hops = (float)(hops / num_ports); in osm_mcast_mgr_compute_avg_hops()
199 uint32_t hops = 0; in osm_mcast_mgr_compute_max_hops() local
232 hops = osm_switch_get_port_least_hops(p_sw, p_port); in osm_mcast_mgr_compute_max_hops()
233 if (hops > max_hops) in osm_mcast_mgr_compute_max_hops()
234 max_hops = hops; in osm_mcast_mgr_compute_max_hops()
261 float hops = 0; in __osm_mcast_mgr_find_optimal_switch() local
282 hops = osm_mcast_mgr_compute_avg_hops(sm, p_mgrp, p_sw); in __osm_mcast_mgr_find_optimal_switch()
284 hops = osm_mcast_mgr_compute_max_hops(sm, p_mgrp, p_sw); in __osm_mcast_mgr_find_optimal_switch()
[all …]
HDosm_ucast_mgr.c148 uint8_t hops; in __osm_ucast_mgr_process_neighbor() local
166 hops = osm_switch_get_least_hops(p_remote_sw, lid_ho); in __osm_ucast_mgr_process_neighbor()
167 if (hops == OSM_NO_PATH) in __osm_ucast_mgr_process_neighbor()
169 hops++; in __osm_ucast_mgr_process_neighbor()
170 if (hops < in __osm_ucast_mgr_process_neighbor()
173 (p_this_sw, lid_ho, port_num, hops) != 0) in __osm_ucast_mgr_process_neighbor()
HDosm_ucast_updn.c294 if (p_sw->hops[i]) { in updn_clear_root_hops()
301 memset(p_sw->hops[i], 0xff, p_sw->num_ports); in updn_clear_root_hops()
/NextBSD/contrib/ofed/management/opensm/include/opensm/
HDosm_switch.h101 uint8_t **hops; member
255 return (lid_ho > p_sw->max_lid_ho || !p_sw->hops[lid_ho]) ? in osm_switch_get_hop_count()
256 OSM_NO_PATH : p_sw->hops[lid_ho][port_num]; in osm_switch_get_hop_count()
346 return (lid_ho > p_sw->max_lid_ho || !p_sw->hops[lid_ho]) ? in osm_switch_get_least_hops()
347 OSM_NO_PATH : p_sw->hops[lid_ho][0]; in osm_switch_get_least_hops()
/NextBSD/usr.sbin/traceroute6/
HDtraceroute6.c302 u_char hops; /* hop limit of the packet */ member
374 u_long probe, hops, lport; local
909 for (hops = first_hop; hops <= max_hops; ++hops) {
914 printf("%2lu ", hops);
921 send_probe(++seq, hops);
1038 send_probe(seq, hops) in send_probe() argument
1040 u_long hops;
1048 i = hops;
1075 op->hops = hops;
/NextBSD/libexec/bootpd/bootpgw/
HDbootpgw.c521 u_char hops; in handle_request() local
535 hops = bp->bp_hops; in handle_request()
536 if (++hops > maxhops) { in handle_request()
541 bp->bp_hops = hops; in handle_request()
/NextBSD/contrib/ntp/clockstuff/
HDpropdelay.c284 int hops; in doit() local
287 hops = finddelay(lat1, long1, lat2, long2, h, &delay); in doit()
289 str, h, hops, delay); in doit()
/NextBSD/contrib/ofed/management/opensm/doc/
HDmodular-routing.txt20 - this will load switch LFTs and/or LID matrices (min hops tables)
53 The ability to dump switch lid matrices (aka min hops tables) to file and
HDcurrent-routing.txt6 1. Min Hop Algorithm - based on the minimum hops to each node where the
9 2. UPDN Unicast routing algorithm - also based on the minimum hops to each
47 How many hops are required to get from each port to each LID ?
/NextBSD/sbin/dhclient/
HDdhcp.h62 u_int8_t hops; /* Number of relay agent hops from client */ member
/NextBSD/tools/tools/net80211/wesside/
HDREADME10 * Channel hops, finds a WEP wifi, finds a MAC to spoof if necessary and
/NextBSD/contrib/wpa/src/ap/
HDdhcp_snoop.c27 u8 hops; member
/NextBSD/contrib/ipfilter/rules/
HDfirewall31 closest to your internal network in terms of network hops.
/NextBSD/contrib/tcpdump/
HDprint-decnet.c509 int dst, src, hops; in decnet_print() local
575 hops = EXTRACT_LE_8BITS(rhp->rh_long.lg_visits); in decnet_print()
583 hops = (EXTRACT_LE_8BITS(rhp->rh_short.sh_visits) & VIS_MASK)+1; in decnet_print()
602 ND_PRINT((ndo, "%d hops ", hops)); in decnet_print()
/NextBSD/sbin/ping6/
HDping6.c902 int hops; in main() local
923 for (hops = 0; hops < argc - 1; hops++) { in main()
927 if ((error = getaddrinfo(argv[hops], NULL, &hints, in main()
/NextBSD/crypto/openssh/
HDREADME.tun67 the remote host over two ssh hops in between. It uses the OpenSSH
/NextBSD/contrib/ofed/management/doc/
HDibtracer.txt38 reached. As the hops to the destination are walked, the incoming ports are
/NextBSD/contrib/wpa/src/drivers/
HDdriver_wired.c69 u_int8_t hops; member
/NextBSD/sys/netinet6/
HDicmp6.c1036 int hops; in icmp6_notify_error() local
1053 (hops = rth0->ip6r0_len/2)) in icmp6_notify_error()
1054 finaldst = (struct in6_addr *)(rth0 + 1) + (hops - 1); in icmp6_notify_error()
/NextBSD/share/examples/IPv6/
HDUSAGE232 traceroute to tokyo.v6.wide.ad.jp (3ffe:501:0:401:200:e8ff:fed5:8923), 30 hops max, 12 byte packets
240 traceroute to tokyo.v6.wide.ad.jp (3ffe:501:0:401:200:e8ff:fed5:8923), 30 hops max, 12 byte packets
/NextBSD/sys/nfs/
HDbootp_subr.c109 u_int8_t hops; member
1229 ifctx->call.hops = 0; in bootpc_compose_query()

12