• Home
  • Raw
  • Download

Lines Matching full:strict

101 int tst_create_veth_pair(const char *file, const int lineno, int strict,  in tst_create_veth_pair()  argument
151 if (strict && !ret) { in tst_create_veth_pair()
160 int tst_netdev_add_device(const char *file, const int lineno, int strict, in tst_netdev_add_device() argument
195 if (strict && !ret) { in tst_netdev_add_device()
204 int tst_netdev_remove_device(const char *file, const int lineno, int strict, in tst_netdev_remove_device() argument
230 if (strict && !ret) { in tst_netdev_remove_device()
239 static int modify_address(const char *file, const int lineno, int strict, in modify_address() argument
280 if (strict && !ret) { in modify_address()
289 int tst_netdev_add_address(const char *file, const int lineno, int strict, in tst_netdev_add_address() argument
293 return modify_address(file, lineno, strict, RTM_NEWADDR, in tst_netdev_add_address()
298 int tst_netdev_add_address_inet(const char *file, const int lineno, int strict, in tst_netdev_add_address_inet() argument
302 return tst_netdev_add_address(file, lineno, strict, ifname, AF_INET, in tst_netdev_add_address_inet()
306 int tst_netdev_remove_address(const char *file, const int lineno, int strict, in tst_netdev_remove_address() argument
310 return modify_address(file, lineno, strict, RTM_DELADDR, 0, ifname, in tst_netdev_remove_address()
315 int strict, const char *ifname, in_addr_t address) in tst_netdev_remove_address_inet() argument
317 return tst_netdev_remove_address(file, lineno, strict, ifname, AF_INET, in tst_netdev_remove_address_inet()
321 static int change_ns(const char *file, const int lineno, int strict, in change_ns() argument
353 if (strict && !ret) { in change_ns()
362 int tst_netdev_change_ns_fd(const char *file, const int lineno, int strict, in tst_netdev_change_ns_fd() argument
365 return change_ns(file, lineno, strict, ifname, IFLA_NET_NS_FD, nsfd); in tst_netdev_change_ns_fd()
368 int tst_netdev_change_ns_pid(const char *file, const int lineno, int strict, in tst_netdev_change_ns_pid() argument
371 return change_ns(file, lineno, strict, ifname, IFLA_NET_NS_PID, nspid); in tst_netdev_change_ns_pid()
374 static int modify_route(const char *file, const int lineno, int strict, in modify_route() argument
448 if (strict && !ret) { in modify_route()
457 static int modify_route_inet(const char *file, const int lineno, int strict, in modify_route_inet() argument
480 return modify_route(file, lineno, strict, action, flags, ifname, in modify_route_inet()
485 int tst_netdev_add_route(const char *file, const int lineno, int strict, in tst_netdev_add_route() argument
491 return modify_route(file, lineno, strict, RTM_NEWROUTE, in tst_netdev_add_route()
496 int tst_netdev_add_route_inet(const char *file, const int lineno, int strict, in tst_netdev_add_route_inet() argument
500 return modify_route_inet(file, lineno, strict, RTM_NEWROUTE, in tst_netdev_add_route_inet()
505 int tst_netdev_remove_route(const char *file, const int lineno, int strict, in tst_netdev_remove_route() argument
511 return modify_route(file, lineno, strict, RTM_DELROUTE, 0, ifname, in tst_netdev_remove_route()
517 int strict, const char *ifname, in_addr_t srcaddr, in tst_netdev_remove_route_inet() argument
521 return modify_route_inet(file, lineno, strict, RTM_DELROUTE, 0, ifname, in tst_netdev_remove_route_inet()
525 static int modify_qdisc(const char *file, const int lineno, int strict, in modify_qdisc() argument
575 if (strict && !ret) { in modify_qdisc()
584 int tst_netdev_add_qdisc(const char *file, const int lineno, int strict, in tst_netdev_add_qdisc() argument
589 return modify_qdisc(file, lineno, strict, "queueing discipline", in tst_netdev_add_qdisc()
594 int tst_netdev_remove_qdisc(const char *file, const int lineno, int strict, in tst_netdev_remove_qdisc() argument
598 return modify_qdisc(file, lineno, strict, "queueing discipline", in tst_netdev_remove_qdisc()
604 int strict, const char *ifname, unsigned int parent, in tst_netdev_add_traffic_class() argument
608 return modify_qdisc(file, lineno, strict, "traffic class", in tst_netdev_add_traffic_class()
614 int strict, const char *ifname, unsigned int parent, in tst_netdev_remove_traffic_class() argument
617 return modify_qdisc(file, lineno, strict, "traffic class", in tst_netdev_remove_traffic_class()
623 int strict, const char *ifname, unsigned int parent, in tst_netdev_add_traffic_filter() argument
627 return modify_qdisc(file, lineno, strict, "traffic filter", in tst_netdev_add_traffic_filter()
634 int strict, const char *ifname, unsigned int parent, in tst_netdev_remove_traffic_filter() argument
638 return modify_qdisc(file, lineno, strict, "traffic filter", in tst_netdev_remove_traffic_filter()