您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ to_bridge函数代码示例

51自学网 2021-06-03 08:53:49
  C++
这篇教程C++ to_bridge函数代码示例写得很实用,希望能帮到您。

本文整理汇总了C++中to_bridge函数的典型用法代码示例。如果您正苦于以下问题:C++ to_bridge函数的具体用法?C++ to_bridge怎么用?C++ to_bridge使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。

在下文中一共展示了to_bridge函数的28个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: show_topology_change

static ssize_t show_topology_change(struct device *d,				    struct device_attribute *attr, char *buf){	return sprintf(buf, "%d/n", to_bridge(d)->topology_change);}
开发者ID:458941968,项目名称:mini2440-kernel-2.6.29,代码行数:5,


示例2: show_ageing_time

static ssize_t show_ageing_time(struct class_device *cd, char *buf){	struct net_bridge *br = to_bridge(cd);	return sprintf(buf, "%lu/n", jiffies_to_clock_t(br->ageing_time));}
开发者ID:Antonio-Zhou,项目名称:Linux-2.6.11,代码行数:5,


示例3: show_stp_state

static ssize_t show_stp_state(struct device *d,			      struct device_attribute *attr, char *buf){	struct net_bridge *br = to_bridge(d);	return sprintf(buf, "%d/n", br->stp_enabled);}
开发者ID:458941968,项目名称:mini2440-kernel-2.6.29,代码行数:6,


示例4: show_bridge_id

static ssize_t show_bridge_id(struct device *d, struct device_attribute *attr,			      char *buf){	return br_show_bridge_id(buf, &to_bridge(d)->bridge_id);}
开发者ID:458941968,项目名称:mini2440-kernel-2.6.29,代码行数:5,


示例5: hello_time_show

static ssize_t hello_time_show(struct device *d, struct device_attribute *attr,			       char *buf){	return sprintf(buf, "%lu/n",		       jiffies_to_clock_t(to_bridge(d)->hello_time));}
开发者ID:7799,项目名称:linux,代码行数:6,


示例6: show_max_age

static ssize_t show_max_age(struct device *d, struct device_attribute *attr,			    char *buf){	return sprintf(buf, "%lu/n",		       jiffies_to_clock_t(to_bridge(d)->max_age));}
开发者ID:458941968,项目名称:mini2440-kernel-2.6.29,代码行数:6,


示例7: show_topology_change

static ssize_t show_topology_change(struct class_device *cd, char *buf){	return sprintf(buf, "%d/n", to_bridge(cd)->topology_change);}
开发者ID:Antonio-Zhou,项目名称:Linux-2.6.11,代码行数:4,


示例8: multicast_startup_query_count_show

static ssize_t multicast_startup_query_count_show(	struct device *d, struct device_attribute *attr, char *buf){	struct net_bridge *br = to_bridge(d);	return sprintf(buf, "%u/n", br->multicast_startup_query_count);}
开发者ID:7799,项目名称:linux,代码行数:6,


示例9: show_bridge_id

static ssize_t show_bridge_id(struct class_device *cd, char *buf){	return br_show_bridge_id(buf, &to_bridge(cd)->bridge_id);}
开发者ID:Antonio-Zhou,项目名称:Linux-2.6.11,代码行数:4,


示例10: show_root_path_cost

static ssize_t show_root_path_cost(struct class_device *cd, char *buf){	return sprintf(buf, "%d/n", to_bridge(cd)->root_path_cost);}
开发者ID:Antonio-Zhou,项目名称:Linux-2.6.11,代码行数:4,


示例11: show_root_id

static ssize_t show_root_id(struct class_device *cd, char *buf){	return br_show_bridge_id(buf, &to_bridge(cd)->designated_root);}
开发者ID:Antonio-Zhou,项目名称:Linux-2.6.11,代码行数:4,


示例12: show_priority

static ssize_t show_priority(struct class_device *cd, char *buf){	struct net_bridge *br = to_bridge(cd);	return sprintf(buf, "%d/n",		       (br->bridge_id.prio[0] << 8) | br->bridge_id.prio[1]);}
开发者ID:Antonio-Zhou,项目名称:Linux-2.6.11,代码行数:6,


示例13: show_stp_state

static ssize_t show_stp_state(struct class_device *cd, char *buf){	struct net_bridge *br = to_bridge(cd);	return sprintf(buf, "%d/n", br->stp_enabled);}
开发者ID:Antonio-Zhou,项目名称:Linux-2.6.11,代码行数:5,


示例14: multicast_router_show

static ssize_t multicast_router_show(struct device *d,				     struct device_attribute *attr, char *buf){	struct net_bridge *br = to_bridge(d);	return sprintf(buf, "%d/n", br->multicast_router);}
开发者ID:7799,项目名称:linux,代码行数:6,


