Home
last modified time | relevance | path

Searched refs:fib4_rt (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/netdevsim/
H A Dfib.c232 struct nsim_fib4_rt *fib4_rt; in nsim_fib4_rt_create() local
234 fib4_rt = kzalloc(sizeof(*fib4_rt), GFP_ATOMIC); in nsim_fib4_rt_create()
235 if (!fib4_rt) in nsim_fib4_rt_create()
238 nsim_fib_rt_init(data, &fib4_rt->common, &fen_info->dst, sizeof(u32), in nsim_fib4_rt_create()
241 fib4_rt->fi = fen_info->fi; in nsim_fib4_rt_create()
242 fib_info_hold(fib4_rt->fi); in nsim_fib4_rt_create()
243 fib4_rt->tos = fen_info->tos; in nsim_fib4_rt_create()
244 fib4_rt->type = fen_info->type; in nsim_fib4_rt_create()
246 return fib4_rt; in nsim_fib4_rt_create()
249 nsim_fib4_rt_destroy(struct nsim_fib4_rt *fib4_rt) nsim_fib4_rt_destroy() argument
271 nsim_fib4_rt_hw_flags_set(struct net *net, const struct nsim_fib4_rt *fib4_rt, bool trap) nsim_fib4_rt_hw_flags_set() argument
290 nsim_fib4_rt_add(struct nsim_fib_data *data, struct nsim_fib4_rt *fib4_rt, struct netlink_ext_ack *extack) nsim_fib4_rt_add() argument
318 nsim_fib4_rt_replace(struct nsim_fib_data *data, struct nsim_fib4_rt *fib4_rt, struct nsim_fib4_rt *fib4_rt_old, struct netlink_ext_ack *extack) nsim_fib4_rt_replace() argument
348 struct nsim_fib4_rt *fib4_rt, *fib4_rt_old; nsim_fib4_rt_insert() local
371 struct nsim_fib4_rt *fib4_rt; nsim_fib4_rt_remove() local
785 struct nsim_fib4_rt *fib4_rt; nsim_fib4_rt_free() local
788 nsim_fib4_rt_hw_flags_set(devlink_net(devlink), fib4_rt, false); nsim_fib4_rt_free() local
[all...]
/kernel/linux/linux-6.6/drivers/net/netdevsim/
H A Dfib.c278 struct nsim_fib4_rt *fib4_rt; in nsim_fib4_rt_create() local
280 fib4_rt = kzalloc(sizeof(*fib4_rt), GFP_KERNEL); in nsim_fib4_rt_create()
281 if (!fib4_rt) in nsim_fib4_rt_create()
284 nsim_fib_rt_init(data, &fib4_rt->common, &fen_info->dst, sizeof(u32), in nsim_fib4_rt_create()
287 fib4_rt->fi = fen_info->fi; in nsim_fib4_rt_create()
288 fib_info_hold(fib4_rt->fi); in nsim_fib4_rt_create()
289 fib4_rt->dscp = fen_info->dscp; in nsim_fib4_rt_create()
290 fib4_rt->type = fen_info->type; in nsim_fib4_rt_create()
292 return fib4_rt; in nsim_fib4_rt_create()
295 nsim_fib4_rt_destroy(struct nsim_fib4_rt *fib4_rt) nsim_fib4_rt_destroy() argument
336 nsim_fib4_rt_hw_flags_set(struct net *net, const struct nsim_fib4_rt *fib4_rt, bool trap) nsim_fib4_rt_hw_flags_set() argument
356 nsim_fib4_rt_add(struct nsim_fib_data *data, struct nsim_fib4_rt *fib4_rt) nsim_fib4_rt_add() argument
382 nsim_fib4_rt_replace(struct nsim_fib_data *data, struct nsim_fib4_rt *fib4_rt, struct nsim_fib4_rt *fib4_rt_old) nsim_fib4_rt_replace() argument
414 struct nsim_fib4_rt *fib4_rt, *fib4_rt_old; nsim_fib4_rt_insert() local
445 struct nsim_fib4_rt *fib4_rt; nsim_fib4_rt_remove() local
1053 struct nsim_fib4_rt *fib4_rt; nsim_fib4_rt_free() local
1056 nsim_fib4_rt_hw_flags_set(devlink_net(devlink), fib4_rt, false); nsim_fib4_rt_free() local
[all...]

Completed in 3 milliseconds