Searched refs:padding_len (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/drivers/net/wireguard/ |
D | send.c | 164 unsigned int padding_len, plaintext_len, trailer_len; in encrypt_packet() local 176 padding_len = calculate_skb_padding(skb); in encrypt_packet() 177 trailer_len = padding_len + noise_encrypted_len(0); in encrypt_packet() 178 plaintext_len = skb->len + padding_len; in encrypt_packet() 188 memset(skb_tail_pointer(trailer), 0, padding_len); in encrypt_packet()
|
/linux-6.6.21/drivers/staging/rtl8712/ |
D | rtl8712_recv.c | 316 int a_len, padding_len; in amsdu_to_msdu() local 360 padding_len = 4 - ((nSubframe_Length + ETH_HLEN) & 3); in amsdu_to_msdu() 361 if (padding_len == 4) in amsdu_to_msdu() 362 padding_len = 0; in amsdu_to_msdu() 363 if (a_len < padding_len) in amsdu_to_msdu() 365 pdata += padding_len; in amsdu_to_msdu() 366 a_len -= padding_len; in amsdu_to_msdu()
|
/linux-6.6.21/drivers/staging/rtl8723bs/core/ |
D | rtw_recv.c | 1570 int a_len, padding_len; in amsdu_to_msdu() local 1613 padding_len = 4 - ((nSubframe_Length + ETH_HLEN) & (4-1)); in amsdu_to_msdu() 1614 if (padding_len == 4) in amsdu_to_msdu() 1615 padding_len = 0; in amsdu_to_msdu() 1617 if (a_len < padding_len) in amsdu_to_msdu() 1620 pdata += padding_len; in amsdu_to_msdu() 1621 a_len -= padding_len; in amsdu_to_msdu()
|
/linux-6.6.21/drivers/net/wireless/ralink/rt2x00/ |
D | rt73usb.c | 1526 unsigned int padding_len; in rt73usb_write_beacon() local 1557 padding_len = roundup(entry->skb->len, 4) - entry->skb->len; in rt73usb_write_beacon() 1558 if (padding_len && skb_pad(entry->skb, padding_len)) { in rt73usb_write_beacon() 1568 entry->skb->len + padding_len); in rt73usb_write_beacon()
|
D | rt61pci.c | 1878 unsigned int padding_len; in rt61pci_write_beacon() local 1903 padding_len = roundup(entry->skb->len, 4) - entry->skb->len; in rt61pci_write_beacon() 1904 if (padding_len && skb_pad(entry->skb, padding_len)) { in rt61pci_write_beacon() 1917 entry->skb->len + padding_len); in rt61pci_write_beacon()
|
D | rt2800lib.c | 1358 unsigned int padding_len; in rt2800_write_beacon() local 1396 padding_len = roundup(entry->skb->len, 4) - entry->skb->len; in rt2800_write_beacon() 1397 if (padding_len && skb_pad(entry->skb, padding_len)) { in rt2800_write_beacon() 1408 entry->skb->len + padding_len); in rt2800_write_beacon()
|
/linux-6.6.21/net/ceph/ |
D | messenger_v2.c | 384 static int padding_len(int len) in padding_len() function 944 sg_set_buf(*sg, pad, padding_len(buf_len)); in init_sgs() 967 sg_set_buf(*sg, pad, padding_len(data_len)); in init_sgs_cursor() 1001 sg_set_buf(*sg, pad, padding_len(dlen)); in init_sgs_pages() 1076 int pt_len = padding_len(rem_len) + CEPH_GCM_TAG_LEN; in decrypt_control_remainder() 1311 memset(rem + rem_len, 0, padding_len(rem_len)); in prepare_head_secure_big() 1859 padding_len(rem_len) + CEPH_GCM_TAG_LEN); in prepare_read_control_remainder()
|
/linux-6.6.21/drivers/staging/rtl8723bs/include/ |
D | rtl8723b_xmit.h | 174 u32 padding_len:11; member
|