Searched defs:arg (Results 326 - 350 of 1505) sorted by relevance

<<11121314151617181920>>

/external/iproute2/tc/
H A Dtc_class.c152 struct nlmsghdr *n, void *arg)
154 FILE *fp = (FILE*)arg;
151 print_class(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) argument
/external/iptables/extensions/
H A Dlibip6t_MASQUERADE.c41 parse_ports(const char *arg, struct nf_nat_range *r) argument
48 if (!xtables_strtoui(arg, &end, &port, 0, UINT16_MAX))
49 xtables_param_act(XTF_BAD_VALUE, "MASQUERADE", "--to-ports", arg);
70 xtables_param_act(XTF_BAD_VALUE, "MASQUERADE", "--to-ports", arg);
94 parse_ports(cb->arg, r);
H A Dlibip6t_REDIRECT.c40 parse_ports(const char *arg, struct nf_nat_range *range) argument
47 if (!xtables_strtoui(arg, &end, &port, 0, UINT16_MAX) &&
48 (port = xtables_service_to_port(arg, NULL)) == (unsigned)-1)
49 xtables_param_act(XTF_BAD_VALUE, "REDIRECT", "--to-ports", arg);
71 xtables_param_act(XTF_BAD_VALUE, "REDIRECT", "--to-ports", arg);
95 parse_ports(cb->arg, range);
H A Dlibipt_MASQUERADE.c42 parse_ports(const char *arg, struct nf_nat_ipv4_multi_range_compat *mr) argument
49 if (!xtables_strtoui(arg, &end, &port, 0, UINT16_MAX))
50 xtables_param_act(XTF_BAD_VALUE, "MASQUERADE", "--to-ports", arg);
71 xtables_param_act(XTF_BAD_VALUE, "MASQUERADE", "--to-ports", arg);
95 parse_ports(cb->arg, mr);
H A Dlibipt_REDIRECT.c41 parse_ports(const char *arg, struct nf_nat_ipv4_multi_range_compat *mr) argument
48 if (!xtables_strtoui(arg, &end, &port, 0, UINT16_MAX) &&
49 (port = xtables_service_to_port(arg, NULL)) == (unsigned)-1)
50 xtables_param_act(XTF_BAD_VALUE, "REDIRECT", "--to-ports", arg);
72 xtables_param_act(XTF_BAD_VALUE, "REDIRECT", "--to-ports", arg);
96 parse_ports(cb->arg, mr);
H A Dlibipt_SAME.c42 char *dash, *arg; local
45 arg = strdup(orig_arg);
46 if (arg == NULL)
49 dash = strchr(arg, '-');
54 ip = xtables_numeric_to_ipaddr(arg);
57 arg);
70 arg, dash+1);
71 free(arg);
87 parse_to(cb->arg, &mr->range[mr->rangesize]);
H A Dlibxt_TCPOPTSTRIP.c56 parse_list(struct xt_tcpoptstrip_target_info *info, const char *arg) argument
63 p = strchr(arg, ',');
69 if (strcmp(tcp_optionmap[i].name, arg) == 0) {
75 !xtables_strtoui(arg, NULL, &option, 0, UINT8_MAX))
77 "Bad TCP option value \"%s\"", arg);
85 "Option \"%s\" already specified", arg);
90 arg = p + 1;
99 parse_list(info, cb->arg);
H A Dlibxt_u32.c107 const char *arg = cb->arg; /* the argument string */ local
108 const char *start = cb->arg;
121 while (isspace(*arg))
122 ++arg;
124 if (*arg == '\0') {
140 (unsigned int)(arg - start));
149 if (*arg == '=') {
154 (unsigned int)(arg - start));
156 ++arg;
[all...]
/external/jemalloc/src/
H A Dquarantine.c162 quarantine_cleanup(void *arg) argument
164 quarantine_t *quarantine = *(quarantine_t **)arg;
H A Dtsd.c28 malloc_tsd_no_cleanup(void *arg) argument
/external/kernel-headers/original/uapi/linux/
H A Dn_r3964.h90 int arg; member in struct:r3964_client_message
/external/kernel-headers/original/uapi/xen/
H A Dprivcmd.h42 __u64 arg[5]; member in struct:privcmd_hypercall
78 * @arg: &privcmd_hypercall_t
82 * @arg: &struct privcmd_mmapbatch_v2
83 * Return: 0 on success (i.e., arg->err contains valid error codes for
/external/libcxx/src/
H A Dmutex.cpp219 __call_once(volatile unsigned long& flag, void* arg, void(*func)(void*)) argument
232 func(arg);
/external/libedit/src/
H A Dhist.c215 hist_convert(EditLine *el, int fn, void *arg) argument
218 if ((*(el)->el_history.fun)((el)->el_history.ref, &ev, fn, arg) == -1)
/external/libnl/lib/
H A Dcache_mngt.c32 * @arg name name of the cache type
50 * @arg protocol netlink protocol
51 * @arg msgtype netlink message type
78 * @arg ops cache operations
79 * @arg msgtype netlink message type
111 * @arg cb Callback function to be called
112 * @arg arg User specific argument.
114 void nl_cache_ops_foreach(void (*cb)(struct nl_cache_ops *, void *), void *arg) argument
119 cb(ops, arg);
[all...]
/external/libnl/src/lib/
H A Dutils.c20 uint32_t nl_cli_parse_u32(const char *arg) argument
25 lval = strtoul(arg, &endptr, 0);
26 if (endptr == arg || lval == ULONG_MAX)
28 arg);
/external/libnl/src/
H A Dnf-log.c31 static void obj_input(struct nl_object *obj, void *arg) argument
42 static int event_input(struct nl_msg *msg, void *arg) argument
H A Dnf-queue.c36 static void obj_input(struct nl_object *obj, void *arg) argument
74 static int event_input(struct nl_msg *msg, void *arg) argument
104 printf("group: the --queue-num arg that you gave to iptables\n");
H A Dnl-addr-delete.c47 static void delete_cb(struct nl_object *obj, void *arg) argument
H A Dnl-cls-delete.c40 static void delete_cb(struct nl_object *obj, void *arg) argument
H A Dnl-cls-list.c40 static void print_cls(struct nl_object *obj, void *arg) argument
H A Dnl-link-set.c48 static void set_cb(struct nl_object *obj, void *arg) argument
51 struct rtnl_link *change = arg;
H A Dnl-neigh-delete.c42 static void delete_cb(struct nl_object *obj, void *arg) argument
H A Dnl-qdisc-delete.c41 static void delete_cb(struct nl_object *obj, void *arg) argument
H A Dnl-tctree-list.c39 static void print_class(struct nl_object *obj, void *arg) argument
46 params.dp_prefix = (int)(long) arg;
51 print_qdisc((struct nl_object *) leaf, arg + 2);
53 rtnl_class_foreach_child(class, class_cache, &print_class, arg + 2);
58 params.dp_prefix = (int)(long) arg + 2;
63 static void print_qdisc(struct nl_object *obj, void *arg) argument
69 params.dp_prefix = (int)(long) arg;
72 rtnl_qdisc_foreach_child(qdisc, class_cache, &print_class, arg + 2);
77 params.dp_prefix = (int)(long) arg + 2;
82 static void print_link(struct nl_object *obj, void *arg) argument
[all...]

Completed in 3080 milliseconds

<<11121314151617181920>>