Searched refs:pktParam (Results 1 – 1 of 1) sorted by relevance
263 static int32_t CoapCreateHeaderEx(CoapPacket *pkt, const CoapPacketParam *pktParam, CoapReadWriteBu… in CoapCreateHeaderEx() argument270 if ((pktParam->protocol != COAP_UDP) && (pktParam->protocol != COAP_TCP)) { in CoapCreateHeaderEx()274 pkt->protocol = pktParam->protocol; in CoapCreateHeaderEx()276 if (pktParam->type > COAP_TYPE_RESET) { in CoapCreateHeaderEx()286 pkt->header.type = (uint32_t)pktParam->type & 0x03; in CoapCreateHeaderEx()288 pkt->header.code = COAP_RESPONSE_CODE(pktParam->code); in CoapCreateHeaderEx()291 pkt->header.varSection.msgId = pktParam->msgId; in CoapCreateHeaderEx()306 static int32_t CoapCreateHeader(CoapPacket *pkt, const CoapPacketParam *pktParam, CoapReadWriteBuff… in CoapCreateHeader() argument308 int32_t ret = CoapCreateHeaderEx(pkt, pktParam, buf); in CoapCreateHeader()