Lines Matching refs:dn_dev
77 static struct dn_dev *dn_dev_create(struct net_device *dev, int *err);
252 struct dn_dev *dn_db; in dn_forwarding_proc()
329 static void dn_dev_del_ifa(struct dn_dev *dn_db, struct dn_ifaddr __rcu **ifap, int destroy) in dn_dev_del_ifa()
356 static int dn_dev_insert_ifa(struct dn_dev *dn_db, struct dn_ifaddr *ifa) in dn_dev_insert_ifa()
390 struct dn_dev *dn_db = rtnl_dereference(dev->dn_ptr); in dn_dev_set_ifa()
417 struct dn_dev *dn_db; in dn_dev_ioctl()
546 static struct dn_dev *dn_dev_by_index(int ifindex) in dn_dev_by_index()
549 struct dn_dev *dn_dev = NULL; in dn_dev_by_index() local
553 dn_dev = rtnl_dereference(dev->dn_ptr); in dn_dev_by_index()
555 return dn_dev; in dn_dev_by_index()
571 struct dn_dev *dn_db; in dn_nl_deladdr()
618 struct dn_dev *dn_db; in dn_nl_newaddr()
743 struct dn_dev *dn_db; in dn_nl_dump_ifaddr()
789 struct dn_dev *dn_db; in dn_dev_get_first()
840 struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_send_endnode_hello()
879 static int dn_am_i_a_router(struct dn_neigh *dn, struct dn_dev *dn_db, struct dn_ifaddr *ifa) in dn_am_i_a_router()
906 struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_send_router_hello()
977 struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_send_brd_hello()
1015 struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_eth_up()
1029 struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_eth_down()
1041 struct dn_dev *dn_db = from_timer(dn_db, t, timer); in dn_dev_timer_func()
1066 struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_dev_set_timer()
1076 static struct dn_dev *dn_dev_create(struct net_device *dev, int *err) in dn_dev_create()
1080 struct dn_dev *dn_db; in dn_dev_create()
1092 if ((dn_db = kzalloc(sizeof(struct dn_dev), GFP_ATOMIC)) == NULL) in dn_dev_create()
1144 struct dn_dev *dn_db = rtnl_dereference(dev->dn_ptr); in dn_dev_up()
1195 struct dn_dev *dn_db = rtnl_dereference(dev->dn_ptr); in dn_dev_delete()
1223 struct dn_dev *dn_db = rtnl_dereference(dev->dn_ptr); in dn_dev_down()
1359 struct dn_dev *dn_db = rcu_dereference(dev->dn_ptr); in dn_dev_seq_show()