Searched refs:cb (Results 51 - 75 of 605) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/serial/
H A Daircable.c106 static void serial_buf_clear(struct circ_buf *cb) argument
108 cb->head = cb->tail = 0;
118 struct circ_buf *cb; local
119 cb = kmalloc(sizeof(struct circ_buf), GFP_KERNEL);
120 if (cb == NULL)
122 cb->buf = kmalloc(AIRCABLE_BUF_SIZE, GFP_KERNEL);
123 if (cb->buf == NULL) {
124 kfree(cb);
127 serial_buf_clear(cb);
136 serial_buf_free(struct circ_buf *cb) argument
148 serial_buf_data_avail(struct circ_buf *cb) argument
161 serial_buf_put(struct circ_buf *cb, const char *buf, int count) argument
187 serial_buf_get(struct circ_buf *cb, char *buf, int count) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/extensions/
H A Dlibipt_CLUSTERIP.c73 static void CLUSTERIP_parse(struct xt_option_call *cb) argument
75 struct ipt_clusterip_tgt_info *cipinfo = cb->data;
77 xtables_option_parse(cb);
78 switch (cb->entry->id) {
83 if (strcmp(cb->arg, "sourceip") == 0)
85 else if (strcmp(cb->arg, "sourceip-sourceport") == 0)
87 else if (strcmp(cb->arg, "sourceip-sourceport-destport") == 0)
91 cb->arg);
103 static void CLUSTERIP_check(struct xt_fcheck_call *cb) argument
105 if (cb
[all...]
H A Dlibxt_RATEEST.c87 static void RATEEST_parse(struct xt_option_call *cb) argument
89 struct rateest_tg_udata *udata = cb->udata;
91 xtables_option_parse(cb);
92 switch (cb->entry->id) {
94 if (RATEEST_get_time(&udata->interval, cb->arg) < 0)
97 cb->arg);
100 if (RATEEST_get_time(&udata->ewma_log, cb->arg) < 0)
103 cb->arg);
108 static void RATEEST_final_check(struct xt_fcheck_call *cb) argument
110 struct xt_rateest_target_info *info = cb
[all...]
H A Dlibxt_TOS.c94 static void tos_tg_parse_v0(struct xt_option_call *cb) argument
96 struct ipt_tos_target_info *info = cb->data;
98 xtables_option_parse(cb);
99 if (cb->val.tos_mask != 0xFF)
103 info->tos = cb->val.tos_value;
106 static void tos_tg_parse(struct xt_option_call *cb) argument
108 struct xt_tos_target_info *info = cb->data;
110 xtables_option_parse(cb);
111 switch (cb->entry->id) {
113 info->tos_value = cb
131 tos_tg_check(struct xt_fcheck_call *cb) argument
[all...]
H A Dlibxt_multiport.c164 static void __multiport_parse(struct xt_option_call *cb, uint16_t pnum, argument
168 struct xt_multiport *multiinfo = cb->data;
170 xtables_option_parse(cb);
171 switch (cb->entry->id) {
174 multiinfo->count = parse_multi_ports(cb->arg,
180 multiinfo->count = parse_multi_ports(cb->arg,
186 multiinfo->count = parse_multi_ports(cb->arg,
191 if (cb->invert)
196 static void multiport_parse(struct xt_option_call *cb) argument
198 const struct ipt_entry *entry = cb
203 multiport_parse6(struct xt_option_call *cb) argument
210 __multiport_parse_v1(struct xt_option_call *cb, uint16_t pnum, uint8_t invflags) argument
238 multiport_parse_v1(struct xt_option_call *cb) argument
245 multiport_parse6_v1(struct xt_option_call *cb) argument
252 multiport_check(struct xt_fcheck_call *cb) argument
[all...]
H A Dlibxt_iprange.c96 static void iprange_parse(struct xt_option_call *cb) argument
98 struct ipt_iprange_info *info = cb->data;
101 xtables_option_parse(cb);
102 switch (cb->entry->id) {
105 if (cb->invert)
107 iprange_parse_range(cb->arg, range, NFPROTO_IPV4, "--src-range");
113 if (cb->invert)
115 iprange_parse_range(cb->arg, range, NFPROTO_IPV4, "--dst-range");
122 static void iprange_mt_parse(struct xt_option_call *cb, uint8_t nfproto) argument
124 struct xt_iprange_mtinfo *info = cb
145 iprange_mt4_parse(struct xt_option_call *cb) argument
150 iprange_mt6_parse(struct xt_option_call *cb) argument
155 iprange_mt_check(struct xt_fcheck_call *cb) argument
[all...]
H A Dlibxt_owner.c137 static void owner_mt_parse_v0(struct xt_option_call *cb) argument
139 struct ipt_owner_info *info = cb->data;
144 xtables_option_parse(cb);
145 switch (cb->entry->id) {
147 if ((pwd = getpwnam(cb->arg)) != NULL)
149 else if (!xtables_strtoui(cb->arg, NULL, &id, 0, UINT32_MAX - 1))
150 xtables_param_act(XTF_BAD_VALUE, "owner", "--uid-owner", cb->arg);
151 if (cb->invert)
157 if ((grp = getgrnam(cb->arg)) != NULL)
159 else if (!xtables_strtoui(cb
184 owner_mt6_parse_v0(struct xt_option_call *cb) argument
242 owner_mt_parse(struct xt_option_call *cb) argument
281 owner_mt_check(struct xt_fcheck_call *cb) argument
[all...]
H A Dlibxt_cpu.c23 static void cpu_parse(struct xt_option_call *cb) argument
25 struct xt_cpu_info *cpuinfo = cb->data;
27 xtables_option_parse(cb);
28 if (cb->invert)
H A Dlibxt_helper.c23 static void helper_parse(struct xt_option_call *cb) argument
25 struct xt_helper_info *info = cb->data;
27 xtables_option_parse(cb);
28 if (cb->invert)
H A Dlibxt_mac.c31 static void mac_parse(struct xt_option_call *cb) argument
33 struct xt_mac_info *macinfo = cb->data;
35 xtables_option_parse(cb);
36 if (cb->invert)
H A Dlibxt_quota.c44 static void quota_parse(struct xt_option_call *cb) argument
46 struct xt_quota_info *info = cb->data;
48 xtables_option_parse(cb);
49 if (cb->invert)
H A Dlibxt_socket.c26 static void socket_mt_parse(struct xt_option_call *cb) argument
28 struct xt_socket_mtinfo1 *info = cb->data;
30 xtables_option_parse(cb);
31 switch (cb->entry->id) {
H A Dlibxt_conntrack.c326 static void conntrack_parse(struct xt_option_call *cb) argument
328 struct xt_conntrack_info *sinfo = cb->data;
330 xtables_option_parse(cb);
331 switch (cb->entry->id) {
333 parse_states(cb->arg, sinfo);
334 if (cb->invert)
338 sinfo->tuple[IP_CT_DIR_ORIGINAL].dst.protonum = cb->val.protocol;
339 if (cb->invert)
349 if (cb->invert)
351 sinfo->tuple[IP_CT_DIR_ORIGINAL].src.ip = cb
390 conntrack_mt_parse(struct xt_option_call *cb, uint8_t rev) argument
504 conntrack1_mt_parse(struct xt_option_call *cb) argument
527 conntrack2_mt_parse(struct xt_option_call *cb) argument
554 conntrack3_mt_parse(struct xt_option_call *cb) argument
559 conntrack_mt_check(struct xt_fcheck_call *cb) argument
[all...]
H A Dlibip6t_ah.c31 static void ah_parse(struct xt_option_call *cb) argument
33 struct ip6t_ah *ahinfo = cb->data;
35 xtables_option_parse(cb);
36 switch (cb->entry->id) {
38 if (cb->nvals == 1)
40 if (cb->invert)
44 if (cb->invert)
H A Dlibip6t_hl.c31 static void hl_parse(struct xt_option_call *cb) argument
33 struct ip6t_hl_info *info = cb->data;
35 xtables_option_parse(cb);
36 switch (cb->entry->id) {
38 info->mode = cb->invert ? IP6T_HL_NE : IP6T_HL_EQ;
49 static void hl_check(struct xt_fcheck_call *cb) argument
51 if (!(cb->xflags & F_ANY))
H A Dlibipt_ttl.c28 static void ttl_parse(struct xt_option_call *cb) argument
30 struct ipt_ttl_info *info = cb->data;
32 xtables_option_parse(cb);
33 switch (cb->entry->id) {
35 info->mode = cb->invert ? IPT_TTL_NE : IPT_TTL_EQ;
46 static void ttl_check(struct xt_fcheck_call *cb) argument
48 if (!(cb->xflags & F_ANY))
H A Dlibxt_LED.c49 static void LED_parse(struct xt_option_call *cb) argument
51 struct xt_led_info *led = cb->data;
53 xtables_option_parse(cb);
54 switch (cb->entry->id) {
57 strcat(led->id, cb->arg);
60 if (strncasecmp(cb->arg, "inf", 3) == 0)
63 led->delay = strtoul(cb->arg, NULL, 0);
H A Dlibipt_ah.c24 static void ah_parse(struct xt_option_call *cb) argument
26 struct ipt_ah *ahinfo = cb->data;
28 xtables_option_parse(cb);
29 if (cb->nvals == 1)
31 if (cb->invert)
H A Dlibxt_esp.c24 static void esp_parse(struct xt_option_call *cb) argument
26 struct xt_esp *espinfo = cb->data;
28 xtables_option_parse(cb);
29 if (cb->nvals == 1)
31 if (cb->invert)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/rsa/
H A Drsa_gen.c71 static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb);
78 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) argument
81 return rsa->meth->rsa_keygen(rsa, bits, e_value, cb);
82 return rsa_builtin_keygen(rsa, bits, e_value, cb);
85 static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) argument
118 if(!BN_generate_prime_ex(rsa->p, bitsp, 0, NULL, NULL, cb))
123 if(!BN_GENCB_call(cb, 2, n++))
126 if(!BN_GENCB_call(cb, 3, 0))
136 if(!BN_generate_prime_ex(rsa->q, bitsq, 0, NULL, NULL, cb))
149 if(!BN_GENCB_call(cb,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/bn/
H A Dbn_prime.c137 int BN_GENCB_call(BN_GENCB *cb, int a, int b) argument
140 if(!cb) return 1;
141 switch(cb->ver)
145 if(!cb->cb.cb_1)
147 cb->cb.cb_1(a, b, cb->arg);
151 return cb->cb
159 BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb) argument
238 BN_is_prime_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed, BN_GENCB *cb) argument
243 BN_is_prime_fasttest_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed, int do_trial_division, BN_GENCB *cb) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/demos/tunala/
H A DMakefile20 SRCS=buffer.c cb.c ip.c sm.c tunala.c breakage.c
21 OBJS=buffer.o cb.o ip.o sm.o tunala.o breakage.o
38 cb.o: cb.c tunala.h
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/demos/tunala/
H A DMakefile20 SRCS=buffer.c cb.c ip.c sm.c tunala.c breakage.c
21 OBJS=buffer.o cb.o ip.o sm.o tunala.o breakage.o
38 cb.o: cb.c tunala.h
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/irda/
H A Dirda_device.h250 * the skb, where it has been hidden in the cb field.
254 const struct irda_skb_cb *cb = (const struct irda_skb_cb *) skb->cb; local
255 return (cb->magic == LAP_MAGIC) ? cb->mtt : 10000;
267 const struct irda_skb_cb *cb = (const struct irda_skb_cb *) skb->cb; local
268 return (cb->magic == LAP_MAGIC) ? cb->next_speed : -1;
280 const struct irda_skb_cb *cb local
293 const struct irda_skb_cb *cb = (const struct irda_skb_cb *) skb->cb; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-cris/arch-v32/
H A Darbiter.h27 watch_callback* cb);

Completed in 119 milliseconds

1234567891011>>