Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/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-v5.10/drivers/staging/rtl8188eu/core/
Drtw_recv.c1483 int a_len, padding_len; in amsdu_to_msdu() local
1537 padding_len = 4 - ((nSubframe_Length + ETH_HLEN) & (4 - 1)); in amsdu_to_msdu()
1538 if (padding_len == 4) in amsdu_to_msdu()
1539 padding_len = 0; in amsdu_to_msdu()
1541 if (a_len < padding_len) in amsdu_to_msdu()
1544 pdata += padding_len; in amsdu_to_msdu()
1545 a_len -= padding_len; in amsdu_to_msdu()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_recv.c1888 int a_len, padding_len; in amsdu_to_msdu() local
1937 padding_len = 4 - ((nSubframe_Length + ETH_HLEN) & (4-1)); in amsdu_to_msdu()
1938 if (padding_len == 4) { in amsdu_to_msdu()
1939 padding_len = 0; in amsdu_to_msdu()
1942 if (a_len < padding_len) { in amsdu_to_msdu()
1946 pdata += padding_len; in amsdu_to_msdu()
1947 a_len -= padding_len; in amsdu_to_msdu()
/Linux-v5.10/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.c1325 unsigned int padding_len; in rt2800_write_beacon() local
1363 padding_len = roundup(entry->skb->len, 4) - entry->skb->len; in rt2800_write_beacon()
1364 if (padding_len && skb_pad(entry->skb, padding_len)) { in rt2800_write_beacon()
1375 entry->skb->len + padding_len); in rt2800_write_beacon()
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Drtl8723b_xmit.h174 u32 padding_len:11; member