Searched refs:cb (Results 151 - 175 of 1266) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/src/router/iptables-1.4.12/src/extensions/
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)
H A Dlibxt_osf.c64 static void osf_parse(struct xt_option_call *cb) argument
66 struct xt_osf_info *info = cb->data;
68 xtables_option_parse(cb);
69 switch (cb->entry->id) {
71 if (cb->invert)
H A Dlibxt_policy.c90 static void policy_parse(struct xt_option_call *cb) argument
92 struct xt_policy_info *info = cb->data;
95 xtables_option_parse(cb);
96 switch (cb->entry->id) {
98 info->flags |= parse_direction(cb->arg);
101 info->flags |= parse_policy(cb->arg);
111 e->invert.reqid = cb->invert;
112 e->reqid = cb->val.u32;
119 e->invert.spi = cb->invert;
120 e->spi = cb
169 policy_check(struct xt_fcheck_call *cb) argument
[all...]
H A Dlibipt_ECN.c43 static void ECN_parse(struct xt_option_call *cb) argument
45 struct ipt_ECN_info *einfo = cb->data;
47 xtables_option_parse(cb);
48 switch (cb->entry->id) {
56 einfo->proto.tcp.cwr = cb->val.u8;
60 einfo->proto.tcp.ece = cb->val.u8;
64 einfo->ip_ect = cb->val.u8;
69 static void ECN_check(struct xt_fcheck_call *cb) argument
71 if (cb->xflags == 0)
H A Dlibxt_hashlimit.c243 static void hashlimit_parse(struct xt_option_call *cb) argument
245 struct xt_hashlimit_info *info = cb->data;
247 xtables_option_parse(cb);
248 switch (cb->entry->id) {
250 if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata))
252 "--hashlimit-upto", cb->arg);
255 if (parse_mode(&info->cfg.mode, cb->arg) < 0)
257 "--hashlimit-mode", cb->arg);
262 static void hashlimit_mt_parse(struct xt_option_call *cb) argument
296 hashlimit_check(struct xt_fcheck_call *cb) argument
308 hashlimit_mt_check(struct xt_fcheck_call *cb) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iptables-1.4.12.1/extensions/
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)
H A Dlibxt_osf.c64 static void osf_parse(struct xt_option_call *cb) argument
66 struct xt_osf_info *info = cb->data;
68 xtables_option_parse(cb);
69 switch (cb->entry->id) {
71 if (cb->invert)
H A Dlibxt_policy.c90 static void policy_parse(struct xt_option_call *cb) argument
92 struct xt_policy_info *info = cb->data;
95 xtables_option_parse(cb);
96 switch (cb->entry->id) {
98 info->flags |= parse_direction(cb->arg);
101 info->flags |= parse_policy(cb->arg);
111 e->invert.reqid = cb->invert;
112 e->reqid = cb->val.u32;
119 e->invert.spi = cb->invert;
120 e->spi = cb
169 policy_check(struct xt_fcheck_call *cb) argument
[all...]
H A Dlibipt_ECN.c49 static void ECN_parse(struct xt_option_call *cb) argument
51 struct ipt_ECN_info *einfo = cb->data;
53 xtables_option_parse(cb);
54 switch (cb->entry->id) {
62 einfo->proto.tcp.cwr = cb->val.u8;
66 einfo->proto.tcp.ece = cb->val.u8;
70 einfo->ip_ect = cb->val.u8;
75 static void ECN_check(struct xt_fcheck_call *cb) argument
77 if (cb->xflags == 0)
H A Dlibxt_hashlimit.c243 static void hashlimit_parse(struct xt_option_call *cb) argument
245 struct xt_hashlimit_info *info = cb->data;
247 xtables_option_parse(cb);
248 switch (cb->entry->id) {
250 if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata))
252 "--hashlimit-upto", cb->arg);
255 if (parse_mode(&info->cfg.mode, cb->arg) < 0)
257 "--hashlimit-mode", cb->arg);
262 static void hashlimit_mt_parse(struct xt_option_call *cb) argument
296 hashlimit_check(struct xt_fcheck_call *cb) argument
308 hashlimit_mt_check(struct xt_fcheck_call *cb) argument
[all...]
H A Dlibip6t_HL.c44 static void HL_parse(struct xt_option_call *cb) argument
46 struct ip6t_HL_info *info = cb->data;
48 xtables_option_parse(cb);
49 switch (cb->entry->id) {
62 static void HL_check(struct xt_fcheck_call *cb) argument
64 if (!(cb->xflags & F_ANY))
H A Dlibipt_NETMAP.c54 static void NETMAP_parse(struct xt_option_call *cb) argument
56 struct nf_nat_multi_range *mr = cb->data;
59 xtables_option_parse(cb);
61 range->min_ip = cb->val.haddr.ip & cb->val.hmask.ip;
62 range->max_ip = range->min_ip | ~cb->val.hmask.ip;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/conntrack-tools/conntrack-tools-1.4.0/src/
H A Dprocess.c25 int fork_process_new(int type, int flags, void (*cb)(void *data), void *data)
51 c->cb = cb;
70 if (this->cb) {
71 this->cb(this->data);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/pem/
H A Dpem_pkey.c78 EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, argument
88 if (!PEM_bytes_read_bio(&data, &len, &nm, PEM_STRING_EVP_PKEY, bp, cb, u))
112 if (cb)
113 klen = cb(psbuf, PEM_BUFSIZE, 0, u);
151 pem_password_cb *cb, void *u)
156 (char *)kstr, klen, cb, u);
160 pem_str, bp, x, enc, kstr, klen, cb, u);
214 EVP_PKEY *PEM_read_PrivateKey(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, argument
225 ret = PEM_read_bio_PrivateKey(b, x, cb, u);
232 pem_password_cb *cb, voi
149 PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument
230 PEM_write_PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument
252 PEM_read_bio_DHparams(BIO *bp, DH **x, pem_password_cb *cb, void *u) argument
277 PEM_read_DHparams(FILE *fp, DH **x, pem_password_cb *cb, void *u) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/pem/
H A Dpem_pkey.c78 EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, argument
88 if (!PEM_bytes_read_bio(&data, &len, &nm, PEM_STRING_EVP_PKEY, bp, cb, u))
112 if (cb)
113 klen = cb(psbuf, PEM_BUFSIZE, 0, u);
151 pem_password_cb *cb, void *u)
156 (char *)kstr, klen, cb, u);
160 pem_str, bp, x, enc, kstr, klen, cb, u);
214 EVP_PKEY *PEM_read_PrivateKey(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, argument
225 ret = PEM_read_bio_PrivateKey(b, x, cb, u);
232 pem_password_cb *cb, voi
149 PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument
230 PEM_write_PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument
252 PEM_read_bio_DHparams(BIO *bp, DH **x, pem_password_cb *cb, void *u) argument
277 PEM_read_DHparams(FILE *fp, DH **x, pem_password_cb *cb, void *u) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dvorbisenc.c142 static inline int put_codeword(PutBitContext *pb, vorbis_enc_codebook *cb, argument
146 av_assert2(entry < cb->nentries);
147 av_assert2(cb->lens[entry]);
148 if (pb->size_in_bits - put_bits_count(pb) < cb->lens[entry])
150 put_bits(pb, cb->lens[entry], cb->codewords[entry]);
163 static int ready_codebook(vorbis_enc_codebook *cb) argument
167 ff_vorbis_len2vlc(cb->lens, cb->codewords, cb
209 vorbis_enc_codebook * cb; local
260 vorbis_enc_codebook *cb = &venc->codebooks[book]; local
454 put_codebook_header(PutBitContext *pb, vorbis_enc_codebook *cb) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/bio/
H A Dbio_lib.c164 void BIO_set_callback(BIO *b, long (*cb)(struct bio_st *,int,const char *,int, long,long))
166 b->callback = cb;
193 long (*cb)(BIO *,int,const char *,int,long,long);
201 cb=b->callback;
202 if ((cb != NULL) &&
203 ((i=(int)cb(b,BIO_CB_READ,out,outl,0L,1L)) <= 0))
216 if (cb != NULL)
217 i=(int)cb(b,BIO_CB_READ|BIO_CB_RETURN,out,outl,
225 long (*cb)(BIO *,int,const char *,int,long,long);
230 cb
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/bio/
H A Dbio_lib.c164 long (*cb) (struct bio_st *, int, const char *, int,
167 b->callback = cb;
193 long (*cb) (BIO *, int, const char *, int, long, long);
200 cb = b->callback;
201 if ((cb != NULL) &&
202 ((i = (int)cb(b, BIO_CB_READ, out, outl, 0L, 1L)) <= 0))
215 if (cb != NULL)
216 i = (int)cb(b, BIO_CB_READ | BIO_CB_RETURN, out, outl, 0L, (long)i);
223 long (*cb) (BIO *, int, const char *, int, long, long);
228 cb
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/bio/
H A Dbio_lib.c164 long (*cb) (struct bio_st *, int, const char *, int,
167 b->callback = cb;
193 long (*cb) (BIO *, int, const char *, int, long, long);
200 cb = b->callback;
201 if ((cb != NULL) &&
202 ((i = (int)cb(b, BIO_CB_READ, out, outl, 0L, 1L)) <= 0))
215 if (cb != NULL)
216 i = (int)cb(b, BIO_CB_READ | BIO_CB_RETURN, out, outl, 0L, (long)i);
223 long (*cb) (BIO *, int, const char *, int, long, long);
228 cb
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dvorbisenc.c140 static inline void put_codeword(PutBitContext *pb, vorbis_enc_codebook *cb, argument
144 assert(entry < cb->nentries);
145 assert(cb->lens[entry]);
146 put_bits(pb, cb->lens[entry], cb->codewords[entry]);
158 static int ready_codebook(vorbis_enc_codebook *cb) argument
162 ff_vorbis_len2vlc(cb->lens, cb->codewords, cb->nentries);
164 if (!cb
204 vorbis_enc_codebook * cb; local
255 vorbis_enc_codebook *cb = &venc->codebooks[book]; local
449 put_codebook_header(PutBitContext *pb, vorbis_enc_codebook *cb) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/tests/
H A Dutils.c37 static void rgb24_to_yuv420p(unsigned char *lum, unsigned char *cb, argument
86 cb[0] = ((- FIX(0.16874) * r1 - FIX(0.33126) * g1 +
91 cb++;
111 unsigned char *cb, *cr; local
130 cb = cb_tab;
135 err_if(fwrite(cb, 1, w2, f) != w2);
137 cb += w2;
143 err_if(fwrite(cb, 1, w2, f) != w2);
144 cb += w2;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/dvb/siano/
H A Dsmssdio.c119 struct smscore_buffer_t *cb; local
136 cb = smscore_getbuffer(smsdev->coredev);
137 if (!cb) {
143 cb->p,
151 hdr = cb->p;
154 smsdev->split_cb = cb;
163 cb = smsdev->split_cb;
164 hdr = cb->p;
174 buffer = cb->p + (hdr->msgLength - size);
187 smscore_putbuffer(smsdev->coredev, cb);
[all...]

Completed in 431 milliseconds

1234567891011>>