示例15: show_topology_change_detected

static ssize_t show_topology_change_detected(struct class_device *cd, char *buf){	struct net_bridge *br = to_bridge(cd);	return sprintf(buf, "%d/n", br->topology_change_detected);}
开发者ID:Antonio-Zhou,项目名称:Linux-2.6.11,代码行数:5,


示例16: hash_max_show

static ssize_t hash_max_show(struct device *d, struct device_attribute *attr,			     char *buf){	struct net_bridge *br = to_bridge(d);	return sprintf(buf, "%u/n", br->hash_max);}
开发者ID:7799,项目名称:linux,代码行数:6,


示例17: show_gc_timer

static ssize_t show_gc_timer(struct class_device *cd, char *buf){	struct net_bridge *br = to_bridge(cd);	return sprintf(buf, "%ld/n", br_timer_value(&br->gc_timer));}
开发者ID:Antonio-Zhou,项目名称:Linux-2.6.11,代码行数:5,


示例18: forward_delay_show

static ssize_t forward_delay_show(struct device *d,				  struct device_attribute *attr, char *buf){	struct net_bridge *br = to_bridge(d);	return sprintf(buf, "%lu/n", jiffies_to_clock_t(br->forward_delay));}
开发者ID:7799,项目名称:linux,代码行数:6,


示例19: show_forward_delay

static ssize_t show_forward_delay(struct class_device *cd, char *buf){	struct net_bridge *br = to_bridge(cd);	return sprintf(buf, "%lu/n", jiffies_to_clock_t(br->forward_delay));}
开发者ID:Antonio-Zhou,项目名称:Linux-2.6.11,代码行数:5,


示例20: nf_call_arptables_show

static ssize_t nf_call_arptables_show(	struct device *d, struct device_attribute *attr, char *buf){	struct net_bridge *br = to_bridge(d);	return sprintf(buf, "%u/n", br->nf_call_arptables);}
开发者ID:7799,项目名称:linux,代码行数:6,


示例21: show_max_age

static ssize_t show_max_age(struct class_device *cd, char *buf){	return sprintf(buf, "%lu/n",		       jiffies_to_clock_t(to_bridge(cd)->max_age));}
开发者ID:Antonio-Zhou,项目名称:Linux-2.6.11,代码行数:5,


示例22: show_ageing_time

static ssize_t show_ageing_time(struct device *d,				struct device_attribute *attr, char *buf){	struct net_bridge *br = to_bridge(d);	return sprintf(buf, "%lu/n", jiffies_to_clock_t(br->ageing_time));}
开发者ID:458941968,项目名称:mini2440-kernel-2.6.29,代码行数:6,


示例23: show_group_fwd_mask

static ssize_t show_group_fwd_mask(struct device *d,			      struct device_attribute *attr, char *buf){	struct net_bridge *br = to_bridge(d);	return sprintf(buf, "%#x/n", br->group_fwd_mask);}
开发者ID:Cool-Joe,项目名称:imx23-audio,代码行数:6,


示例24: show_root_id

static ssize_t show_root_id(struct device *d, struct device_attribute *attr,			    char *buf){	return br_show_bridge_id(buf, &to_bridge(d)->designated_root);}
开发者ID:458941968,项目名称:mini2440-kernel-2.6.29,代码行数:5,


示例25: show_hash_elasticity

static ssize_t show_hash_elasticity(struct device *d,				    struct device_attribute *attr, char *buf){	struct net_bridge *br = to_bridge(d);	return sprintf(buf, "%u/n", br->hash_elasticity);}
开发者ID:Cool-Joe,项目名称:imx23-audio,代码行数:6,


示例26: show_root_path_cost

static ssize_t show_root_path_cost(struct device *d,				   struct device_attribute *attr, char *buf){	return sprintf(buf, "%d/n", to_bridge(d)->root_path_cost);}
开发者ID:458941968,项目名称:mini2440-kernel-2.6.29,代码行数:5,


示例27: root_port_show

static ssize_t root_port_show(struct device *d, struct device_attribute *attr,			      char *buf){	return sprintf(buf, "%d/n", to_bridge(d)->root_port);}
开发者ID:7799,项目名称:linux,代码行数:5,


示例28: show_tcn_timer

static ssize_t show_tcn_timer(struct device *d, struct device_attribute *attr,			      char *buf){	struct net_bridge *br = to_bridge(d);	return sprintf(buf, "%ld/n", br_timer_value(&br->tcn_timer));}
开发者ID:458941968,项目名称:mini2440-kernel-2.6.29,代码行数:6,



注:本文中的to_bridge函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


C++ to_ccwgroupdev函数代码示例
C++ to_array_type函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。