Searched refs:max_hops (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/include/uapi/linux/can/
H A Dgw.h79 CGW_DELETED, /* number of deleted CAN frames (see max_hops param) */
162 * frame can be processed as much as 'max_hops' times (which is given at module
164 * possible hops for this gateway rule to a value smaller then max_hops.
/linux-4.4.14/drivers/firewire/
H A Dcore-topology.c157 if (node->ports[i]->max_hops > max_child_hops) update_hop_count()
158 max_child_hops = node->ports[i]->max_hops; update_hop_count()
168 node->max_hops = max(max_child_hops, depths[0] + depths[1] + 2); update_hop_count()
452 node0->max_hops = node1->max_hops; update_tree()
H A Dcore.h186 u8 max_hops:4; /* Max hops in this sub tree */ member in struct:fw_node
H A Dcore-card.c479 root_node->max_hops < ARRAY_SIZE(gap_count_table)) bm_work()
480 gap_count = gap_count_table[root_node->max_hops]; bm_work()
/linux-4.4.14/net/can/
H A Dgw.c74 static unsigned int max_hops __read_mostly = CGW_DEFAULT_HOPS;
75 module_param(max_hops, uint, S_IRUGO);
76 MODULE_PARM_DESC(max_hops,
358 * Do not handle CAN frames routed more than 'max_hops' times. can_can_gw_rcv()
373 if (cgw_hops(skb) >= max_hops) { can_can_gw_rcv()
410 cgw_hops(nskb) = max_hops - gwj->limit_hops + 1; can_can_gw_rcv()
651 if (*limhops < 1 || *limhops > max_hops) cgw_parse_attr()
998 max_hops = clamp_t(unsigned int, max_hops, CGW_MIN_HOPS, CGW_MAX_HOPS); cgw_module_init()
1000 pr_info("can: netlink gateway (rev " CAN_GW_VERSION ") max_hops=%d\n", cgw_module_init()
1001 max_hops); cgw_module_init()

Completed in 182 milliseconds