Searched refs:padding_len (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/net/wireguard/ |
H A 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/drivers/staging/rtl8712/ |
H A D | rtl8712_recv.c | 311 int a_len, padding_len; in amsdu_to_msdu() local 355 padding_len = 4 - ((nSubframe_Length + ETH_HLEN) & 3); in amsdu_to_msdu() 356 if (padding_len == 4) in amsdu_to_msdu() 357 padding_len = 0; in amsdu_to_msdu() 358 if (a_len < padding_len) in amsdu_to_msdu() 360 pdata += padding_len; in amsdu_to_msdu() 361 a_len -= padding_len; in amsdu_to_msdu()
|
/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_recv.c | 1569 int a_len, padding_len; in amsdu_to_msdu() local 1612 padding_len = 4 - ((nSubframe_Length + ETH_HLEN) & (4-1)); in amsdu_to_msdu() 1613 if (padding_len == 4) in amsdu_to_msdu() 1614 padding_len = 0; in amsdu_to_msdu() 1616 if (a_len < padding_len) in amsdu_to_msdu() 1619 pdata += padding_len; in amsdu_to_msdu() 1620 a_len -= padding_len; in amsdu_to_msdu()
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
H A 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()
|
H A 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()
|
H A D | rt2800lib.c | 1416 unsigned int padding_len; in rt2800_write_beacon() local 1454 padding_len = roundup(entry->skb->len, 4) - entry->skb->len; in rt2800_write_beacon() 1455 if (padding_len && skb_pad(entry->skb, padding_len)) { in rt2800_write_beacon() 1466 entry->skb->len + padding_len); in rt2800_write_beacon()
|
/linux/net/ceph/ |
H A D | messenger_v2.c | 384 static int padding_len(int len) in padding_len() function 940 sg_set_buf(*sg, pad, padding_len(buf_len)); in init_sgs() 963 sg_set_buf(*sg, pad, padding_len(data_len)); in init_sgs_cursor() 997 sg_set_buf(*sg, pad, padding_len(dlen)); in init_sgs_pages() 1072 int pt_len = padding_len(rem_len) + CEPH_GCM_TAG_LEN; in decrypt_control_remainder() 1307 memset(rem + rem_len, 0, padding_len(rem_len)); in prepare_head_secure_big() 1855 padding_len(rem_len) + CEPH_GCM_TAG_LEN); in prepare_read_control_remainder()
|
/linux/drivers/staging/rtl8723bs/include/ |
H A D | rtl8723b_xmit.h | 174 u32 padding_len:11; member
|