Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireguard/
Dsend.c164 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.1.9/drivers/staging/rtl8712/
Drtl8712_recv.c315 int a_len, padding_len; in amsdu_to_msdu() local
359 padding_len = 4 - ((nSubframe_Length + ETH_HLEN) & 3); in amsdu_to_msdu()
360 if (padding_len == 4) in amsdu_to_msdu()
361 padding_len = 0; in amsdu_to_msdu()
362 if (a_len < padding_len) in amsdu_to_msdu()
364 pdata += padding_len; in amsdu_to_msdu()
365 a_len -= padding_len; in amsdu_to_msdu()
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_recv.c1409 int a_len, padding_len; in amsdu_to_msdu() local
1468 padding_len = 4 - ((nSubframe_Length + ETH_HLEN) & (4 - 1)); in amsdu_to_msdu()
1469 if (padding_len == 4) in amsdu_to_msdu()
1470 padding_len = 0; in amsdu_to_msdu()
1472 if (a_len < padding_len) in amsdu_to_msdu()
1475 pdata += padding_len; in amsdu_to_msdu()
1476 a_len -= padding_len; in amsdu_to_msdu()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_recv.c1570 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.1.9/drivers/net/wireless/ralink/rt2x00/
Drt73usb.c1526 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()
Drt61pci.c1878 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()
Drt2800lib.c1358 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.1.9/net/ceph/
Dmessenger_v2.c384 static int padding_len(int len) in padding_len() function
936 sg_set_buf(*sg, pad, padding_len(buf_len)); in init_sgs()
959 sg_set_buf(*sg, pad, padding_len(data_len)); in init_sgs_cursor()
1022 int pt_len = padding_len(rem_len) + CEPH_GCM_TAG_LEN; in decrypt_control_remainder()
1203 memset(rem + rem_len, 0, padding_len(rem_len)); in prepare_head_secure_big()
1751 padding_len(rem_len) + CEPH_GCM_TAG_LEN); in prepare_read_control_remainder()
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Drtl8723b_xmit.h174 u32 padding_len:11; member