Searched refs:new_pad (Results 1 – 2 of 2) sorted by relevance
90 int update_tlv_pad(struct __sk_buff *skb, uint32_t new_pad, in update_tlv_pad() argument95 if (new_pad != old_pad) { in update_tlv_pad()97 (int) new_pad - (int) old_pad); in update_tlv_pad()102 if (new_pad > 0) { in update_tlv_pad()108 pad_tlv->len = new_pad - 2; in update_tlv_pad()111 (void *)pad_tlv_buf, new_pad); in update_tlv_pad()183 uint8_t len_remaining, new_pad; in add_tlv() local212 new_pad = 8 - len_remaining; in add_tlv()214 if (new_pad == 1) // cannot pad for 1 byte only in add_tlv()215 new_pad = 9; in add_tlv()[all …]
90 uint32_t new_pad, uint32_t old_pad, in update_tlv_pad() argument95 if (new_pad != old_pad) { in update_tlv_pad()97 (int) new_pad - (int) old_pad); in update_tlv_pad()102 if (new_pad > 0) { in update_tlv_pad()108 pad_tlv->len = new_pad - 2; in update_tlv_pad()111 (void *)pad_tlv_buf, new_pad); in update_tlv_pad()186 uint8_t len_remaining, new_pad; in add_tlv() local215 new_pad = 8 - len_remaining; in add_tlv()217 if (new_pad == 1) // cannot pad for 1 byte only in add_tlv()218 new_pad = 9; in add_tlv()[all …]