Home | History | Annotate | Download | only in bio

Lines Matching defs:bio

1 /* crypto/bio/bio_dgram.c */
66 #include <openssl/bio.h>
90 static int dgram_write(BIO *h, const char *buf, int num);
91 static int dgram_read(BIO *h, char *buf, int size);
92 static int dgram_puts(BIO *h, const char *str);
93 static long dgram_ctrl(BIO *h, int cmd, long arg1, void *arg2);
94 static int dgram_new(BIO *h);
95 static int dgram_free(BIO *data);
96 static int dgram_clear(BIO *bio);
99 static int dgram_sctp_write(BIO *h, const char *buf, int num);
100 static int dgram_sctp_read(BIO *h, char *buf, int size);
101 static int dgram_sctp_puts(BIO *h, const char *str);
102 static long dgram_sctp_ctrl(BIO *h, int cmd, long arg1, void *arg2);
103 static int dgram_sctp_new(BIO *h);
104 static int dgram_sctp_free(BIO *data);
106 static void dgram_sctp_handle_auth_free_key_event(BIO *b, union sctp_notification *snp);
163 BIO *bio;
183 void (*handle_notifications)(BIO *bio, void *context, void *buf);
199 BIO *BIO_new_dgram(int fd, int close_flag)
201 BIO *ret;
209 static int dgram_new(BIO *bi)
225 static int dgram_free(BIO *a)
239 static int dgram_clear(BIO *a)
254 static void dgram_adjust_rcv_timeout(BIO *b)
324 static void dgram_reset_rcv_timeout(BIO *b)
347 static int dgram_read(BIO *b, char *out, int outl)
399 static int dgram_write(BIO *b, const char *in, int inl)
442 static long dgram_ctrl(BIO *b, int cmd, long num, void *ptr)
822 static int dgram_puts(BIO *bp, const char *str)
837 BIO *BIO_new_dgram_sctp(int fd, int close_flag)
839 BIO *bio;
854 bio=BIO_new(BIO_s_datagram_sctp());
855 if (bio == NULL) return(NULL);
856 BIO_set_fd(bio,fd,close_flag);
914 return(bio);
917 int BIO_dgram_is_sctp(BIO *bio)
919 return (BIO_method_type(bio) == BIO_TYPE_DGRAM_SCTP);
922 static int dgram_sctp_new(BIO *bi)
941 static int dgram_sctp_free(BIO *a)
956 void dgram_sctp_handle_auth_free_key_event(BIO *b, union sctp_notification *snp)
975 static int dgram_sctp_read(BIO *b, char *out, int outl)
1066 dgram_sctp_write(data->saved_message.bio, data->saved_message.data,
1189 static int dgram_sctp_write(BIO *b, const char *in, int inl)
1227 data->saved_message.bio = b;
1297 static long dgram_sctp_ctrl(BIO *b, int cmd, long num, void *ptr)
1499 int BIO_dgram_sctp_notification_cb(BIO *b,
1500 void (*handle_notifications)(BIO *bio, void *context, void *buf),
1516 int BIO_dgram_sctp_wait_for_dry(BIO *b)
1667 int BIO_dgram_sctp_msg_waiting(BIO *b)
1727 static int dgram_sctp_puts(BIO *bp, const char *str)