Lines Matching defs:dispatch
866 ext_hdr_len(struct pico_ipv6_exthdr *ext, uint8_t hdr, uint8_t *dispatch)
872 *dispatch |= (uint8_t)EXT_HOPBYHOP;
877 *dispatch |= (uint8_t)EXT_ROUTING;
882 *dispatch |= (uint8_t)EXT_DSTOPT;
887 *dispatch |= (uint8_t)EXT_FRAG;
900 uint8_t dispatch = EXT_DISPATCH;
909 lead++; // Copy right after dispatch
911 dispatch |= (uint8_t)0x01; // Set NH flag
915 ret = ext_hdr_len(ext, hdr, &dispatch);
927 buf[0] = dispatch; // Set the dispatch header
1175 uint8_t dispatch = PICO_PROTO_IPV6;
1182 switch (dispatch) {
1214 /* Get next dispatch header */
1216 dispatch = ext_nh_retrieve(f->net_hdr, 0);
1217 } while (dispatch && loop && i < 8);
1227 /* Prepends an uncompressed IPv6 dispatch header */
1238 /* Removes an uncompressed IPv6 dispatch header */
1270 frag_fill(uint8_t *frag, uint8_t dispatch, uint16_t dgram_size, uint16_t tag, uint8_t dgram_off, int32_t offset, uint16_t copy, uint16_t copied, uint8_t *buf)
1272 frag[0] = (uint8_t)(dispatch | ((uint8_t)short_be(dgram_size) & 0x07));
1372 /* Available bytes after inserting FRAG1 dispatch and IPv6 dispatch */
1396 /* Available octects after inserting FRAG1 dispatch and compressed header */
1437 pico_iphc_no_comp(f); // Add uncompressed dispatch header again
1447 pico_iphc_no_comp(f); // Add uncrompressed dispatch header ...