Searched refs:padto (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/net/ipv4/ |
D | esp4.c | 676 u32 padto; in esp_output() local 678 padto = min(x->tfcpad, xfrm_state_mtu(x, dst->child_mtu_cached)); in esp_output() 679 if (skb->len < padto) in esp_output() 680 esp.tfclen = padto - skb->len; in esp_output()
|
/linux-5.19.10/net/ipv6/ |
D | esp6.c | 712 u32 padto; in esp6_output() local 714 padto = min(x->tfcpad, xfrm_state_mtu(x, dst->child_mtu_cached)); in esp6_output() 715 if (skb->len < padto) in esp6_output() 716 esp.tfclen = padto - skb->len; in esp6_output()
|
/linux-5.19.10/drivers/net/ethernet/realtek/ |
D | r8169_main.c | 4126 unsigned int padto = 0, len = skb->len; in rtl8125_quirk_udp_padto() local 4139 padto = len + RTL_MIN_PATCH_LEN - trans_data_len; in rtl8125_quirk_udp_padto() 4143 padto = max_t(unsigned int, padto, in rtl8125_quirk_udp_padto() 4147 return padto; in rtl8125_quirk_udp_padto() 4153 unsigned int padto; in rtl_quirk_packet_padto() local 4155 padto = rtl8125_quirk_udp_padto(tp, skb); in rtl_quirk_packet_padto() 4162 padto = max_t(unsigned int, padto, ETH_ZLEN); in rtl_quirk_packet_padto() 4168 return padto; in rtl_quirk_packet_padto() 4239 unsigned int padto = rtl_quirk_packet_padto(tp, skb); in rtl8169_tso_csum_v2() local 4242 return !__skb_put_padto(skb, padto, false); in rtl8169_tso_csum_v2()
|