Home
last modified time | relevance | path

Searched refs:uni_msg_len (Results 1 – 13 of 13) sorted by relevance

/NextBSD/sys/contrib/ngatm/netnatm/msg/
HDprivmsg.c52 if(uni_msg_len(msg) < 9) in uni_decode_head()
104 if(uni_msg_len(msg) > mlen) in uni_decode_head()
125 while (uni_msg_len(msg) != 0) { in uni_decode_body_internal()
144 if (ielen > uni_msg_len(msg)) in uni_decode_body_internal()
155 if (ielen > iedecl->maxlen - 4 || ielen > uni_msg_len(msg)) { in uni_decode_body_internal()
170 if (ielen > uni_msg_len(msg)) in uni_decode_body_internal()
171 ielen = uni_msg_len(msg); in uni_decode_body_internal()
HDuni_ie.c541 if ((len = uni_msg_len(msg)) == 0) in uni_decode_ie_hdr()
603 if (ielen > uni_msg_len(msg)) { in uni_decode_ie_body()
/NextBSD/contrib/ngatm/sscop/
HDcommon.c255 dump_buf("send", m->b_rptr, uni_msg_len(m)); in proto_msgout()
262 flen = uni_msg_len(m); in proto_msgout()
266 iov[1].iov_len = uni_msg_len(m); in proto_msgout()
298 flen = uni_msg_len(m); in user_msgout()
302 iov[1].iov_len = uni_msg_len(m); in user_msgout()
/NextBSD/sys/netgraph/atm/
HDngatmbase.c95 len = uni_msg_len(m); in uni_msg_extend()
153 if ((n = uni_msg_len(msg)) > MHLEN) { in uni_msg_pack_mbuf()
167 while (msg != NULL && (n = uni_msg_len(msg)) != 0) { in uni_msg_pack_mbuf()
/NextBSD/contrib/ngatm/libngatm/
HDsscopcust.h206 #define MBUF_LEN(M) uni_msg_len((M))
237 while (uni_msg_len(M) % 4 != 0) { \
HDunimsg.c88 len = uni_msg_len(m); in uni_msg_extend()
/NextBSD/sys/contrib/ngatm/netnatm/misc/
HDunimsg_common.c50 memcpy(msg->b_rptr + need, msg->b_rptr, uni_msg_len(msg)); in uni_msg_prepend()
/NextBSD/sys/netgraph/atm/uni/
HDng_uni.c544 if (uni_msg_len(msg) < sizeof(arg)) { in ng_uni_rcvupper()
601 for (pos = 0; pos < uni_msg_len(msg); pos++) { in dump_uni_msg()
645 printf(" data=%zu\n", uni_msg_len(msg)); in dump_saal_signal()
683 if (uni_msg_len(msg) < sizeof(arg)) { in ng_uni_rcvlower()
/NextBSD/sys/contrib/ngatm/netnatm/
HDunimsg.h55 #define uni_msg_len(M) ((size_t)((M)->b_wptr - (M)->b_rptr)) macro
/NextBSD/sys/netgraph/atm/ccatm/
HDng_ccatm.c936 if (uni_msg_len(msg) < sizeof(op)) { in ng_ccatm_rcvdata()
1070 if (uni_msg_len(msg) < sizeof(arg)) { in ng_ccatm_rcvuni()
1080 if (uni_msg_len(msg) != sizeof(struct uniapi_error)) { in ng_ccatm_rcvuni()
1082 uni_msg_len(msg)); in ng_ccatm_rcvuni()
/NextBSD/sys/contrib/ngatm/netnatm/sig/
HDsig_uni.c389 if (uni_msg_len(m) != maptab[i].arglen) { in uni_uni_input()
392 maptab[i].arglen, uni_msg_len(m)); in uni_uni_input()
/NextBSD/sys/contrib/ngatm/netnatm/api/
HDcc_user.c841 size_t len = uni_msg_len(msg); in cc_user_signal()
1785 uni_msg_len(msg) - sizeof(*req)); in cc_user_sig_handle()
1806 uni_msg_len(msg) - in cc_user_sig_handle()
HDcc_port.c560 len = (msg != NULL) ? uni_msg_len(msg) : 0; in cc_uni_signal()