Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_lwt_seg6local.c93 if (new_pad != old_pad) { in update_tlv_pad()
100 if (new_pad > 0) { in update_tlv_pad()
106 pad_tlv->len = new_pad - 2; in update_tlv_pad()
210 new_pad = 8 - len_remaining; in add_tlv()
213 new_pad = 9; in add_tlv()
214 else if (new_pad == 8) in add_tlv()
215 new_pad = 0; in add_tlv()
249 new_pad = 8 - len_remaining; in delete_tlv()
251 new_pad = 9; in delete_tlv()
252 else if (new_pad == 8) in delete_tlv()
[all …]
H A Dtest_seg6_loop.c88 uint32_t new_pad, uint32_t old_pad, in update_tlv_pad() argument
93 if (new_pad != old_pad) { in update_tlv_pad()
95 (int) new_pad - (int) old_pad); in update_tlv_pad()
100 if (new_pad > 0) { in update_tlv_pad()
106 pad_tlv->len = new_pad - 2; in update_tlv_pad()
109 (void *)pad_tlv_buf, new_pad); in update_tlv_pad()
184 uint8_t len_remaining, new_pad; in add_tlv() local
213 new_pad = 8 - len_remaining; in add_tlv()
216 new_pad = 9; in add_tlv()
217 else if (new_pad == 8) in add_tlv()
[all …]