Home
last modified time | relevance | path

Searched refs:mbuf (Results 1 – 25 of 45) sorted by relevance

12

/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_mbuf.h54 struct mbuf * m_gethdr(int how, short type);
55 struct mbuf * m_get(int how, short type);
56 struct mbuf * m_free(struct mbuf *m);
57 void m_clget(struct mbuf *m, int how);
58 struct mbuf * m_getm2(struct mbuf *m, int len, int how, short type, int flags, int allonebuf);
59 struct mbuf *m_uiotombuf(struct uio *uio, int how, int len, int align, int flags);
60 u_int m_length(struct mbuf *m0, struct mbuf **last);
61 struct mbuf *m_last(struct mbuf *m);
97 #define dtom(x) ((struct mbuf *)((intptr_t)(x) & ~(MSIZE-1)))
105 struct mbuf * parent_mbuf;
[all …]
Duser_mbuf.c80 static int mbuf_constructor_dup(struct mbuf *m, int pkthdr, short type) in mbuf_constructor_dup()
108 struct mbuf *
111 struct mbuf *mret; in m_get()
124 mret = SCTP_ZONE_GET(zone_mbuf, struct mbuf); in m_get()
150 struct mbuf *
153 struct mbuf *mret; in m_gethdr()
164 mret = SCTP_ZONE_GET(zone_mbuf, struct mbuf); in m_gethdr()
187 struct mbuf *
188 m_free(struct mbuf *m) in m_free()
191 struct mbuf *n = m->m_next; in m_free()
[all …]
Duser_socketvar.h180 struct mbuf *sb_mb; /* (c/d) the mbuf chain */
181 struct mbuf *sb_mbtail; /* (c/d) the last mbuf in the chain */
182 struct mbuf *sb_lastrecord; /* (c/d) first mbuf of last
184 struct mbuf *sb_sndptr; /* (c/d) pointer into mbuf chain */
/third_party/glib/gio/
Dgdbusmessage.c76 g_memory_buffer_is_byteswapped (GMemoryBuffer *mbuf) in g_memory_buffer_is_byteswapped() argument
79 return mbuf->byte_order == G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN; in g_memory_buffer_is_byteswapped()
81 return mbuf->byte_order == G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN; in g_memory_buffer_is_byteswapped()
86 g_memory_buffer_read_byte (GMemoryBuffer *mbuf) in g_memory_buffer_read_byte() argument
88 if (mbuf->pos >= mbuf->valid_len) in g_memory_buffer_read_byte()
90 return mbuf->data [mbuf->pos++]; in g_memory_buffer_read_byte()
94 g_memory_buffer_read_int16 (GMemoryBuffer *mbuf) in g_memory_buffer_read_int16() argument
98 if (mbuf->pos > mbuf->valid_len - 2) in g_memory_buffer_read_int16()
100 mbuf->pos = mbuf->valid_len; in g_memory_buffer_read_int16()
104 memcpy (&v, mbuf->data + mbuf->pos, 2); in g_memory_buffer_read_int16()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_output.h48 struct mbuf *
52 struct mbuf *m_at,
85 struct sctp_nets *, struct mbuf *,
94 struct mbuf *
95 sctp_arethere_unrecognized_parameters(struct mbuf *, int, int *,
97 void sctp_queue_op_err(struct sctp_tcb *, struct mbuf *);
100 sctp_send_cookie_echo(struct mbuf *, int, int, struct sctp_tcb *,
106 sctp_send_heartbeat_ack(struct sctp_tcb *, struct mbuf *, int, int,
149 sctp_output(struct sctp_inpcb *, struct mbuf *, struct sockaddr *,
150 struct mbuf *, struct thread *, int);
[all …]
Dsctputil.h53 struct mbuf *sctp_m_free(struct mbuf *m);
54 void sctp_m_freem(struct mbuf *m);
155 uint32_t sctp_calculate_len(struct mbuf *);
157 caddr_t sctp_m_getptr(struct mbuf *, int, int, uint8_t *);
160 sctp_get_next_param(struct mbuf *, int,
163 struct mbuf *
164 sctp_add_pad_tombuf(struct mbuf *, int);
166 struct mbuf *
167 sctp_pad_lastmbuf(struct mbuf *, int, struct mbuf *);
191 sctp_abort_association(struct sctp_inpcb *, struct sctp_tcb *, struct mbuf *,
[all …]
Dsctp_auth.h179 struct mbuf *m, uint32_t m_offset, uint8_t *digest, uint32_t trailer);
181 struct mbuf *m, uint32_t m_offset, uint8_t *digest);
195 extern void sctp_auth_get_cookie_params(struct sctp_tcb *stcb, struct mbuf *m,
197 extern void sctp_fill_hmac_digest_m(struct mbuf *m, uint32_t auth_offset,
199 extern struct mbuf *sctp_add_auth_chunk(struct mbuf *m, struct mbuf **m_end,
203 struct mbuf *m, uint32_t offset);
206 extern int sctp_validate_init_auth_params(struct mbuf *m, int offset,
Dsctp_asconf.h50 extern struct mbuf *sctp_compose_asconf(struct sctp_tcb *, int *, int);
53 sctp_handle_asconf(struct mbuf *, unsigned int, struct sockaddr *,
57 sctp_handle_asconf_ack(struct mbuf *, int, struct sctp_asconf_ack_chunk *,
78 sctp_check_address_list(struct sctp_tcb *, struct mbuf *, int, int,
Dsctp_indata.h51 struct mbuf *dm);
81 struct mbuf *
95 sctp_handle_sack(struct mbuf *m, int offset_seg, int offset_dup,
104 struct sctp_forward_tsn_chunk *, int *, struct mbuf *, int);
115 sctp_process_data(struct mbuf **, int, int *, int,
Dsctp_crc32.h44 uint32_t sctp_calculate_cksum(struct mbuf *, uint32_t);
47 void sctp_delayed_cksum(struct mbuf *, uint32_t offset);
54 uint32_t sctp_calculate_cksum(struct mbuf *, uint32_t);
Dsctp_var.h284 struct mbuf *_m; \
385 void sctp_input_with_port(struct mbuf *, int, uint16_t);
387 int sctp_input(struct mbuf **, int *, int);
389 void sctp_input(struct mbuf *, int);
397 void sctp_input(struct mbuf *,...);
400 int sctp_ctloutput(int, struct socket *, int, int, struct mbuf **);
428 int sctp_ingetaddr(struct socket *, struct mbuf *);
433 int sctp_peeraddr(struct socket *, struct mbuf *);
Dsctp_structs.h122 struct mbuf *m;
171 struct mbuf *m;
486 struct mbuf *data; /* pointer to mbuf chain of data */
487 struct mbuf *last_mbuf; /* pointer to last mbuf in chain */
523 struct mbuf *data; /* front of the mbuf chain of data with
525 struct mbuf *tail_mbuf; /* used for multi-part data */
526 struct mbuf *aux_data; /* used to hold/cache control if o/s does not take it from us */
566 struct mbuf *data;
567 struct mbuf *tail_mbuf;
819 struct mbuf *data;
[all …]
Dsctp_pcb.h512 struct mbuf *pkt, *pkt_last;
513 struct mbuf *control;
746 sctp_findassociation_addr(struct mbuf *, int,
778 sctp_findassociation_ep_asconf(struct mbuf *, int, struct sockaddr *,
839 sctp_load_addresses_from_init(struct sctp_tcb *, struct mbuf *, int, int,
873 sctp_queue_to_mcore(struct mbuf *m, int off, int cpu_to_use);
Dsctp_asconf.c79 static struct mbuf *
82 struct mbuf *m_reply = NULL; in sctp_asconf_success_response()
102 static struct mbuf *
106 struct mbuf *m_reply = NULL; in sctp_asconf_error_response()
153 static struct mbuf *
158 struct mbuf *m_reply = NULL; in sctp_process_asconf_add_ip()
317 static struct mbuf *
322 struct mbuf *m_reply = NULL; in sctp_process_asconf_delete_ip()
459 static struct mbuf *
464 struct mbuf *m_reply = NULL; in sctp_process_asconf_set_primary()
[all …]
Dsctp_output.c1973 static struct mbuf *
1974 sctp_add_addr_to_mbuf(struct mbuf *m, struct sctp_ifa *ifa, uint16_t *len) in sctp_add_addr_to_mbuf()
1978 struct mbuf *mret; in sctp_add_addr_to_mbuf()
2063 struct mbuf *
2066 struct mbuf *m_at, int cnt_inits_to, in sctp_add_addresses_to_i_ia()
3569 sctp_find_cmsg(int c_type, void *data, struct mbuf *control, size_t cpsize)
3674 sctp_process_cmsgs_for_init(struct sctp_tcb *stcb, struct mbuf *control, int *error)
3850 struct mbuf *control,
3946 static struct mbuf *
3947 sctp_add_cookie(struct mbuf *init, int init_offset,
[all …]
Dsctp_bsd_addr.h59 void sctp_packet_log(struct mbuf *m);
Dsctp_crc32.c770 sctp_calculate_cksum(struct mbuf *m, uint32_t offset) in sctp_calculate_cksum()
808 sctp_delayed_cksum(struct mbuf *m, uint32_t offset) in sctp_delayed_cksum()
Dsctp_input.h45 sctp_common_input_processing(struct mbuf **, int, int, int,
Dsctputil.c262 sctp_log_mb(struct mbuf *m, int from) in sctp_log_mb()
293 sctp_log_mbc(struct mbuf *m, int from) in sctp_log_mbc()
295 struct mbuf *mat; in sctp_log_mbc()
1776 struct mbuf *op_err; in sctp_timeout_handler()
2993 sctp_calculate_len(struct mbuf *m) in sctp_calculate_len()
2996 struct mbuf *at; in sctp_calculate_len()
3160 sctp_m_getptr(struct mbuf *m, int off, int len, uint8_t * in_ptr) in sctp_m_getptr()
3202 sctp_get_next_param(struct mbuf *m, in sctp_get_next_param()
3213 struct mbuf *
3214 sctp_add_pad_tombuf(struct mbuf *m, int padlen) in sctp_add_pad_tombuf()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet6/
Dsctp6_var.h56 int sctp6_usrreq(struct socket *, int, struct mbuf *, struct mbuf *, struct mbuf *);
60 int sctp6_input(struct mbuf **, int *);
61 int sctp6_input_with_port(struct mbuf **, int *, uint16_t);
63 int sctp6_input(struct mbuf **, int *, int);
64 int sctp6_input_with_port(struct mbuf **, int *, uint16_t);
66 int sctp6_output(struct sctp_inpcb *, struct mbuf *, struct sockaddr *,
67 struct mbuf *, struct proc *);
Dsctp6_usrreq.c131 sctp6_input_with_port(struct mbuf **i_pak, int *offp, uint16_t port)
133 sctp6_input(struct mbuf **i_pak, int *offp, int proto)
136 struct mbuf *m;
297 sctp6_input(struct mbuf **i_pak, int *offp)
305 sctp6_input(struct mbuf **i_pak, int *offp, int proto SCTP_UNUSED)
802 sctp6_bind(struct socket *so, struct mbuf *nam, struct proc *p)
955 sctp_sendm(struct socket *so, int flags, struct mbuf *m, struct sockaddr *addr,
956 struct mbuf *control, struct thread *p);
959 sctp_sendm(struct socket *so, int flags, struct mbuf *m, struct sockaddr *addr,
960 struct mbuf *control, struct proc *p);
[all …]
/third_party/python/Objects/
Dmemoryobject.c70 #define CHECK_MBUF_RELEASED(mbuf) \ argument
71 if (((_PyManagedBufferObject *)mbuf)->flags&_Py_MANAGED_BUFFER_RELEASED) { \
81 _PyManagedBufferObject *mbuf; in mbuf_alloc() local
83 mbuf = (_PyManagedBufferObject *) in mbuf_alloc()
85 if (mbuf == NULL) in mbuf_alloc()
87 mbuf->flags = 0; in mbuf_alloc()
88 mbuf->exports = 0; in mbuf_alloc()
89 mbuf->master.obj = NULL; in mbuf_alloc()
90 _PyObject_GC_TRACK(mbuf); in mbuf_alloc()
92 return mbuf; in mbuf_alloc()
[all …]
/third_party/openssl/apps/
Ds_client.c901 char *mbuf = NULL, *proxystr = NULL, *connectstr = NULL, *bindstr = NULL; in s_client_main() local
1012 mbuf = app_malloc(BUFSIZZ, "mbuf"); in s_client_main()
2209 mbuf_len = BIO_gets(fbio, mbuf, BUFSIZZ); in s_client_main()
2210 } while (mbuf_len > 3 && mbuf[3] == '-'); in s_client_main()
2223 mbuf_len = BIO_gets(fbio, mbuf, BUFSIZZ); in s_client_main()
2224 if (strstr(mbuf, "STARTTLS")) in s_client_main()
2226 } while (mbuf_len > 3 && mbuf[3] == '-'); in s_client_main()
2240 BIO_read(sbio, mbuf, BUFSIZZ); in s_client_main()
2255 BIO_gets(fbio, mbuf, BUFSIZZ); in s_client_main()
2261 mbuf_len = BIO_gets(fbio, mbuf, BUFSIZZ); in s_client_main()
[all …]
Denc.c105 char mbuf[sizeof(magic) - 1]; in enc_main() local
450 } else if (BIO_read(rbio, mbuf, sizeof(mbuf)) != sizeof(mbuf) in enc_main()
456 } else if (memcmp(mbuf, magic, sizeof(magic) - 1)) { in enc_main()
/third_party/ltp/include/
Dipcmsg.h48 typedef struct mbuf { /* a generic message structure */ struct

12