Lines Matching refs:shdev
528 static int shaper_attach(struct net_device *shdev, struct shaper *sh, struct net_device *dev) in shaper_attach() argument
536 shdev->hard_header = shaper_header; in shaper_attach()
539 shdev->hard_header = NULL; in shaper_attach()
544 shdev->rebuild_header = shaper_rebuild_header; in shaper_attach()
547 shdev->rebuild_header = NULL; in shaper_attach()
553 shdev->hard_header_cache= shaper_cache; in shaper_attach()
557 shdev->hard_header_cache= NULL; in shaper_attach()
563 shdev->header_cache_update = shaper_cache_update; in shaper_attach()
566 shdev->header_cache_update= NULL; in shaper_attach()
568 shdev->header_cache_update = NULL; in shaper_attach()
569 shdev->hard_header_cache = NULL; in shaper_attach()
571 shdev->neigh_setup = shaper_neigh_setup_dev; in shaper_attach()
573 shdev->hard_header_len=dev->hard_header_len; in shaper_attach()
574 shdev->type=dev->type; in shaper_attach()
575 shdev->addr_len=dev->addr_len; in shaper_attach()
576 shdev->mtu=dev->mtu; in shaper_attach()