Lines Matching defs:ofs

47  * @param ofs points to the offset within the pbuf chain of the ASN1 coded type field
51 err_t snmp_asn1_dec_type(struct pbuf *p, u16_t ofs, u8_t * type)
60 if (ofs < plen) {
62 msg_ptr += ofs - base;
68 /* p == NULL, ofs >= plen */
76 * @param ofs points to the offset within the pbuf chain of the ASN1 coded length
82 snmp_asn1_dec_length(struct pbuf * p, u16_t ofs, u8_t * octets_used,
92 if (ofs < plen) {
94 msg_ptr += ofs - base;
113 ofs += 1;
114 if (ofs >= plen) {
141 ofs += 1;
142 if (ofs >= plen) {
163 ofs += 1;
164 if (ofs >= plen) {
196 /* p == NULL, ofs >= plen */
204 * @param ofs points to the offset within the pbuf chain of the ASN1 coded integer
213 err_t snmp_asn1_dec_u32t(struct pbuf * p, u16_t ofs, u16_t len, u32_t * value)
222 if (ofs < plen) {
224 msg_ptr += ofs - base;
236 ofs += 1;
237 if (ofs >= plen) {
256 ofs += 1;
257 if (ofs >= plen) {
278 /* p == NULL, ofs >= plen */
286 * @param ofs points to the offset within the pbuf chain of the ASN1 coded integer
293 err_t snmp_asn1_dec_s32t(struct pbuf * p, u16_t ofs, u16_t len, s32_t * value)
310 if (ofs < plen) {
312 msg_ptr += ofs - base;
334 ofs += 1;
335 if (ofs >= plen) {
360 /* p == NULL, ofs >= plen */
368 * @param ofs points to the offset within the pbuf chain of the ASN1 coded object identifier
374 snmp_asn1_dec_oid(struct pbuf * p, u16_t ofs, u16_t len,
385 if (ofs < plen) {
387 msg_ptr += ofs - base;
423 ofs += 1;
424 if (ofs >= plen) {
445 ofs += 1;
446 if (ofs >= plen) {
472 ofs += 1;
473 if (ofs >= plen) {
500 /* p == NULL, ofs >= plen */
509 * @param ofs points to the offset within the pbuf chain of the ASN1 coded raw data
516 snmp_asn1_dec_raw(struct pbuf * p, u16_t ofs, u16_t len, u16_t raw_len,
527 if (ofs < plen) {
529 msg_ptr += ofs - base;
536 ofs += 1;
537 if (ofs >= plen) {
560 /* p == NULL, ofs >= plen */