Lines Matching defs:netdev_
377 tc_find_queue__(const struct netdev *netdev_, unsigned int queue_id,
380 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
405 tc_del_qdisc(struct netdev *netdev_)
407 const char *netdev_name = netdev_get_name(netdev_);
408 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
426 tc_query_qdisc(const struct netdev *netdev_)
428 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
446 load_error = ops->tc_load(CONST_CAST(struct netdev *, netdev_), NULL);
473 netdev_solaris_plumb(const struct netdev *netdev_, sa_family_t af)
475 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
476 const char *netdev_name = netdev_get_name(netdev_);
510 netdev_solaris_unplumb(const struct netdev *netdev_, sa_family_t af)
512 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
513 const char *netdev_name = netdev_get_name(netdev_);
730 netdev_solaris_unconfigure_uplink(const struct netdev *netdev_)
732 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
733 const char *netdev_name = netdev_get_name(netdev_);
794 netdev_solaris_configure_uplink(const struct netdev *netdev_,
797 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
798 const char *new_uplink = netdev_get_name(netdev_);
918 solaris_is_if_plumbed(struct netdev *netdev_, sa_family_t af, uint64_t *flags)
920 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
921 const char *netdev_name = netdev_get_name(netdev_);
1022 netdev_solaris_construct(struct netdev *netdev_)
1024 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1025 const char *netdev_name = netdev_get_name(netdev_);
1041 (void) solaris_is_if_plumbed(netdev_, AF_INET, &flags);
1042 (void) solaris_is_if_plumbed(netdev_, AF_INET6, &flags);
1073 netdev_solaris_destruct(struct netdev *netdev_)
1075 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1076 const char *netdev_name = netdev_get_name(netdev_);
1084 (void) netdev_solaris_unplumb(netdev_, AF_INET);
1085 (void) netdev_solaris_unplumb(netdev_, AF_INET6);
1095 netdev_solaris_unconfigure_uplink(netdev_);
1103 netdev_solaris_dealloc(struct netdev *netdev_)
1105 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1115 netdev_solaris_set_etheraddr(struct netdev *netdev_,
1118 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1119 const char *netdev_name = netdev_get_name(netdev_);
1152 netdev_change_seq_changed(netdev_);
1160 netdev_solaris_get_dlclass(const struct netdev *netdev_)
1162 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1163 const char *netdev_name = netdev_get_name(netdev_);
1190 netdev_solaris_is_uplink(const struct netdev *netdev_)
1192 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1193 const char *netdev_name = netdev_get_name(netdev_);
1196 if (netdev_solaris_get_dlclass(netdev_) != 0)
1202 netdev_solaris_get_etheraddr(const struct netdev *netdev_,
1205 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1206 const char *netdev_name = netdev_get_name(netdev_);
1290 netdev_solaris_get_mtu(const struct netdev *netdev_, int *mtup)
1292 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1293 const char *netdev_name = netdev_get_name(netdev_);
1298 if (!netdev_) {
1313 netdev_solaris_set_mtu(const struct netdev *netdev_ OVS_UNUSED, int mtu)
1315 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1316 const char *netdev_name = netdev_get_name(netdev_);
1344 netdev_change_seq_changed(netdev_);
1356 netdev_solaris_get_ifindex(const struct netdev *netdev_)
1358 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1359 const char *netdev_name = netdev_get_name(netdev_);
1389 netdev_solaris_get_stats(const struct netdev *netdev_,
1392 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1393 const char *netdev_name = netdev_get_name(netdev_);
1408 is_uplink = netdev_solaris_is_uplink(netdev_);
1542 netdev_solaris_get_features(const struct netdev *netdev_,
1548 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1549 const char *netdev_name = netdev_get_name(netdev_);
1557 if (netdev_solaris_is_uplink(netdev_)) {
1586 netdev_solaris_set_policing(struct netdev *netdev_,
1589 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1590 const char *netdev_name = netdev_get_name(netdev_);
1619 netdev_solaris_get_qos_types(const struct netdev *netdev_,
1622 const char *netdev_name = netdev_get_name(netdev_);
1641 netdev_solaris_get_qos_capabilities(const struct netdev *netdev_,
1644 const char *netdev_name = netdev_get_name(netdev_);
1664 netdev_solaris_get_qos(const struct netdev *netdev_,
1667 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1668 const char *netdev_name = netdev_get_name(netdev_);
1674 error = tc_query_qdisc(netdev_);
1678 netdev->tc->ops->qdisc_get(netdev_, details) : 0);
1685 netdev_solaris_set_qos(struct netdev *netdev_,
1688 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1689 const char *netdev_name = netdev_get_name(netdev_);
1700 error = tc_query_qdisc(netdev_);
1708 new_ops->qdisc_set(netdev_, details) :
1711 error = tc_del_qdisc(netdev_);
1719 error = new_ops->tc_install(netdev_, details);
1730 netdev_solaris_get_queue(const struct netdev *netdev_,
1733 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1734 const char *netdev_name = netdev_get_name(netdev_);
1740 error = tc_query_qdisc(netdev_);
1742 struct tc_queue *queue = tc_find_queue(netdev_, queue_id);
1744 netdev->tc->ops->class_get(netdev_, queue, details) :
1754 netdev_solaris_set_queue(struct netdev *netdev_,
1757 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1758 const char *netdev_name = netdev_get_name(netdev_);
1764 error = tc_query_qdisc(netdev_);
1768 netdev->tc->ops->class_set(netdev_, queue_id, details) :
1778 netdev_solaris_delete_queue(struct netdev *netdev_,
1781 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1782 const char *netdev_name = netdev_get_name(netdev_);
1788 error = tc_query_qdisc(netdev_);
1792 tc_find_queue(netdev_, queue_id);
1795 ? netdev->tc->ops->class_delete(netdev_, queue)
1806 netdev_solaris_get_queue_stats(const struct netdev *netdev_,
1810 const char *netdev_name = netdev_get_name(netdev_);
1825 netdev_solaris_queue_dump_start(const struct netdev *netdev_,
1828 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1829 const char *netdev_name = netdev_get_name(netdev_);
1835 error = tc_query_qdisc(netdev_);
1864 netdev_solaris_queue_dump_next(const struct netdev *netdev_,
1867 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1868 const char *netdev_name = netdev_get_name(netdev_);
1883 struct tc_queue *queue = tc_find_queue(netdev_, queue_id);
1891 error = netdev->tc->ops->class_get(netdev_, queue,
1901 netdev_solaris_queue_dump_done(const struct netdev *netdev_,
1904 const char *netdev_name = netdev_get_name(netdev_);
1917 netdev_solaris_dump_queue_stats(const struct netdev *netdev_,
1920 const char *netdev_name = netdev_get_name(netdev_);
1934 netdev_solaris_get_in4(const struct netdev *netdev_,
1937 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1938 const char *netdev_name = netdev_get_name(netdev_);
1952 error = netdev_solaris_plumb(netdev_, AF_INET);
1989 netdev_solaris_set_in4(struct netdev *netdev_, struct in_addr address,
1992 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
1993 const char *netdev_name = netdev_get_name(netdev_);
2002 error = netdev_solaris_plumb(netdev_, AF_INET);
2032 netdev_change_seq_changed(netdev_);
2043 netdev_solaris_get_in6(const struct netdev *netdev_, struct in6_addr *address)
2045 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
2046 const char *netdev_name = netdev_get_name(netdev_);
2062 error = netdev_solaris_plumb(netdev_, AF_INET6);
2119 netdev_solaris_add_router(struct netdev *netdev_, struct in_addr router)
2121 const char *netdev_name = netdev_get_name(netdev_);
2299 netdev_solaris_get_status(const struct netdev *netdev_,
2302 const char *netdev_name = netdev_get_name(netdev_);
2323 netdev_solaris_arp_lookup(const struct netdev *netdev_,
2326 const char *netdev_name = netdev_get_name(netdev_);
2393 netdev_solaris_update_flags(struct netdev *netdev_, enum netdev_flags off,
2396 const char *netdev_name = netdev_get_name(netdev_);
2423 netdev_change_seq_changed(netdev_);
2548 htb_get__(const struct netdev *netdev_)
2550 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
2551 const char *netdev_name = netdev_get_name(netdev_);
2558 htb_install__(struct netdev *netdev_, uint64_t max_rate)
2560 const char *netdev_name = netdev_get_name(netdev_);
2561 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
2584 htb_parse_qdisc_details__(struct netdev *netdev_,
2587 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);
2588 const char *netdev_name = netdev_get_name(netdev_);
2604 if (netdev_solaris_is_uplink(netdev_)) {
2828 default_install__(struct netdev *netdev_)
2830 const char *netdev_name = netdev_get_name(netdev_);
2831 struct netdev_solaris *netdev = netdev_solaris_cast(netdev_);