Searched refs:srh_off (Results 1 – 2 of 2) sorted by relevance
123 uint32_t srh_off, cur_off; in is_valid_tlv_boundary() local127 srh_off = (char *)srh - (char *)(long)skb->data; in is_valid_tlv_boundary()129 cur_off = srh_off + sizeof(*srh) + in is_valid_tlv_boundary()144 if (cur_off >= srh_off + ((srh->hdrlen + 1) << 3)) in is_valid_tlv_boundary()155 if (*tlv_off == srh_off) { in is_valid_tlv_boundary()183 uint32_t srh_off = (char *)srh - (char *)(long)skb->data; in add_tlv() local191 tlv_off += srh_off; in add_tlv()211 partial_srh_len = pad_off - srh_off; in add_tlv()
122 uint32_t srh_off, cur_off; in is_valid_tlv_boundary() local126 srh_off = (char *)srh - (char *)(long)skb->data; in is_valid_tlv_boundary()128 cur_off = srh_off + sizeof(*srh) + in is_valid_tlv_boundary()141 if (cur_off >= srh_off + ((srh->hdrlen + 1) << 3)) in is_valid_tlv_boundary()152 if (*tlv_off == srh_off) { in is_valid_tlv_boundary()180 uint32_t srh_off = (char *)srh - (char *)(long)skb->data; in add_tlv() local188 tlv_off += srh_off; in add_tlv()208 partial_srh_len = pad_off - srh_off; in add_tlv()224 uint32_t srh_off = (char *)srh - (char *)(long)skb->data; in delete_tlv() local232 tlv_off += srh_off; in delete_tlv()[all …]