Lines Matching +full:byte +full:- +full:len
2 * dnstap/dnstap_fstrm.c - Frame Streams protocol for dnstap
49 void* fstrm_create_control_frame_start(char* contenttype, size_t* len) in fstrm_create_control_frame_start() argument
54 * 4byte 0: control indicator. in fstrm_create_control_frame_start()
55 * 4byte bigendian: length of control frame in fstrm_create_control_frame_start()
56 * 4byte bigendian: type START in fstrm_create_control_frame_start()
57 * 4byte bigendian: option: content-type in fstrm_create_control_frame_start()
58 * 4byte bigendian: length of string in fstrm_create_control_frame_start()
71 *len = n; in fstrm_create_control_frame_start()
75 void* fstrm_create_control_frame_stop(size_t* len) in fstrm_create_control_frame_stop() argument
80 * 4byte 0: control indicator. in fstrm_create_control_frame_stop()
81 * 4byte bigendian: length of control frame in fstrm_create_control_frame_stop()
82 * 4byte bigendian: type STOP in fstrm_create_control_frame_stop()
91 *len = n; in fstrm_create_control_frame_stop()
95 void* fstrm_create_control_frame_ready(char* contenttype, size_t* len) in fstrm_create_control_frame_ready() argument
107 /* len includes the escape and framelength */ in fstrm_create_control_frame_ready()
119 *len = n; in fstrm_create_control_frame_ready()
123 void* fstrm_create_control_frame_accept(char* contenttype, size_t* len) in fstrm_create_control_frame_accept() argument
135 /* len includes the escape and framelength */ in fstrm_create_control_frame_accept()
147 *len = n; in fstrm_create_control_frame_accept()
151 void* fstrm_create_control_frame_finish(size_t* len) in fstrm_create_control_frame_finish() argument
160 /* len includes the escape and framelength */ in fstrm_create_control_frame_finish()
169 *len = n; in fstrm_create_control_frame_finish()
173 char* fstrm_describe_control(void* pkt, size_t len) in fstrm_describe_control() argument
182 if(len < 4) { in fstrm_describe_control()
184 "too short, len=%u", (unsigned int)len); in fstrm_describe_control()
204 remain = len - 4; in fstrm_describe_control()
214 (void)sldns_str_print(&str, &slen, " content-type("); in fstrm_describe_control()
215 if(field_len < sizeof(tempf)-1) { in fstrm_describe_control()
220 (void)sldns_str_print(&str, &slen, "<error-too-long>"); in fstrm_describe_control()
230 remain -= (8 + field_len); in fstrm_describe_control()
233 (void)sldns_str_print(&str, &slen, " trailing-bytes" in fstrm_describe_control()