Searched refs:srh_off (Results 1 – 2 of 2) sorted by relevance
125 uint32_t srh_off, cur_off; in is_valid_tlv_boundary() local129 srh_off = (char *)srh - (char *)(long)skb->data; in is_valid_tlv_boundary()131 cur_off = srh_off + sizeof(*srh) + in is_valid_tlv_boundary()146 if (cur_off >= srh_off + ((srh->hdrlen + 1) << 3)) in is_valid_tlv_boundary()157 if (*tlv_off == srh_off) { in is_valid_tlv_boundary()185 uint32_t srh_off = (char *)srh - (char *)(long)skb->data; in add_tlv() local193 tlv_off += srh_off; in add_tlv()213 partial_srh_len = pad_off - srh_off; in add_tlv()
124 uint32_t srh_off, cur_off; in is_valid_tlv_boundary() local128 srh_off = (char *)srh - (char *)(long)skb->data; in is_valid_tlv_boundary()130 cur_off = srh_off + sizeof(*srh) + in is_valid_tlv_boundary()143 if (cur_off >= srh_off + ((srh->hdrlen + 1) << 3)) in is_valid_tlv_boundary()154 if (*tlv_off == srh_off) { in is_valid_tlv_boundary()182 uint32_t srh_off = (char *)srh - (char *)(long)skb->data; in add_tlv() local190 tlv_off += srh_off; in add_tlv()210 partial_srh_len = pad_off - srh_off; in add_tlv()226 uint32_t srh_off = (char *)srh - (char *)(long)skb->data; in delete_tlv() local234 tlv_off += srh_off; in delete_tlv()[all …]