Searched refs:padding_len (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/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-v5.10/drivers/staging/rtl8712/ |
D | rtl8712_recv.c | 315 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/ |
D | rtw_recv.c | 1483 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/ |
D | rtw_recv.c | 1888 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/ |
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 | 1325 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/ |
D | rtl8723b_xmit.h | 174 u32 padding_len:11; member
|