Home
last modified time | relevance | path

Searched refs:nl_cli_fatal (Results 1 – 25 of 46) sorted by relevance

12

/external/libnl/src/lib/
Droute.c28 nl_cli_fatal(ENOMEM, "Unable to allocate route object"); in nl_cli_route_alloc()
39 nl_cli_fatal(err, "Unable to allocate route cache: %s\n", in nl_cli_route_alloc_cache()
62 nl_cli_fatal(err, "Unable to set destination address: %s", in nl_cli_route_parse_dst()
75 nl_cli_fatal(err, "Unable to set source address: %s", in nl_cli_route_parse_src()
88 nl_cli_fatal(err, "Unable to set preferred source address: %s", in nl_cli_route_parse_pref_src()
119 nl_cli_fatal(EINVAL, "Unknown metric token \"%s\"", arg); in nl_cli_route_parse_metric()
122 nl_cli_fatal(EINVAL, "Invalid metric \"%s\"", tokens[ret]); in nl_cli_route_parse_metric()
125 nl_cli_fatal(EINVAL, "Metric \"%s\", no value given", tokens[ret]); in nl_cli_route_parse_metric()
129 nl_cli_fatal(EINVAL, "Metric \"%s\", value not numeric", tokens[ret]); in nl_cli_route_parse_metric()
132 nl_cli_fatal(ret, "Unable to set metric: %s", in nl_cli_route_parse_metric()
[all …]
Daddr.c28 nl_cli_fatal(ENOMEM, "Unable to allocate address object"); in nl_cli_addr_alloc()
48 nl_cli_fatal(err, "Unable to set local address: %s", in nl_cli_addr_parse_local()
60 nl_cli_fatal(ENOENT, "Link \"%s\" does not exist", arg); in nl_cli_addr_parse_dev()
70 nl_cli_fatal(err, "Unable to set address label: %s", in nl_cli_addr_parse_label()
81 nl_cli_fatal(err, "Unable to set peer address: %s", in nl_cli_addr_parse_peer()
92 nl_cli_fatal(EINVAL, "Unknown address scope \"%s\"", arg); in nl_cli_addr_parse_scope()
104 nl_cli_fatal(err, "Unable to set broadcast address: %s", in nl_cli_addr_parse_broadcast()
119 nl_cli_fatal(err, "Unable to parse time string \"%s\": %s", in parse_lifetime()
Dutils.c42 nl_cli_fatal(EINVAL, "Unable to parse \"%s\", not a number.", in nl_cli_parse_u32()
70 void nl_cli_fatal(int err, const char *fmt, ...) in nl_cli_fatal() function
93 nl_cli_fatal(err, "Unable to connect netlink socket: %s", in nl_cli_connect()
104 nl_cli_fatal(ENOBUFS, "Unable to allocate netlink socket"); in nl_cli_alloc_socket()
115 nl_cli_fatal(err, "Unable to parse address \"%s\": %s", in nl_cli_addr_parse()
130 nl_cli_fatal(EINVAL, "Invalid dump type \"%s\".\n", str); in nl_cli_parse_dumptype()
175 nl_cli_fatal(err, "Unable to allocate %s cache: %s", in nl_cli_alloc_cache()
192 nl_cli_fatal(ENOENT, "Unable to load module \"%s\": %s\n", in nl_cli_load_module()
Dtc.c27 nl_cli_fatal(ENOENT, "Link \"%s\" does not exist.", name); in nl_cli_tc_parse_dev()
39 nl_cli_fatal(err, "Unable to parse handle \"%s\": %s", in nl_cli_tc_parse_parent()
57 nl_cli_fatal(err, "Unable to parse handle \"%s\": %s", in nl_cli_tc_parse_handle()
89 nl_cli_fatal(type, "Unable to parse linktype \"%s\": %s", in nl_cli_tc_parse_linktype()
126 nl_cli_fatal(EINVAL, "BUG: unhandled TC object type %d", in nl_cli_tc_lookup()
131 nl_cli_fatal(EINVAL, "Application bug: The shared library for " in nl_cli_tc_lookup()
145 nl_cli_fatal(ENOENT, "Unable to register CLI TC module " in nl_cli_tc_register()
150 nl_cli_fatal(EEXIST, "Unable to register CLI TC module " in nl_cli_tc_register()
Dneigh.c28 nl_cli_fatal(ENOMEM, "Unable to allocate neighbour object"); in nl_cli_neigh_alloc()
40 nl_cli_fatal(err, "Unable to set local address: %s", in nl_cli_neigh_parse_dst()
61 nl_cli_fatal(ENOENT, "Link \"%s\" does not exist", arg); in nl_cli_neigh_parse_dev()
71 nl_cli_fatal(EINVAL, in nl_cli_neigh_parse_family()
82 nl_cli_fatal(state, "Unable to translate state \"%s\": %s", in nl_cli_neigh_parse_state()
Dct.c28 nl_cli_fatal(ENOMEM, "Unable to allocate conntrack object"); in nl_cli_ct_alloc()
43 nl_cli_fatal(EINVAL, in nl_cli_ct_parse_family()
55 nl_cli_fatal(proto, in nl_cli_ct_parse_protocol()
91 nl_cli_fatal(err, "Unable to set source address: %s", in nl_cli_ct_parse_src()
100 nl_cli_fatal(err, "Unable to set destination address: %s", in nl_cli_ct_parse_dst()
121 nl_cli_fatal(state, in nl_cli_ct_parse_tcp_state()
133 nl_cli_fatal(status, in nl_cli_ct_parse_status()
Dcls.c27 nl_cli_fatal(ENOMEM, "Unable to allocate classifier object"); in nl_cli_cls_alloc()
39 nl_cli_fatal(err, "Unable to allocate classifier cache: %s", in nl_cli_cls_alloc_cache()
50 nl_cli_fatal(proto, "Unknown protocol \"%s\".", arg); in nl_cli_cls_parse_proto()
62 nl_cli_fatal(err, "Unable to parse ematch expression: %s", in nl_cli_cls_parse_ematch()
Dlink.c29 nl_cli_fatal(ENOMEM, "Unable to allocate link object"); in nl_cli_link_alloc()
40 nl_cli_fatal(err, "Unable to allocate link cache: %s", in nl_cli_link_alloc_cache_family()
58 nl_cli_fatal(EINVAL, in nl_cli_link_parse_family()
94 nl_cli_fatal(ERANGE, in nl_cli_link_parse_ifalias()
Dexp.c29 nl_cli_fatal(ENOMEM, "Unable to allocate expectation object"); in nl_cli_exp_alloc()
44 nl_cli_fatal(EINVAL, in nl_cli_exp_parse_family()
102 nl_cli_fatal(err, "Unable to set source address: %s", in nl_cli_exp_parse_src()
111 nl_cli_fatal(err, "Unable to set destination address: %s", in nl_cli_exp_parse_dst()
120 nl_cli_fatal(l4protonum, in nl_cli_exp_parse_l4protonum()
Dclass.c26 nl_cli_fatal(ENOMEM, "Unable to allocate class object"); in nl_cli_class_alloc()
37 nl_cli_fatal(err, "Unable to allocate class cache: %s", in nl_cli_class_alloc_cache()
Drule.c28 nl_cli_fatal(ENOMEM, "Unable to allocate rule object"); in nl_cli_rule_alloc()
39 nl_cli_fatal(err, "Unable to allocate routing rule cache: %s\n", in nl_cli_rule_alloc_cache()
/external/libnl/tests/
Dtest-genl.c82 nl_cli_fatal(err, "Unable to register Generic Netlink family"); in main()
85 nl_cli_fatal(err, "Unable to resolve family name"); in main()
88 nl_cli_fatal(NLE_INVAL, "Resolving of \"nlctrl\" failed"); in main()
92 nl_cli_fatal(NLE_NOMEM, "Unable to allocate netlink message"); in main()
97 nl_cli_fatal(ENOMEM, "Unable to write genl header"); in main()
100 nl_cli_fatal(err, "Unable to add attribute: %s", nl_geterror(err)); in main()
103 nl_cli_fatal(err, "Unable to send message: %s", nl_geterror(err)); in main()
109 nl_cli_fatal(err, "Unable to modify valid message callback"); in main()
112 nl_cli_fatal(err, "Unable to receive message: %s", nl_geterror(err)); in main()
Dtest-cache-mngr.c45 nl_cli_fatal(err, "Unable to allocate cache manager: %s", in main()
51 nl_cli_fatal(err, "Unable to add cache %s: %s", in main()
58 nl_cli_fatal(err, "Polling failed: %s", nl_geterror(err)); in main()
/external/libnl/src/
Dnl-route-get.c38 nl_cli_fatal(err, "Unable to parse object: %s", nl_geterror(err)); in cb()
69 nl_cli_fatal(ENOMEM, "out of memory"); in main()
71 nl_cli_fatal(ENOMEM, "out of memory"); in main()
73 nl_cli_fatal(ENOMEM, "out of memory"); in main()
78 nl_cli_fatal(err, "%s", nl_geterror(err)); in main()
83 nl_cli_fatal(err, "%s", nl_geterror(err)); in main()
Dnf-queue.c31 nl_cli_fatal(ENOMEM, "Unable to allocate queue object"); in alloc_queue()
72 nl_cli_fatal(ENOBUFS, "Unable to allocate netlink socket"); in main()
89 nl_cli_fatal(NLE_INVAL, "Unknown family \"%s\"", argv[1]); in main()
93 nl_cli_fatal(err, "Unable to bind logger: %s", in main()
103 nl_cli_fatal(copy_mode, in main()
115 nl_cli_fatal(err, "Unable to bind queue: %s", nl_geterror(err)); in main()
Dnl-fib-lookup.c79 nl_cli_fatal(err, "Unable to parse address \"%s\": %s\n", in main()
84 nl_cli_fatal(ENOMEM, "Unable to allocate cache"); in main()
88 nl_cli_fatal(ENOMEM, "Unable to allocate request"); in main()
98 nl_cli_fatal(err, "Unable to send request: %s", nl_geterror(err)); in main()
104 nl_cli_fatal(err, "Unable to lookup: %s\n", nl_geterror(err)); in main()
Dnl-qdisc-add.c116 nl_cli_fatal(EINVAL, "You must specify a network device (--dev=XXX)"); in main()
119 nl_cli_fatal(EINVAL, "You must specify a parent"); in main()
130 nl_cli_fatal(ENOENT, "Unknown qdisc \"%s\"", kind); in main()
133 nl_cli_fatal(ENOTSUP, "Qdisc type \"%s\" not supported.", kind); in main()
143 nl_cli_fatal(EINVAL, "Unable to add qdisc: %s", nl_geterror(err)); in main()
Dnl-class-add.c125 nl_cli_fatal(EINVAL, "You must specify a network device (--dev=XXX)"); in main()
128 nl_cli_fatal(EINVAL, "You must specify a parent (--parent=XXX)"); in main()
139 nl_cli_fatal(ENOENT, "Unknown class \"%s\"", kind); in main()
142 nl_cli_fatal(ENOTSUP, "class type \"%s\" not supported.", kind); in main()
152 nl_cli_fatal(EINVAL, "Unable to add class: %s", nl_geterror(err)); in main()
Dnl-cls-add.c133 nl_cli_fatal(EINVAL, "You must specify a network device (--dev=XXX)"); in main()
136 nl_cli_fatal(EINVAL, "You must specify a parent (--parent=XXX)"); in main()
147 nl_cli_fatal(ENOENT, "Unknown classifier \"%s\".", kind); in main()
150 nl_cli_fatal(ENOTSUP, "Classifier type \"%s\" not supported.", kind); in main()
160 nl_cli_fatal(EINVAL, "Unable to add classifier: %s", nl_geterror(err)); in main()
Dnf-log.c26 nl_cli_fatal(ENOMEM, "Unable to allocate log object"); in alloc_log()
76 nl_cli_fatal(NLE_INVAL, "Unknown family \"%s\": %s", in main()
81 nl_cli_fatal(err, "Unable to bind logger: %s", in main()
91 nl_cli_fatal(copy_mode, in main()
103 nl_cli_fatal(err, "Unable to bind instance: %s", in main()
Dnl-pktloc-lookup.c56 nl_cli_fatal(EINVAL, "u32 only supports alignments u8|u16|u32."); in dump_u32_style()
59 nl_cli_fatal(EINVAL, "u32 does not support link " in dump_u32_style()
63 nl_cli_fatal(EINVAL, "u32 does not support shifting."); in dump_u32_style()
145 nl_cli_fatal(err, "Unable to lookup packet location: %s", in main()
Dnl-class-delete.c58 nl_cli_fatal(err, "Unable to delete class: %s\n", nl_geterror(err)); in delete_cb()
104 case '?': nl_cli_fatal(EINVAL, "Invalid options"); in main()
118 nl_cli_fatal(EINVAL, "You must specify a network device (--dev=XXX)"); in main()
Dnl-qdisc-delete.c58 nl_cli_fatal(err, "Unable to delete qdisc: %s\n", nl_geterror(err)); in delete_cb()
106 case '?': nl_cli_fatal(EINVAL, "Invalid options"); in main()
132 nl_cli_fatal(EINVAL, in main()
Dnf-monitor.c76 nl_cli_fatal(err, in main()
83 nl_cli_fatal(NLE_OBJ_NOTFOUND, "Unknown group: \"%s\"", in main()
/external/libnl/lib/cli/qdisc/
Dhtb.c125 nl_cli_fatal(rate, "Unable to parse htb rate " in htb_parse_class_argv()
135 nl_cli_fatal(rate, "Unable to parse htb ceil rate " in htb_parse_class_argv()
149 nl_cli_fatal(rate, "Unable to parse quantum " in htb_parse_class_argv()
159 nl_cli_fatal(rate, "Unable to parse burst " in htb_parse_class_argv()
169 nl_cli_fatal(rate, "Unable to parse cburst " in htb_parse_class_argv()

12