Lines Matching defs:buf

27 static int prepare_message(struct net_buf_simple *buf, size_t sz, enum mqtt_sn_msg_type type)  in prepare_message()
61 static void encode_flags(struct net_buf_simple *buf, struct mqtt_sn_flags *flags) in encode_flags()
80 static int mqtt_sn_encode_msg_searchgw(struct net_buf_simple *buf, in mqtt_sn_encode_msg_searchgw()
96 static int mqtt_sn_encode_msg_gwinfo(struct net_buf_simple *buf, in mqtt_sn_encode_msg_gwinfo()
113 static int mqtt_sn_encode_msg_connect(struct net_buf_simple *buf, in mqtt_sn_encode_msg_connect()
136 static int mqtt_sn_encode_msg_willtopic(struct net_buf_simple *buf, in mqtt_sn_encode_msg_willtopic()
155 static int mqtt_sn_encode_msg_willmsg(struct net_buf_simple *buf, in mqtt_sn_encode_msg_willmsg()
171 static int mqtt_sn_encode_msg_register(struct net_buf_simple *buf, in mqtt_sn_encode_msg_register()
190 static int mqtt_sn_encode_msg_regack(struct net_buf_simple *buf, in mqtt_sn_encode_msg_regack()
208 static int mqtt_sn_encode_msg_publish(struct net_buf_simple *buf, in mqtt_sn_encode_msg_publish()
238 static int mqtt_sn_encode_msg_puback(struct net_buf_simple *buf, in mqtt_sn_encode_msg_puback()
256 static int mqtt_sn_encode_msg_pubrec(struct net_buf_simple *buf, in mqtt_sn_encode_msg_pubrec()
272 static int mqtt_sn_encode_msg_pubrel(struct net_buf_simple *buf, in mqtt_sn_encode_msg_pubrel()
288 static int mqtt_sn_encode_msg_pubcomp(struct net_buf_simple *buf, in mqtt_sn_encode_msg_pubcomp()
304 static int mqtt_sn_encode_msg_subscribe(struct net_buf_simple *buf, in mqtt_sn_encode_msg_subscribe()
336 static int mqtt_sn_encode_msg_unsubscribe(struct net_buf_simple *buf, in mqtt_sn_encode_msg_unsubscribe()
367 static int mqtt_sn_encode_msg_pingreq(struct net_buf_simple *buf, in mqtt_sn_encode_msg_pingreq()
385 static int mqtt_sn_encode_msg_pingresp(struct net_buf_simple *buf) in mqtt_sn_encode_msg_pingresp()
390 static int mqtt_sn_encode_msg_disconnect(struct net_buf_simple *buf, in mqtt_sn_encode_msg_disconnect()
408 static int mqtt_sn_encode_msg_willtopicupd(struct net_buf_simple *buf, in mqtt_sn_encode_msg_willtopicupd()
434 static int mqtt_sn_encode_msg_willmsgupd(struct net_buf_simple *buf, in mqtt_sn_encode_msg_willmsgupd()
450 int mqtt_sn_encode_msg(struct net_buf_simple *buf, struct mqtt_sn_param *param) in mqtt_sn_encode_msg()