Home
last modified time | relevance | path

Searched refs:new_pad (Results 1 – 1 of 1) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_lwt_seg6local.c99 int update_tlv_pad(struct __sk_buff *skb, uint32_t new_pad, in update_tlv_pad() argument
104 if (new_pad != old_pad) { in update_tlv_pad()
106 (int) new_pad - (int) old_pad); in update_tlv_pad()
111 if (new_pad > 0) { in update_tlv_pad()
117 pad_tlv->len = new_pad - 2; in update_tlv_pad()
120 (void *)pad_tlv_buf, new_pad); in update_tlv_pad()
192 uint8_t len_remaining, new_pad; in add_tlv() local
221 new_pad = 8 - len_remaining; in add_tlv()
223 if (new_pad == 1) // cannot pad for 1 byte only in add_tlv()
224 new_pad = 9; in add_tlv()
[all …]