Lines Matching full:strict

102 int tst_create_veth_pair(const char *file, const int lineno, int strict,  in tst_create_veth_pair()  argument
152 if (strict && !ret) { in tst_create_veth_pair()
161 int tst_netdev_add_device(const char *file, const int lineno, int strict, in tst_netdev_add_device() argument
196 if (strict && !ret) { in tst_netdev_add_device()
205 int tst_netdev_remove_device(const char *file, const int lineno, int strict, in tst_netdev_remove_device() argument
231 if (strict && !ret) { in tst_netdev_remove_device()
240 static int modify_address(const char *file, const int lineno, int strict, in modify_address() argument
281 if (strict && !ret) { in modify_address()
290 int tst_netdev_add_address(const char *file, const int lineno, int strict, in tst_netdev_add_address() argument
294 return modify_address(file, lineno, strict, RTM_NEWADDR, in tst_netdev_add_address()
299 int tst_netdev_add_address_inet(const char *file, const int lineno, int strict, in tst_netdev_add_address_inet() argument
303 return tst_netdev_add_address(file, lineno, strict, ifname, AF_INET, in tst_netdev_add_address_inet()
307 int tst_netdev_remove_address(const char *file, const int lineno, int strict, in tst_netdev_remove_address() argument
311 return modify_address(file, lineno, strict, RTM_DELADDR, 0, ifname, in tst_netdev_remove_address()
316 int strict, const char *ifname, in_addr_t address) in tst_netdev_remove_address_inet() argument
318 return tst_netdev_remove_address(file, lineno, strict, ifname, AF_INET, in tst_netdev_remove_address_inet()
322 static int change_ns(const char *file, const int lineno, int strict, in change_ns() argument
354 if (strict && !ret) { in change_ns()
363 int tst_netdev_change_ns_fd(const char *file, const int lineno, int strict, in tst_netdev_change_ns_fd() argument
366 return change_ns(file, lineno, strict, ifname, IFLA_NET_NS_FD, nsfd); in tst_netdev_change_ns_fd()
369 int tst_netdev_change_ns_pid(const char *file, const int lineno, int strict, in tst_netdev_change_ns_pid() argument
372 return change_ns(file, lineno, strict, ifname, IFLA_NET_NS_PID, nspid); in tst_netdev_change_ns_pid()
375 static int modify_route(const char *file, const int lineno, int strict, in modify_route() argument
449 if (strict && !ret) { in modify_route()
458 static int modify_route_inet(const char *file, const int lineno, int strict, in modify_route_inet() argument
481 return modify_route(file, lineno, strict, action, flags, ifname, in modify_route_inet()
486 int tst_netdev_add_route(const char *file, const int lineno, int strict, in tst_netdev_add_route() argument
492 return modify_route(file, lineno, strict, RTM_NEWROUTE, in tst_netdev_add_route()
497 int tst_netdev_add_route_inet(const char *file, const int lineno, int strict, in tst_netdev_add_route_inet() argument
501 return modify_route_inet(file, lineno, strict, RTM_NEWROUTE, in tst_netdev_add_route_inet()
506 int tst_netdev_remove_route(const char *file, const int lineno, int strict, in tst_netdev_remove_route() argument
512 return modify_route(file, lineno, strict, RTM_DELROUTE, 0, ifname, in tst_netdev_remove_route()
518 int strict, const char *ifname, in_addr_t srcaddr, in tst_netdev_remove_route_inet() argument
522 return modify_route_inet(file, lineno, strict, RTM_DELROUTE, 0, ifname, in tst_netdev_remove_route_inet()
526 static int modify_qdisc(const char *file, const int lineno, int strict, in modify_qdisc() argument
576 if (strict && !ret) { in modify_qdisc()
585 int tst_netdev_add_qdisc(const char *file, const int lineno, int strict, in tst_netdev_add_qdisc() argument
590 return modify_qdisc(file, lineno, strict, "queueing discipline", in tst_netdev_add_qdisc()
595 int tst_netdev_remove_qdisc(const char *file, const int lineno, int strict, in tst_netdev_remove_qdisc() argument
599 return modify_qdisc(file, lineno, strict, "queueing discipline", in tst_netdev_remove_qdisc()
605 int strict, const char *ifname, unsigned int parent, in tst_netdev_add_traffic_class() argument
609 return modify_qdisc(file, lineno, strict, "traffic class", in tst_netdev_add_traffic_class()
615 int strict, const char *ifname, unsigned int parent, in tst_netdev_remove_traffic_class() argument
618 return modify_qdisc(file, lineno, strict, "traffic class", in tst_netdev_remove_traffic_class()
624 int strict, const char *ifname, unsigned int parent, in tst_netdev_add_traffic_filter() argument
628 return modify_qdisc(file, lineno, strict, "traffic filter", in tst_netdev_add_traffic_filter()
635 int strict, const char *ifname, unsigned int parent, in tst_netdev_remove_traffic_filter() argument
639 return modify_qdisc(file, lineno, strict, "traffic filter", in tst_netdev_remove_traffic_filter()